summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
diff options
context:
space:
mode:
authorMichael Kuperstein <mkuper@google.com>2017-01-23 23:45:42 +0000
committerMichael Kuperstein <mkuper@google.com>2017-01-23 23:45:42 +0000
commit461aa57ad34d6155be8d401283619723bf623603 (patch)
treea56d1333f71da54a98f74c32565fc3aab3e12aca /llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
parenta63528cf9ceb270df6be32991ec4c644e8e0767b (diff)
downloadbcm5719-llvm-461aa57ad34d6155be8d401283619723bf623603.tar.gz
bcm5719-llvm-461aa57ad34d6155be8d401283619723bf623603.zip
[LoopUnroll] First form LCSSA, then loop-simplify
Running non-LCSSA-preserving LoopSimplify followed by LCSSA on (roughly) the same loop is incorrect, since LoopSimplify may break LCSSA arbitrarily higher in the loop nest. Instead, run LCSSA first, and then run LCSSA-preserving LoopSimplify on the result. This fixes PR31718. Differential Revision: https://reviews.llvm.org/D29055 llvm-svn: 292854
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud