AnyDSL / thorin

The Higher-Order Intermediate Representation
https://anydsl.github.io
GNU Lesser General Public License v3.0
151 stars 15 forks source link

thorin asserts on type mismatch for operands of phi nodes #40

Closed richardmembarth closed 8 years ago

richardmembarth commented 8 years ago
impala: llvm/IR/Instructions.h:2104: void llvm::PHINode::addIncoming(llvm::Value*, llvm::BasicBlock*): Assertion `getType() == V->getType() && "All operands to PHI node must be the same type as the PHI node!"' failed.

test case can be found here: AnyDSL/impala@80bab6ae01d472730cc47854276c7351d6bc7f7e