We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68f8e6e commit 5469850Copy full SHA for 5469850
llvm/test/CodeGen/RISCV/print-pipeline-passes.ll
@@ -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