llvm-6502/lib
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
..
Analysis constant fold nasty constant expressions formed by llvm-gcc, 2010-01-02 01:22:23 +00:00
Archive
AsmParser remove some fixme's 2009-12-30 06:00:36 +00:00
Bitcode Remove derelict serialization code. 2009-12-31 23:40:17 +00:00
CodeGen Change errs() to dbgs(). 2010-01-04 17:47:05 +00:00
CompilerDriver Make Path use StringRef instead of std::string where possible. 2009-12-17 21:02:39 +00:00
ExecutionEngine Remove dead store and simplify code. 2009-12-28 01:53:00 +00:00
Linker rename "elements" of metadata to "operands". "Elements" are 2009-12-31 01:22:29 +00:00
MC
Support Document the edit-distance algorithm used in StringRef, switch it over 2009-12-31 04:24:34 +00:00
System Alternative fix to make sure that the extern declarations used by 2009-12-23 19:12:50 +00:00
Target Fix invalid chain folding for memory variant of sdiv / udiv 2010-01-04 10:31:54 +00:00
Transforms Truncate GEP indexes larger than the pointer size down to pointer size 2010-01-04 18:57:15 +00:00
VMCore Add a comment. 2010-01-04 18:38:39 +00:00
Makefile