Skip to content

Commit 9c1cdc2

Browse files
authored
[StandardInstrumentations] Ignore VerifierPass/PrintModulePass when printing IR (#67730)
These don't affect the IR, so we should ignore them.
1 parent d20190e commit 9c1cdc2

File tree

7 files changed

+31
-36
lines changed

7 files changed

+31
-36
lines changed

llvm/lib/Passes/StandardInstrumentations.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,8 @@ void unwrapAndPrint(raw_ostream &OS, Any IR) {
295295
bool isIgnored(StringRef PassID) {
296296
return isSpecialPass(PassID,
297297
{"PassManager", "PassAdaptor", "AnalysisManagerProxy",
298-
"DevirtSCCRepeatedPass", "ModuleInlinerWrapperPass"});
298+
"DevirtSCCRepeatedPass", "ModuleInlinerWrapperPass",
299+
"VerifierPass", "PrintModulePass"});
299300
}
300301

301302
std::string makeHTMLReady(StringRef SR) {

llvm/test/Other/ChangePrinters/DotCfg/print-changed-dot-cfg.ll

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ entry:
137137
; CHECK-DOT-CFG-SIMPLE-NEXT: </p></div>
138138
; CHECK-DOT-CFG-SIMPLE-NEXT: <a>4. PassManager{{.*}} on f ignored</a><br/>
139139
; CHECK-DOT-CFG-SIMPLE-NEXT: <a>5. ModuleToFunctionPassAdaptor on [module] ignored</a><br/>
140-
; CHECK-DOT-CFG-SIMPLE-NEXT: <a>6. Pass PrintModulePass on [module] omitted because no change</a><br/>
140+
; CHECK-DOT-CFG-SIMPLE-NEXT: <a>6. PrintModulePass on [module] ignored</a><br/>
141141
; CHECK-DOT-CFG-SIMPLE-NEXT: <script>var coll = document.getElementsByClassName("collapsible");var i;for (i = 0; i < coll.length; i++) {coll[i].addEventListener("click", function() { this.classList.toggle("active"); var content = this.nextElementSibling; if (content.style.display === "block"){ content.style.display = "none"; } else { content.style.display= "block"; } }); }</script></body></html>
142142

143143
; CHECK-DOT-CFG-FUNC-FILTER: <!doctype html><html><head><style>.collapsible { background-color: #777; color: white; cursor: pointer; padding: 18px; width: 100%; border: none; text-align: left; outline: none; font-size: 15px;} .active, .collapsible:hover { background-color: #555;} .content { padding: 0 18px; display: none; overflow: hidden; background-color: #f1f1f1;}</style><title>passes.html</title></head>
@@ -153,7 +153,7 @@ entry:
153153
; CHECK-DOT-CFG-FUNC-FILTER-NEXT: </p></div>
154154
; CHECK-DOT-CFG-FUNC-FILTER-NEXT: <a>4. PassManager{{.*}} on f ignored</a><br/>
155155
; CHECK-DOT-CFG-FUNC-FILTER-NEXT: <a>5. ModuleToFunctionPassAdaptor on [module] ignored</a><br/>
156-
; CHECK-DOT-CFG-FUNC-FILTER-NEXT: <a>6. Pass PrintModulePass on [module] omitted because no change</a><br/>
156+
; CHECK-DOT-CFG-FUNC-FILTER-NEXT: <a>6. PrintModulePass on [module] ignored</a><br/>
157157
; CHECK-DOT-CFG-FUNC-FILTER-NEXT: <script>var coll = document.getElementsByClassName("collapsible");var i;for (i = 0; i < coll.length; i++) {coll[i].addEventListener("click", function() { this.classList.toggle("active"); var content = this.nextElementSibling; if (content.style.display === "block"){ content.style.display = "none"; } else { content.style.display= "block"; } }); }</script></body></html>
158158

159159
; CHECK-DOT-CFG-PRINT-MOD-SCOPE: <!doctype html><html><head><style>.collapsible { background-color: #777; color: white; cursor: pointer; padding: 18px; width: 100%; border: none; text-align: left; outline: none; font-size: 15px;} .active, .collapsible:hover { background-color: #555;} .content { padding: 0 18px; display: none; overflow: hidden; background-color: #f1f1f1;}</style><title>passes.html</title></head>
@@ -171,7 +171,7 @@ entry:
171171
; CHECK-DOT-CFG-PRINT-MOD-SCOPE-NEXT: </p></div>
172172
; CHECK-DOT-CFG-PRINT-MOD-SCOPE-NEXT: <a>4. PassManager{{.*}} on f ignored</a><br/>
173173
; CHECK-DOT-CFG-PRINT-MOD-SCOPE-NEXT: <a>5. ModuleToFunctionPassAdaptor on [module] ignored</a><br/>
174-
; CHECK-DOT-CFG-PRINT-MOD-SCOPE-NEXT: <a>6. Pass PrintModulePass on [module] omitted because no change</a><br/>
174+
; CHECK-DOT-CFG-PRINT-MOD-SCOPE-NEXT: <a>6. PrintModulePass on [module] ignored</a><br/>
175175
; CHECK-DOT-CFG-PRINT-MOD-SCOPE-NEXT: <script>var coll = document.getElementsByClassName("collapsible");var i;for (i = 0; i < coll.length; i++) {coll[i].addEventListener("click", function() { this.classList.toggle("active"); var content = this.nextElementSibling; if (content.style.display === "block"){ content.style.display = "none"; } else { content.style.display= "block"; } }); }</script></body></html>
176176

177177
; CHECK-DOT-CFG-FILTER-MULT-FUNC: <!doctype html><html><head><style>.collapsible { background-color: #777; color: white; cursor: pointer; padding: 18px; width: 100%; border: none; text-align: left; outline: none; font-size: 15px;} .active, .collapsible:hover { background-color: #555;} .content { padding: 0 18px; display: none; overflow: hidden; background-color: #f1f1f1;}</style><title>passes.html</title></head>
@@ -189,7 +189,7 @@ entry:
189189
; CHECK-DOT-CFG-FILTER-MULT-FUNC-NEXT: </p></div>
190190
; CHECK-DOT-CFG-FILTER-MULT-FUNC-NEXT: <a>4. PassManager{{.*}} on f ignored</a><br/>
191191
; CHECK-DOT-CFG-FILTER-MULT-FUNC-NEXT: <a>5. ModuleToFunctionPassAdaptor on [module] ignored</a><br/>
192-
; CHECK-DOT-CFG-FILTER-MULT-FUNC-NEXT: <a>6. Pass PrintModulePass on [module] omitted because no change</a><br/>
192+
; CHECK-DOT-CFG-FILTER-MULT-FUNC-NEXT: <a>6. PrintModulePass on [module] ignored</a><br/>
193193
; CHECK-DOT-CFG-FILTER-MULT-FUNC-NEXT: <script>var coll = document.getElementsByClassName("collapsible");var i;for (i = 0; i < coll.length; i++) {coll[i].addEventListener("click", function() { this.classList.toggle("active"); var content = this.nextElementSibling; if (content.style.display === "block"){ content.style.display = "none"; } else { content.style.display= "block"; } }); }</script></body></html>
194194

195195
; CHECK-DOT-CFG-FILTER-PASSES: <!doctype html><html><head><style>.collapsible { background-color: #777; color: white; cursor: pointer; padding: 18px; width: 100%; border: none; text-align: left; outline: none; font-size: 15px;} .active, .collapsible:hover { background-color: #555;} .content { padding: 0 18px; display: none; overflow: hidden; background-color: #f1f1f1;}</style><title>passes.html</title></head>
@@ -207,7 +207,7 @@ entry:
207207
; CHECK-DOT-CFG-FILTER-PASSES-NEXT: <a>5. Pass NoOpFunctionPass on f omitted because no change</a><br/>
208208
; CHECK-DOT-CFG-FILTER-PASSES-NEXT: <a>6. PassManager{{.*}} on f ignored</a><br/>
209209
; CHECK-DOT-CFG-FILTER-PASSES-NEXT: <a>7. ModuleToFunctionPassAdaptor on [module] ignored</a><br/>
210-
; CHECK-DOT-CFG-FILTER-PASSES-NEXT: <a>8. Pass PrintModulePass on [module] filtered out</a><br/>
210+
; CHECK-DOT-CFG-FILTER-PASSES-NEXT: <a>8. PrintModulePass on [module] ignored</a><br/>
211211
; CHECK-DOT-CFG-FILTER-PASSES-NEXT: <script>var coll = document.getElementsByClassName("collapsible");var i;for (i = 0; i < coll.length; i++) {coll[i].addEventListener("click", function() { this.classList.toggle("active"); var content = this.nextElementSibling; if (content.style.display === "block"){ content.style.display = "none"; } else { content.style.display= "block"; } }); }</script></body></html>
212212

213213

@@ -229,7 +229,7 @@ entry:
229229
; CHECK-DOT-CFG-FILTER-MULT-PASSES-NEXT: <a>5. Pass NoOpFunctionPass on f omitted because no change</a><br/>
230230
; CHECK-DOT-CFG-FILTER-MULT-PASSES-NEXT: <a>6. PassManager{{.*}} on f ignored</a><br/>
231231
; CHECK-DOT-CFG-FILTER-MULT-PASSES-NEXT: <a>7. ModuleToFunctionPassAdaptor on [module] ignored</a><br/>
232-
; CHECK-DOT-CFG-FILTER-MULT-PASSES-NEXT: <a>8. Pass PrintModulePass on [module] filtered out</a><br/>
232+
; CHECK-DOT-CFG-FILTER-MULT-PASSES-NEXT: <a>8. PrintModulePass on [module] ignored</a><br/>
233233
; CHECK-DOT-CFG-FILTER-MULT-PASSES-NEXT: <script>var coll = document.getElementsByClassName("collapsible");var i;for (i = 0; i < coll.length; i++) {coll[i].addEventListener("click", function() { this.classList.toggle("active"); var content = this.nextElementSibling; if (content.style.display === "block"){ content.style.display = "none"; } else { content.style.display= "block"; } }); }</script></body></html>
234234

235235
; CHECK-DOT-CFG-FILTER-FUNC-PASSES: <!doctype html><html><head><style>.collapsible { background-color: #777; color: white; cursor: pointer; padding: 18px; width: 100%; border: none; text-align: left; outline: none; font-size: 15px;} .active, .collapsible:hover { background-color: #555;} .content { padding: 0 18px; display: none; overflow: hidden; background-color: #f1f1f1;}</style><title>passes.html</title></head>
@@ -247,7 +247,7 @@ entry:
247247
; CHECK-DOT-CFG-FILTER-FUNC-PASSES-NEXT: <a>5. Pass NoOpFunctionPass on f omitted because no change</a><br/>
248248
; CHECK-DOT-CFG-FILTER-FUNC-PASSES-NEXT: <a>6. PassManager{{.*}} on f ignored</a><br/>
249249
; CHECK-DOT-CFG-FILTER-FUNC-PASSES-NEXT: <a>7. ModuleToFunctionPassAdaptor on [module] ignored</a><br/>
250-
; CHECK-DOT-CFG-FILTER-FUNC-PASSES-NEXT: <a>8. Pass PrintModulePass on [module] filtered out</a><br/>
250+
; CHECK-DOT-CFG-FILTER-FUNC-PASSES-NEXT: <a>8. PrintModulePass on [module] ignored</a><br/>
251251
; CHECK-DOT-CFG-FILTER-FUNC-PASSES-NEXT: <script>var coll = document.getElementsByClassName("collapsible");var i;for (i = 0; i < coll.length; i++) {coll[i].addEventListener("click", function() { this.classList.toggle("active"); var content = this.nextElementSibling; if (content.style.display === "block"){ content.style.display = "none"; } else { content.style.display= "block"; } }); }</script></body></html>
252252

253253

@@ -266,7 +266,7 @@ entry:
266266
; CHECK-DOT-CFG-MULT-PASSES-FILTER-FUNC-NEXT: <a>5. Pass InstSimplifyPass on f omitted because no change</a><br/>
267267
; CHECK-DOT-CFG-MULT-PASSES-FILTER-FUNC-NEXT: <a>6. PassManager{{.*}} on f ignored</a><br/>
268268
; CHECK-DOT-CFG-MULT-PASSES-FILTER-FUNC-NEXT: <a>7. ModuleToFunctionPassAdaptor on [module] ignored</a><br/>
269-
; CHECK-DOT-CFG-MULT-PASSES-FILTER-FUNC-NEXT: <a>8. Pass PrintModulePass on [module] omitted because no change</a><br/>
269+
; CHECK-DOT-CFG-MULT-PASSES-FILTER-FUNC-NEXT: <a>8. PrintModulePass on [module] ignored</a><br/>
270270
; CHECK-DOT-CFG-MULT-PASSES-FILTER-FUNC-NEXT: <script>var coll = document.getElementsByClassName("collapsible");var i;for (i = 0; i < coll.length; i++) {coll[i].addEventListener("click", function() { this.classList.toggle("active"); var content = this.nextElementSibling; if (content.style.display === "block"){ content.style.display = "none"; } else { content.style.display= "block"; } }); }</script></body></html>
271271

272272
; CHECK-DOT-CFG-QUIET-SIMPLE: <!doctype html><html><head><style>.collapsible { background-color: #777; color: white; cursor: pointer; padding: 18px; width: 100%; border: none; text-align: left; outline: none; font-size: 15px;} .active, .collapsible:hover { background-color: #555;} .content { padding: 0 18px; display: none; overflow: hidden; background-color: #f1f1f1;}</style><title>passes.html</title></head>

llvm/test/Other/ChangePrinters/print-changed-diff.ll

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ entry:
157157
; CHECK-DIFF-SIMPLE-NEXT:+ ret i32 5
158158
; CHECK-DIFF-SIMPLE: *** IR Pass PassManager{{.*}} on f ignored ***
159159
; CHECK-DIFF-SIMPLE: *** IR Pass ModuleToFunctionPassAdaptor on [module] ignored ***
160-
; CHECK-DIFF-SIMPLE: *** IR Dump After VerifierPass on [module] omitted because no change ***
161-
; CHECK-DIFF-SIMPLE: *** IR Dump After PrintModulePass on [module] omitted because no change ***
160+
; CHECK-DIFF-SIMPLE: *** IR Pass VerifierPass on [module] ignored ***
161+
; CHECK-DIFF-SIMPLE: *** IR Pass PrintModulePass on [module] ignored ***
162162

163163
; CHECK-DIFF-FUNC-FILTER: *** IR Dump At Start ***
164164
; CHECK-DIFF-FUNC-FILTER-NEXT: ; ModuleID = {{.+}}
@@ -171,8 +171,8 @@ entry:
171171
; CHECK-DIFF-FUNC-FILTER:+ ret i32 5
172172
; CHECK-DIFF-FUNC-FILTER: *** IR Pass PassManager{{.*}} on f ignored ***
173173
; CHECK-DIFF-FUNC-FILTER: *** IR Pass ModuleToFunctionPassAdaptor on [module] ignored ***
174-
; CHECK-DIFF-FUNC-FILTER: *** IR Dump After VerifierPass on [module] omitted because no change ***
175-
; CHECK-DIFF-FUNC-FILTER: *** IR Dump After PrintModulePass on [module] omitted because no change ***
174+
; CHECK-DIFF-FUNC-FILTER: *** IR Pass VerifierPass on [module] ignored ***
175+
; CHECK-DIFF-FUNC-FILTER: *** IR Pass PrintModulePass on [module] ignored ***
176176

177177
; CHECK-DIFF-PRINT-MOD-SCOPE: *** IR Dump At Start ***
178178
; CHECK-DIFF-PRINT-MOD-SCOPE: ModuleID = {{.+}}
@@ -190,8 +190,8 @@ entry:
190190
; CHECK-DIFF-PRINT-MOD-SCOPE:+ ret i32 5
191191
; CHECK-DIFF-PRINT-MOD-SCOPE: *** IR Pass PassManager{{.*}} on f ignored ***
192192
; CHECK-DIFF-PRINT-MOD-SCOPE: *** IR Pass ModuleToFunctionPassAdaptor on [module] ignored ***
193-
; CHECK-DIFF-PRINT-MOD-SCOPE: *** IR Dump After VerifierPass on [module] omitted because no change ***
194-
; CHECK-DIFF-PRINT-MOD-SCOPE: *** IR Dump After PrintModulePass on [module] omitted because no change ***
193+
; CHECK-DIFF-PRINT-MOD-SCOPE: *** IR Pass VerifierPass on [module] ignored ***
194+
; CHECK-DIFF-PRINT-MOD-SCOPE: *** IR Pass PrintModulePass on [module] ignored ***
195195

196196
; CHECK-DIFF-FILTER-MULT-FUNC: *** IR Dump At Start ***
197197
; CHECK-DIFF-FILTER-MULT-FUNC: *** IR Dump After InstSimplifyPass on g ***
@@ -208,8 +208,8 @@ entry:
208208
; CHECK-DIFF-FILTER-MULT-FUNC:+ ret i32 5
209209
; CHECK-DIFF-FILTER-MULT-FUNC: *** IR Pass PassManager{{.*}} on f ignored ***
210210
; CHECK-DIFF-FILTER-MULT-FUNC: *** IR Pass ModuleToFunctionPassAdaptor on [module] ignored ***
211-
; CHECK-DIFF-FILTER-MULT-FUNC: *** IR Dump After VerifierPass on [module] omitted because no change ***
212-
; CHECK-DIFF-FILTER-MULT-FUNC: *** IR Dump After PrintModulePass on [module] omitted because no change ***
211+
; CHECK-DIFF-FILTER-MULT-FUNC: *** IR Pass VerifierPass on [module] ignored ***
212+
; CHECK-DIFF-FILTER-MULT-FUNC: *** IR Pass PrintModulePass on [module] ignored ***
213213

214214
; CHECK-DIFF-FILTER-PASSES: *** IR Dump At Start ***
215215
; CHECK-DIFF-FILTER-PASSES: *** IR Dump After InstSimplifyPass on g filtered out ***
@@ -369,8 +369,8 @@ entry:
369369
; CHECK-CDIFF-SIMPLE-NEXT:{{.\[32m\+}} ret i32 5{{.\[0m}}
370370
; CHECK-CDIFF-SIMPLE: *** IR Pass PassManager{{.*}} on f ignored ***
371371
; CHECK-CDIFF-SIMPLE: *** IR Pass ModuleToFunctionPassAdaptor on [module] ignored ***
372-
; CHECK-CDIFF-SIMPLE: *** IR Dump After VerifierPass on [module] omitted because no change ***
373-
; CHECK-CDIFF-SIMPLE: *** IR Dump After PrintModulePass on [module] omitted because no change ***
372+
; CHECK-CDIFF-SIMPLE: *** IR Pass VerifierPass on [module] ignored ***
373+
; CHECK-CDIFF-SIMPLE: *** IR Pass PrintModulePass on [module] ignored ***
374374

375375
; CHECK-CDIFF-FUNC-FILTER: *** IR Dump At Start ***
376376
; CHECK-CDIFF-FUNC-FILTER-NEXT: ; ModuleID = {{.+}}
@@ -383,8 +383,8 @@ entry:
383383
; CHECK-CDIFF-FUNC-FILTER:{{.\[32m\+}} ret i32 5{{.\[0m}}
384384
; CHECK-CDIFF-FUNC-FILTER: *** IR Pass PassManager{{.*}} on f ignored ***
385385
; CHECK-CDIFF-FUNC-FILTER: *** IR Pass ModuleToFunctionPassAdaptor on [module] ignored ***
386-
; CHECK-CDIFF-FUNC-FILTER: *** IR Dump After VerifierPass on [module] omitted because no change ***
387-
; CHECK-CDIFF-FUNC-FILTER: *** IR Dump After PrintModulePass on [module] omitted because no change ***
386+
; CHECK-CDIFF-FUNC-FILTER: *** IR Pass VerifierPass on [module] ignored ***
387+
; CHECK-CDIFF-FUNC-FILTER: *** IR Pass PrintModulePass on [module] ignored ***
388388

389389
; CHECK-CDIFF-PRINT-MOD-SCOPE: *** IR Dump At Start ***
390390
; CHECK-CDIFF-PRINT-MOD-SCOPE: ModuleID = {{.+}}
@@ -402,8 +402,8 @@ entry:
402402
; CHECK-CDIFF-PRINT-MOD-SCOPE:{{.\[32m\+}} ret i32 5{{.\[0m}}
403403
; CHECK-CDIFF-PRINT-MOD-SCOPE: *** IR Pass PassManager{{.*}} on f ignored ***
404404
; CHECK-CDIFF-PRINT-MOD-SCOPE: *** IR Pass ModuleToFunctionPassAdaptor on [module] ignored ***
405-
; CHECK-CDIFF-PRINT-MOD-SCOPE: *** IR Dump After VerifierPass on [module] omitted because no change ***
406-
; CHECK-CDIFF-PRINT-MOD-SCOPE: *** IR Dump After PrintModulePass on [module] omitted because no change ***
405+
; CHECK-CDIFF-PRINT-MOD-SCOPE: *** IR Pass VerifierPass on [module] ignored ***
406+
; CHECK-CDIFF-PRINT-MOD-SCOPE: *** IR Pass PrintModulePass on [module] ignored ***
407407

408408
; CHECK-CDIFF-FILTER-MULT-FUNC: *** IR Dump At Start ***
409409
; CHECK-CDIFF-FILTER-MULT-FUNC: *** IR Dump After InstSimplifyPass on g ***
@@ -420,8 +420,8 @@ entry:
420420
; CHECK-CDIFF-FILTER-MULT-FUNC:{{.\[32m\+}} ret i32 5{{.\[0m}}
421421
; CHECK-CDIFF-FILTER-MULT-FUNC: *** IR Pass PassManager{{.*}} on f ignored ***
422422
; CHECK-CDIFF-FILTER-MULT-FUNC: *** IR Pass ModuleToFunctionPassAdaptor on [module] ignored ***
423-
; CHECK-CDIFF-FILTER-MULT-FUNC: *** IR Dump After VerifierPass on [module] omitted because no change ***
424-
; CHECK-CDIFF-FILTER-MULT-FUNC: *** IR Dump After PrintModulePass on [module] omitted because no change ***
423+
; CHECK-CDIFF-FILTER-MULT-FUNC: *** IR Pass VerifierPass on [module] ignored ***
424+
; CHECK-CDIFF-FILTER-MULT-FUNC: *** IR Pass PrintModulePass on [module] ignored ***
425425

426426
; CHECK-CDIFF-FILTER-PASSES: *** IR Dump At Start ***
427427
; CHECK-CDIFF-FILTER-PASSES: *** IR Dump After InstSimplifyPass on g filtered out ***

llvm/test/Other/change-printer.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ entry:
116116
; CHECK-SIMPLE-NEXT: define i32 @f()
117117
; CHECK-SIMPLE: *** IR Pass PassManager{{.*}} on f ignored ***
118118
; CHECK-SIMPLE: *** IR Pass ModuleToFunctionPassAdaptor on [module] ignored ***
119-
; CHECK-SIMPLE: *** IR Dump After VerifierPass on [module] omitted because no change ***
120-
; CHECK-SIMPLE: *** IR Dump After PrintModulePass on [module] omitted because no change ***
119+
; CHECK-SIMPLE: *** IR Pass VerifierPass on [module] ignored ***
120+
; CHECK-SIMPLE: *** IR Pass PrintModulePass on [module] ignored ***
121121
; CHECK-SIMPLE-NOT: *** IR
122122

123123
; CHECK-FUNC-FILTER: *** IR Dump At Start ***
@@ -199,8 +199,8 @@ entry:
199199
; CHECK-SIMPLE-BEFORE-NEXT: define i32 @f()
200200
; CHECK-SIMPLE-BEFORE: *** IR Pass PassManager{{.*}} on f ignored ***
201201
; CHECK-SIMPLE-BEFORE: *** IR Pass ModuleToFunctionPassAdaptor on [module] ignored ***
202-
; CHECK-SIMPLE-BEFORE: *** IR Dump After VerifierPass on [module] omitted because no change ***
203-
; CHECK-SIMPLE-BEFORE: *** IR Dump After PrintModulePass on [module] omitted because no change ***
202+
; CHECK-SIMPLE-BEFORE: *** IR Pass VerifierPass on [module] ignored ***
203+
; CHECK-SIMPLE-BEFORE: *** IR Pass PrintModulePass on [module] ignored ***
204204
; CHECK-SIMPLE-BEFORE-NOT: *** IR
205205

206206
; CHECK-FUNC-FILTER-BEFORE: *** IR Dump At Start ***

llvm/test/Other/print-at-pass-number.ll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,4 @@ bb4: ; preds = %bb1
2828
; NUMBER-NEXT: Running pass 2 LCSSAPass
2929
; NUMBER-NEXT: Running pass 3 IndVarSimplifyPass
3030
; NUMBER-NEXT: Running pass 4 LoopDeletionPass
31-
; NUMBER-NEXT: Running pass 5 VerifierPass
32-
; NUMBER-NEXT: Running pass 6 PrintModulePass
31+
; NUMBER-NOT: Running pass

llvm/test/Other/printer.ll

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,3 @@ define void @foo(){
1515
; CHECK: *** IR Dump After PromotePass
1616
; CHECK-NEXT: define void @foo
1717
; CHECK: *** IR Dump After InstCombinePass
18-
; CHECK-NEXT: define void @foo
19-
; CHECK: *** IR Dump After VerifierPass

llvm/test/Other/scc-pass-printer.ll

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@
3434
; INL-MOD-NEXT: call void @bar()
3535
; INL-MOD: define void @bar()
3636
; INL-MOD-NEXT: call void @foo()
37-
; INL-MOD: IR Dump After
38-
; INL-MOD-NEXT: ModuleID =
39-
; INL-MOD-NEXT: source_filename =
4037
; INL-MOD-NOT: Printing <null> Function
4138

4239
define void @tester() noinline {

0 commit comments

Comments
 (0)