Skip to content

Commit 5469850

Browse files
committed
[RISCV] Add -print-pipeline-passes test as follow up to llvm#156798. NFC
1 parent 68f8e6e commit 5469850

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
; RUN: opt -mtriple=riscv32 -S -passes='default<O0>' -print-pipeline-passes < %s | FileCheck --check-prefix=O0 %s
2+
; RUN: opt -mtriple=riscv64 -S -passes='default<O0>' -print-pipeline-passes < %s | FileCheck --check-prefix=O0 %s
3+
; RUN: opt -mtriple=riscv32 -S -passes='default<O2>' -print-pipeline-passes < %s | FileCheck %s
4+
; RUN: opt -mtriple=riscv64 -S -passes='default<O2>' -print-pipeline-passes < %s | FileCheck %s
5+
6+
; CHECK: loop-idiom-vectorize
7+
; O0-NOT: loop-idiom-vectorize
8+
9+
define void @foo() {
10+
entry:
11+
ret void
12+
}

0 commit comments

Comments
 (0)