llvm/lib
Chris Lattner dbc3bc2585 Make a couple of cleanups to the instcombine bitcast/gep
canonicalization transform based on duncan's comments:

1) improve the comment about %.
2) within our index loop make sure the offset stays 
   within the *type size*, instead of within the *abi size*.
   This allows us to reason explicitly about landing in tail
   padding and means that issues like non-zero offsets into
   [0 x foo] types don't occur anymore.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62045 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-11 20:15:20 +00:00
..
Analysis Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
Archive Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
AsmParser Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
Bitcode Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
CodeGen CheckForPhysRegDependency should not return copy cost. It's not used. No functionality change. 2009-01-11 08:53:35 +00:00
Debugger Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
ExecutionEngine Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
Linker Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
Support Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
System Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
Target 80 col violation. 2009-01-10 03:33:22 +00:00
Transforms Make a couple of cleanups to the instcombine bitcast/gep 2009-01-11 20:15:20 +00:00
VMCore Use the spiffy new getAlignmentFromAttrs function. 2009-01-11 17:02:06 +00:00
Makefile Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00