aboutsummaryrefslogtreecommitdiff
path: root/lib/System/Program.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-11-27 16:37:41 +0000
committerChris Lattner <sabre@nondot.org>2009-11-27 16:37:41 +0000
commit8976e5950f3ee5eebfe6e9520bbf47a419ee8b6a (patch)
tree83037ea7d148c9e260eaeb71419c4556acac2ecf /lib/System/Program.cpp
parentfc159fd7415b53d9b8f83f0b6698a17320db1cd9 (diff)
fix PR5436 by making the 'simple' case of SRoA not promote out of range
array indexes. The "complex" case of SRoA still handles them, and correctly. This fixes a weirdness where we'd correctly avoid transforming A[0][42] if the 42 was too large, but we'd only do it if it was one gep, not two separate ones. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90007 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Program.cpp')
0 files changed, 0 insertions, 0 deletions