The Vector example fails with:
llvm-vector: example/Vector.hs:94:9-60: Irrefutable pattern failed for pattern Data.Maybe.Just iovec'
The problem is that the function getModuleValues does not return the named function "vectest" although it was created before. This is caused by filterM isIntrinsic in Core.Util.getFunctions. It was introduced by 6182044
I wonder why the filter was added. Maybe not . isIntrinsic was meant?