[llvm] fe950cb - Update LoopPredication test to fix buildbot failure.

Daniil Suchkov via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 16 16:38:40 PDT 2021


Author: Daniil Suchkov
Date: 2021-09-16T23:37:59Z
New Revision: fe950cba8f463562072e196a01409425b6ca0d40

URL: https://github.com/llvm/llvm-project/commit/fe950cba8f463562072e196a01409425b6ca0d40
DIFF: https://github.com/llvm/llvm-project/commit/fe950cba8f463562072e196a01409425b6ca0d40.diff

LOG: Update LoopPredication test to fix buildbot failure.

This patch updates tests added in 5f2b7879f16ad5023f0684febeb0a20f7d53e4a8.

Added: 
    

Modified: 
    llvm/test/Transforms/LoopPredication/invalidate-analyses.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/LoopPredication/invalidate-analyses.ll b/llvm/test/Transforms/LoopPredication/invalidate-analyses.ll
index ac5a84ce7cf2..c43188adebc7 100644
--- a/llvm/test/Transforms/LoopPredication/invalidate-analyses.ll
+++ b/llvm/test/Transforms/LoopPredication/invalidate-analyses.ll
@@ -1,16 +1,15 @@
-; RUN: opt -S -passes='require<scalar-evolution>,loop-mssa(loop-predication)' -debug-pass-manager < %s 2>&1 | FileCheck %s
+; RUN: opt -S -passes='require<scalar-evolution>,require<lazy-value-info>,loop-mssa(loop-predication)' -debug-pass-manager < %s 2>&1 | FileCheck %s
 
-; NOTE: PreservedCFGCheckerAnalysis is an arbitrary analysis that just happens
-;       to be calculated before this pass and isn't preserved by it. If after
-;       your change this analysis is preserved by the pass, please update this
-;       test some other analysis that isn't preserved.
+; NOTE: LazyValueAnalysis is an arbitrary analysis that just isn't preserved by
+;       this pass. If after your change this analysis is preserved by the pass,
+;       please update this test some other analysis that isn't preserved.
 
-; CHECK: Running analysis: PreservedCFGCheckerAnalysis on drop_a_wc_and_leave_early
+; CHECK: Running analysis: LazyValueAnalysis on drop_a_wc_and_leave_early
 ; CHECK: Running pass: LoopPredicationPass on Loop at depth 1 containing: %loop<header><exiting>,%guarded<exiting>,%guarded2<latch><exiting>
-; CHECK-NEXT: Invalidating analysis: PreservedCFGCheckerAnalysis on drop_a_wc_and_leave_early
-; CHECK-NEXT: Running analysis: PreservedCFGCheckerAnalysis on drop_a_wc_and_leave
+; CHECK: Invalidating analysis: LazyValueAnalysis on drop_a_wc_and_leave_early
+; CHECK: Running analysis: LazyValueAnalysis on drop_a_wc_and_leave
 ; CHECK: Running pass: LoopPredicationPass on Loop at depth 1 containing: %loop<header><exiting>,%guarded<exiting>,%guarded2<latch><exiting>
-; CHECK-NEXT: Invalidating analysis: PreservedCFGCheckerAnalysis on drop_a_wc_and_leave
+; CHECK: Invalidating analysis: LazyValueAnalysis on drop_a_wc_and_leave
 
 
 ; This test makes the pass drop its attempts to optimize the exit condition in


        


More information about the llvm-commits mailing list