forked from OSchip/llvm-project
dc2c4b4462
Wrong cast operation. MergeFunctions emits Bitcast instead of pointer-to-integer operation. Patch fixes MergeFunctions::writeThunk function. It replaces unconditional Bitcast creation with "Value* createCast(...)" method, that checks operand types and selects proper instruction. See unit-test as example. llvm-svn: 190859 |
||
---|---|---|
.. | ||
2011-02-08-RemoveEqual.ll | ||
2013-01-10-MergeFuncAssert.ll | ||
crash.ll | ||
fold-weak.ll | ||
inttoptr.ll | ||
merge-ptr-and-int.ll | ||
phi-speculation1.ll | ||
phi-speculation2.ll | ||
vector.ll | ||
vectors-and-arrays.ll |