mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-11 13:37:07 +00:00
124d49fc91
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 |