Skip to content

Instantly share code, notes, and snippets.

@nikic nikic/lvi_abandon.diff Secret

Created Jul 30, 2020
Embed
What would you like to do?
diff --git a/llvm/test/Other/new-pm-defaults.ll b/llvm/test/Other/new-pm-defaults.ll
index 8f75e3ce0bf..482e12a2e0f 100644
--- a/llvm/test/Other/new-pm-defaults.ll
+++ b/llvm/test/Other/new-pm-defaults.ll
@@ -147,6 +147,8 @@
; CHECK-O23SZ-NEXT: Running pass: JumpThreadingPass
; CHECK-O23SZ-NEXT: Running analysis: LazyValueAnalysis
; CHECK-O23SZ-NEXT: Running pass: CorrelatedValuePropagationPass
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: foo
+; CHECK-O23SZ-NEXT: Invalidating analysis: LazyValueAnalysis
; CHECK-O-NEXT: Running pass: SimplifyCFGPass
; CHECK-O3-NEXT: AggressiveInstCombinePass
; CHECK-O-NEXT: Running pass: InstCombinePass
@@ -200,7 +202,11 @@
; CHECK-O-NEXT: Running pass: InstCombinePass
; CHECK-EP-PEEPHOLE-NEXT: Running pass: NoOpFunctionPass
; CHECK-O23SZ-NEXT: Running pass: JumpThreadingPass
+; CHECK-O23SZ-NEXT: Running analysis: LazyValueAnalysis
; CHECK-O23SZ-NEXT: Running pass: CorrelatedValuePropagationPass
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: foo
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: loop
+; CHECK-O23SZ-NEXT: Invalidating analysis: LazyValueAnalysis
; CHECK-O23SZ-NEXT: Running pass: DSEPass
; CHECK-O23SZ-NEXT: Starting llvm::Function pass manager run.
; CHECK-O23SZ-NEXT: Running pass: LoopSimplifyPass
@@ -214,10 +220,39 @@
; CHECK-O-NEXT: Running pass: InstCombinePass
; CHECK-EP-PEEPHOLE-NEXT: Running pass: NoOpFunctionPass
; CHECK-O-NEXT: Finished llvm::Function pass manager run.
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: foo
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: loop
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: (foo)
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: foo
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: loop
; CHECK-EP-CGSCC-LATE-NEXT: Running pass: NoOpCGSCCPass
; CHECK-O-NEXT: Finished CGSCC pass manager run.
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: (foo)
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: foo
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: loop
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: {{.+}}
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: bar
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: foo
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: loop
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: (foo)
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: foo
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: loop
; CHECK-O-NEXT: Finished llvm::Module pass manager run.
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: {{.+}}
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: bar
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: foo
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: loop
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: (foo)
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: foo
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: loop
; CHECK-O-NEXT: Finished llvm::Module pass manager run.
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: {{.+}}
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: bar
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: foo
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: loop
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: (foo)
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: foo
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: loop
; CHECK-O-NEXT: Starting llvm::Module pass manager run.
; CHECK-O-NEXT: Running pass: GlobalOptPass
; CHECK-O-NEXT: Running pass: GlobalDCEPass
@@ -270,6 +305,13 @@
; CHECK-O-NEXT: Running pass: ConstantMergePass
; CHECK-O-NEXT: Finished llvm::Module pass manager run.
; CHECK-O-NEXT: Finished llvm::Module pass manager run.
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: {{.+}}
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: bar
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: foo
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: loop
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: (foo)
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: foo
+; CHECK-O23SZ-NEXT: Invalidating all non-preserved analyses for: loop
; CHECK-O-NEXT: Running pass: PrintModulePass
;
; Make sure we get the IR back out without changes when we print the module.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.