================
@@ -0,0 +1,25 @@
+# RUN: llc -verify-machineinstrs -O0 -mtriple spirv-unknown-unknown 
-run-pass=spirv-prelegalizer-combiner %s -o - | FileCheck %s
----------------
kmpeng wrote:

The other pattern matched intrinsics also have `.mir` tests, see the files in 
the same directory `llvm/test/CodeGen/SPIRV/GlobalISel/InstCombine`. Pattern 
matching cases were added to the `.ll` tests to check the final SPIRV, but we 
also have this `.mir` test to isolate just the combiner pass.

https://github.com/llvm/llvm-project/pull/216228
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to