llvm-6502/lib/Transforms/InstCombine
Jim Grosbach d0e277d272 Disable InstCombine unsafe folding bitcasts of calls w/ varargs.
Changing arguments from being passed as fixed to varargs is unsafe, as
the ABI may require they be handled differently (stack vs. register, for
example).

Remove two tests which rely on the bitcast being folded into the direct
call, which is exactly the transformation that's unsafe.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149457 91177308-0d34-0410-b5e6-96231b3b80d8
2012-02-01 00:08:17 +00:00
..
CMakeLists.txt
InstCombine.h
InstCombineAddSub.cpp InstCombine: Add a combine that turns (2^n)-1 ^ x back into (2^n)-1 - x iff x is smaller than 2^n and it fuses with a following add. 2011-12-24 17:31:53 +00:00
InstCombineAndOrXor.cpp More dead code removal (using -Wunreachable-code) 2012-01-20 21:51:11 +00:00
InstCombineCalls.cpp Disable InstCombine unsafe folding bitcasts of calls w/ varargs. 2012-02-01 00:08:17 +00:00
InstCombineCasts.cpp More dead code removal (using -Wunreachable-code) 2012-01-20 21:51:11 +00:00
InstCombineCompares.cpp enhance logic to support ConstantDataArray. 2012-01-31 02:55:06 +00:00
InstCombineLoadStoreAlloca.cpp
InstCombineMulDivRem.cpp continue making the world safe for ConstantDataVector. At this point, 2012-01-27 03:08:05 +00:00
InstCombinePHI.cpp
InstCombineSelect.cpp More dead code removal (using -Wunreachable-code) 2012-01-20 21:51:11 +00:00
InstCombineShifts.cpp Remove pointless asserts. 2012-01-04 09:42:30 +00:00
InstCombineSimplifyDemanded.cpp continue making the world safe for ConstantDataVector. At this point, 2012-01-27 03:08:05 +00:00
InstCombineVectorOps.cpp continue making the world safe for ConstantDataVector. At this point, 2012-01-27 03:08:05 +00:00
InstCombineWorklist.h
InstructionCombining.cpp continue making the world safe for ConstantDataVector. At this point, 2012-01-27 03:08:05 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile