summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/AliasAnalysis.cpp
diff options
context:
space:
mode:
authorJessica Paquette <jpaquette@apple.com>2017-12-07 21:51:43 +0000
committerJessica Paquette <jpaquette@apple.com>2017-12-07 21:51:43 +0000
commit59948666fb9a5892395a06fd5ee801354ce1c5cd (patch)
treec76438586fa9f5adb5374d0bcaf24b8daead81d0 /llvm/lib/Analysis/AliasAnalysis.cpp
parent5b6c0f75e01571851b767dc63a3229c962f464f1 (diff)
downloadbcm5719-llvm-59948666fb9a5892395a06fd5ee801354ce1c5cd.tar.gz
bcm5719-llvm-59948666fb9a5892395a06fd5ee801354ce1c5cd.zip
[MachineOutliner] Fix offset overflow check
The offset overflow check before was incorrect. It would always give the correct result, but it was comparing the SCALED potential fixed-up offset against an UNSCALED minimum/maximum. As a result, the outliner was missing a bunch of frame setup/destroy instructions that ought to have been safe to outline. This fixes that, and adds an instruction to the .mir test that failed the old test. llvm-svn: 320090
Diffstat (limited to 'llvm/lib/Analysis/AliasAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud