llvm-6502/test/Transforms/MergeFunc
Stepan Dyatkovskiy 80361492ae Bugfix for PR17099:
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.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190859 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-17 09:36:11 +00:00
..
2011-02-08-RemoveEqual.ll
2013-01-10-MergeFuncAssert.ll
crash.ll
fold-weak.ll Fix the remaining TCL-style quotes found in the testsuite. This is 2012-07-02 19:09:46 +00:00
inttoptr.ll
merge-ptr-and-int.ll Bugfix for PR17099: 2013-09-17 09:36:11 +00:00
phi-speculation1.ll
phi-speculation2.ll
vector.ll
vectors-and-arrays.ll