llvm-6502/lib/Transforms/InstCombine
Chris Lattner d7f5a58890 Truncate GEP indexes larger than the pointer size down to pointer size
when doing this transform if the GEP is not inbounds.  No testcase because
it is very difficult to trigger this: instcombine already canonicalizes
GEP indices to pointer size, so it relies specific permutations of the
instcombine worklist.

Thanks to Duncan for pointing this possible problem out.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92495 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-04 18:57:15 +00:00
..
CMakeLists.txt split 943 lines of instcombine out to a new InstCombineCasts.cpp 2010-01-04 07:53:58 +00:00
InstCombine.h split 943 lines of instcombine out to a new InstCombineCasts.cpp 2010-01-04 07:53:58 +00:00
InstCombineCasts.cpp move some more cast-related stuff 2010-01-04 07:59:07 +00:00
InstCombineCompares.cpp Truncate GEP indexes larger than the pointer size down to pointer size 2010-01-04 18:57:15 +00:00
InstCombineSimplifyDemanded.cpp move the 'SimplifyDemandedFoo' methods out to their own file, cutting 1K lines out of instcombine.cpp 2010-01-04 07:17:19 +00:00
InstCombineWorklist.h remove a ton of unneeded LLVMContext stuff. 2010-01-04 07:02:48 +00:00
InstructionCombining.cpp silence a bogus 'might be used uninit' warning from GCC. 2010-01-04 18:48:26 +00:00
Makefile