aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUnroll.cpp
diff options
context:
space:
mode:
authorAlina Sbirlea <asbirlea@google.com>2020-01-16 15:32:30 -0800
committerAlina Sbirlea <asbirlea@google.com>2020-02-12 09:15:18 -0800
commit4f33a68973bfd9fa429b57528c3fe5443f59a734 (patch)
treea2559ea9582732022491f7d5f959eadf78dbddfa /llvm/lib/Transforms/Utils/LoopUnroll.cpp
parentfa7cd549d604bfd8f9dce5d649a19720cbc39cca (diff)
downloadllvm-4f33a68973bfd9fa429b57528c3fe5443f59a734.zip
llvm-4f33a68973bfd9fa429b57528c3fe5443f59a734.tar.gz
llvm-4f33a68973bfd9fa429b57528c3fe5443f59a734.tar.bz2
Compute ORE, BPI, BFI in Loop passes.
Summary: Passes ORE, BPI, BFI are not being preserved by Loop passes, hence it is incorrect to retrieve these passes as cached. This patch makes the loop passes in question compute a new instance. In some of these cases, however, it may be beneficial to change the Loop pass to a Function pass instead, similar to the change for LoopUnrollAndJam. Reviewers: chandlerc, dmgreen, jdoerfert, reames Subscribers: mehdi_amini, hiraditya, zzheng, steven_wu, dexonsmith, Whitney, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D72891
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnroll.cpp')
0 files changed, 0 insertions, 0 deletions