llvm-mirror/test/Transforms/MergeFunc
Stepan Dyatkovskiy 124d49fc91 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.

llvm-svn: 190859
2013-09-17 09:36:11 +00:00
..
2011-02-08-RemoveEqual.ll
2013-01-10-MergeFuncAssert.ll
crash.ll We are not able to bitcast a pointer to an integral value. 2013-04-15 22:33:50 +00:00
fold-weak.ll
inttoptr.ll Add missing CHECK-LABEL 2013-09-14 02:44:06 +00:00
merge-ptr-and-int.ll Bugfix for PR17099: 2013-09-17 09:36:11 +00:00
phi-speculation1.ll
phi-speculation2.ll
vector.ll TBAA: remove !tbaa from testing cases if not used. 2013-04-30 17:52:57 +00:00
vectors-and-arrays.ll