aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/Function.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-11 20:15:20 +0000
committerChris Lattner <sabre@nondot.org>2009-01-11 20:15:20 +0000
commitdbc3bc258576672c26d32a0fb56437d87409dec1 (patch)
tree5385b9abbb864703f03bafdc53783cc18a070467 /lib/VMCore/Function.cpp
parent1ed86d74a87baca2e42b90873345c63811647b1d (diff)
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
Diffstat (limited to 'lib/VMCore/Function.cpp')
0 files changed, 0 insertions, 0 deletions