diff options
author | Wei Mi <wmi@google.com> | 2016-08-25 16:17:18 +0000 |
---|---|---|
committer | Wei Mi <wmi@google.com> | 2016-08-25 16:17:18 +0000 |
commit | 59ca96636d8524eb8cf9a1b2b34b537ad6335f10 (patch) | |
tree | cdb5b119a71a8b36228668f98492367645f6e712 /lldb/packages/Python/lldbsuite/test/python_api | |
parent | 341b1fea7c2be567754b9430f89564cb9655ec30 (diff) | |
download | bcm5719-llvm-59ca96636d8524eb8cf9a1b2b34b537ad6335f10.tar.gz bcm5719-llvm-59ca96636d8524eb8cf9a1b2b34b537ad6335f10.zip |
[UNROLL] Postpone ScalarEvolution::forgetLoop after TripCountSC is expanded
when unroll runtime iteration loop.
In llvm::UnrollRuntimeLoopRemainder, if the loop to be unrolled is the inner
loop inside a loop nest, the scalar evolution needs to be dropped for its
parent loop which is done by ScalarEvolution::forgetLoop. However, we can
postpone forgetLoop to the end of UnrollRuntimeLoopRemainder so TripCountSC
expansion can still reuse existing value.
Differential Revision: https://reviews.llvm.org/D23572
llvm-svn: 279748
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions