[clang] [llvm] [HLSL] Move `normalize` implementation to header files (PR #216228)

Kaitlin Peng via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 27 13:06:06 PDT 2026


================
@@ -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


More information about the llvm-commits mailing list