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 Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a ModuleID 2012-12-30 02:33:22 +00:00
2013-01-10-MergeFuncAssert.ll CastInst::castIsValid should return true if the dest type is the same as 2013-01-10 23:22:53 +00:00
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 Fix the remaining TCL-style quotes found in the testsuite. This is 2012-07-02 19:09:46 +00:00
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 Revert the test moves from 176733. Use "REQUIRES: asserts" instead. 2013-03-12 16:27:52 +00:00
phi-speculation2.ll Revert the test moves from 176733. Use "REQUIRES: asserts" instead. 2013-03-12 16:27:52 +00:00
vector.ll TBAA: remove !tbaa from testing cases if not used. 2013-04-30 17:52:57 +00:00
vectors-and-arrays.ll Revert the test moves from 176733. Use "REQUIRES: asserts" instead. 2013-03-12 16:27:52 +00:00