[llvm] Add PreLegalizer pattern matching for degrees GL extension (PR #216506)
Kaitlin Peng via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 18 10:48:57 PDT 2026
================
@@ -381,3 +381,53 @@ void SPIRVCombinerHelper::applyMatrixMultiply(MachineInstr &MI) const {
Builder.buildBuildVector(ResReg, ResultScalars);
MI.eraseFromParent();
}
+
+bool SPIRVCombinerHelper::matchDegrees(MachineInstr &MI) const {
----------------
kmpeng wrote:
same nit on order
https://github.com/llvm/llvm-project/pull/216506
More information about the llvm-commits
mailing list