File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -245,7 +245,8 @@ std::string getIRName(Any IR) {
245
245
return C->getName ();
246
246
247
247
if (const auto *L = unwrapIR<Loop>(IR))
248
- return L->getName ().str ();
248
+ return " Loop: [ " + L->getName ().str () + " ] In Function: [ " +
249
+ L->getHeader ()->getParent ()->getName ().str () + " ]" ;
249
250
250
251
if (const auto *MF = unwrapIR<MachineFunction>(IR))
251
252
return MF->getName ().str ();
Original file line number Diff line number Diff line change 5
5
; please update this test some other analysis that isn't preserved.
6
6
7
7
; CHECK: Running analysis: LazyValueAnalysis on drop_a_wc_and_leave_early
8
- ; CHECK: Running pass: LoopPredicationPass on loop
8
+ ; CHECK: Running pass: LoopPredicationPass on Loop: [ loop ] In Function: [ drop_a_wc_and_leave_early ]
9
9
; CHECK: Invalidating analysis: LazyValueAnalysis on drop_a_wc_and_leave_early
10
10
; CHECK: Running analysis: LazyValueAnalysis on drop_a_wc_and_leave
11
- ; CHECK: Running pass: LoopPredicationPass on loop
11
+ ; CHECK: Running pass: LoopPredicationPass on Loop: [ loop ] In Function: [ drop_a_wc_and_leave ]
12
12
; CHECK: Invalidating analysis: LazyValueAnalysis on drop_a_wc_and_leave
13
13
14
14
Original file line number Diff line number Diff line change 17
17
; SimpleLoopUnswitch not marking the Loop as removed, so we missed clearing
18
18
; the analysis caches.
19
19
;
20
- ; CHECK: Running pass: SimpleLoopUnswitchPass on loop_begin
20
+ ; CHECK: Running pass: SimpleLoopUnswitchPass on Loop: [ loop_begin ] In Function: [ test6 ]
21
21
; CHECK-NEXT: Running analysis: OuterAnalysisManagerProxy
22
- ; CHECK-NEXT: Clearing all analysis results for: loop_a_inner
22
+ ; CHECK-NEXT: Clearing all analysis results for: Loop [ loop_a_inner ] In Function: [ test6 ]
23
23
24
24
25
25
; When running loop-distribute the second time we can see that loop_a_inner
You can’t perform that action at this time.
0 commit comments