Displaying 1 result from an estimated 1 matches for "curinst".
Did you mean:
currinst
2009 Mar 09
0
[LLVMdev] Question about PRE Pass
.../VMCore/Value.cpp:175: void
llvm::Value::setName(const char*, unsigned int): Assertion `getType() !=
Type::VoidTy && "Cannot assign a name to void values!"' failed.
It seems to be caused by the following line in
lib/Transforms/Scalar/GVN.cpp (line 1566):
PREInstr->setName(CurInst->getName() + ".pre");
The instruction that is being manipulated is:
call fastcc void @_ZNSt10_Select1stISt4pairIKPvS1_EEC1Ev() nounwind
The function (through optimization) doesn't do anything, so the analysis
knows that it does not read from or write to memory:
define internal...