summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2017-04-05 09:24:26 +0000
committerJames Molloy <james.molloy@arm.com>2017-04-05 09:24:26 +0000
commit37dd4d7aaab4df34b732d4238627049948a0fef6 (patch)
tree2f30597a9b47f2509768006e5588d28ea2c1a082 /llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
parent07d7c42c5d4ce7bedf23fe805931e633d554d206 (diff)
downloadbcm5719-llvm-37dd4d7aaab4df34b732d4238627049948a0fef6.tar.gz
bcm5719-llvm-37dd4d7aaab4df34b732d4238627049948a0fef6.zip
[LAA] Correctly return a half-open range in expandBounds
This is a latent bug that's been hanging around for a while. For a loop-invariant pointer, expandBounds would return the range {Ptr, Ptr}, but this was interpreted as a half-open range, not a closed range. So we ended up planting incorrect bounds checks. Even worse, they were tautological, so we ended up incorrectly executing the optimized loop. llvm-svn: 299526
Diffstat (limited to 'llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud