[llvm] f0a4ceb - [Matrix] Add test for running matrix lowering with -O0.
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 16 10:00:24 PDT 2020
Author: Florian Hahn
Date: 2020-07-16T17:56:33+01:00
New Revision: f0a4ceb2fa7adb783b33deb0575abdc29fe59d40
URL: https://github.com/llvm/llvm-project/commit/f0a4ceb2fa7adb783b33deb0575abdc29fe59d40
DIFF: https://github.com/llvm/llvm-project/commit/f0a4ceb2fa7adb783b33deb0575abdc29fe59d40.diff
LOG: [Matrix] Add test for running matrix lowering with -O0.
Added:
llvm/test/Other/opt-O0-pipeline-enable-matrix.ll
Modified:
Removed:
################################################################################
diff --git a/llvm/test/Other/opt-O0-pipeline-enable-matrix.ll b/llvm/test/Other/opt-O0-pipeline-enable-matrix.ll
new file mode 100644
index 000000000000..5e2d2726eb87
--- /dev/null
+++ b/llvm/test/Other/opt-O0-pipeline-enable-matrix.ll
@@ -0,0 +1,24 @@
+; RUN: opt -O0 -enable-matrix -debug-pass=Structure < %s -o /dev/null 2>&1 | FileCheck %s
+
+; REQUIRES: asserts
+
+; CHECK: Pass Arguments:
+; CHECK-NEXT: Target Transform Information
+; CHECK-NEXT: Target Library Information
+; CHECK-NEXT: Assumption Cache Tracker
+; CHECK-NEXT: FunctionPass Manager
+; CHECK-NEXT: Module Verifier
+; CHECK-NEXT: Instrument function entry/exit with calls to e.g. mcount() (pre inlining)
+; CHECK-NEXT: Dominator Tree Construction
+; CHECK-NEXT: Natural Loop Information
+; CHECK-NEXT: Lazy Branch Probability Analysis
+; CHECK-NEXT: Lazy Block Frequency Analysis
+; CHECK-NEXT: Optimization Remark Emitter
+; CHECK-NEXT: Basic Alias Analysis (stateless AA impl)
+; CHECK-NEXT: Function Alias Analysis Results
+; CHECK-NEXT: Lower the matrix intrinsics
+
+
+define void @f() {
+ ret void
+}
More information about the llvm-commits
mailing list