AnyDSL / thorin

The Higher-Order Intermediate Representation

Home Page:https://anydsl.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

thorin asserts on type mismatch for operands of phi nodes

richardmembarth opened this issue · comments

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@80bab6a