summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2017-09-20 02:31:57 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2017-09-20 02:31:57 +0000
commit09613b122e011731eb2917ac0106c0ea05e3f556 (patch)
tree70f4ff3f790cf5daaef6205262760a8346b371a3 /llvm/test/Transforms
parentb207d12456782bd04eb06ba8f3d89eb4008d81f6 (diff)
downloadbcm5719-llvm-09613b122e011731eb2917ac0106c0ea05e3f556.tar.gz
bcm5719-llvm-09613b122e011731eb2917ac0106c0ea05e3f556.zip
Tighten the invariants around LoopBase::invalidate
Summary: With this change: - Methods in LoopBase trip an assert if the receiver has been invalidated - LoopBase::clear frees up the memory held the LoopBase instance This change also shuffles things around as necessary to work with this stricter invariant. Reviewers: chandlerc Subscribers: mehdi_amini, mcrosier, llvm-commits Differential Revision: https://reviews.llvm.org/D38055 llvm-svn: 313708
Diffstat (limited to 'llvm/test/Transforms')
-rw-r--r--llvm/test/Transforms/LoopUnroll/unroll-loop-invalidation.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/LoopUnroll/unroll-loop-invalidation.ll b/llvm/test/Transforms/LoopUnroll/unroll-loop-invalidation.ll
index ea79d7164dc..e1e45ae156a 100644
--- a/llvm/test/Transforms/LoopUnroll/unroll-loop-invalidation.ll
+++ b/llvm/test/Transforms/LoopUnroll/unroll-loop-invalidation.ll
@@ -22,8 +22,8 @@
; CHECK: Running analysis: LoopAccessAnalysis on outer.header
; CHECK: Finished Loop pass manager run.
; CHECK: Running pass: LoopUnrollPass
-; CHECK: Clearing all analysis results for: inner2.header
-; CHECK: Clearing all analysis results for: outer.header
+; CHECK: Clearing all analysis results for: <invalidated loop>
+; CHECK: Clearing all analysis results for: <invalidated loop>
; CHECK: Invalidating all non-preserved analyses for: test
; CHECK: Invalidating all non-preserved analyses for: inner1.header
; CHECK: Invalidating analysis: LoopAccessAnalysis on inner1.header
OpenPOWER on IntegriCloud