[PATCH] D85394: [NewPM][GuardWidening] Fix loop guard widening tests under NPM
Alina Sbirlea via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 6 10:50:13 PDT 2020
asbirlea added inline comments.
================
Comment at: llvm/test/Transforms/GuardWidening/loop-schedule.ll:2
+; RUN: opt -S -licm -loop-guard-widening -licm -debug-pass=Structure -enable-new-pm=0 < %s 2>&1 | FileCheck %s --check-prefixes=LPM,CHECK
+; RUN: opt -S -passes='licm,guard-widening,licm' -debug-pass=Structure < %s 2>&1 | FileCheck %s
----------------
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:
```
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.
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85394/new/
https://reviews.llvm.org/D85394
More information about the llvm-commits
mailing list