Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/Transforms/GuardWidening/loop-schedule.ll | ||
---|---|---|
7–14 | Why isn't this checked for NewPM? Btw, shouldn't it be CHECK-NEXT if one wants to verify that there is nothing between those checked lines. |
llvm/test/Transforms/GuardWidening/loop-schedule.ll | ||
---|---|---|
2 | For NPM use -debug-pass-manager. The flag -debug-pass=Structure is a no-op. Starting Loop pass manager run. Running pass: LICMPass on Loop at depth 1 containing: %loop<header><latch><exiting> Running pass: GuardWideningPass on Loop at depth 1 containing: %loop<header><latch><exiting> Running pass: LICMPass on Loop at depth 1 containing: %loop<header><latch><exiting> Finished Loop pass manager run. |
llvm/test/Transforms/GuardWidening/loop-schedule.ll | ||
---|---|---|
7–14 | I also was wondering why it wasn't CHECK-NEXT. Here's the relevant output: Loop Pass Manager Loop Invariant Code Motion Loop Pass Manager Widen guards (within a single loop, as a loop pass) Memory SSA Loop Pass Manager Loop Invariant Code Motion The "Memory SSA" looks like what the test is hoping doesn't exist, maybe that's why it isn't CHECK-NEXT. You can try and fix this test up if you want. The NPM version does work as intended though, added that. |
Not sure we need to be so complete here. 9258e9d190af643ed5d770fa8a965af3b7090502 introduce this test for legacy PM only. There are separate tests for NPM.
llvm/test/Transforms/GuardWidening/loop-schedule.ll | ||
---|---|---|
7–14 | This seems to be due to the widen guards pass not marking MemorySSA as preserved. This seems worth fixing in GuardWidening to explicitly mark it preserved for all types of passes. |
For NPM use -debug-pass-manager. The flag -debug-pass=Structure is a no-op.
Add --check-prefixes=NPM,CHECK.
Check lines with NPM prefix: