[llvm] 3c90738 - [Hexagon] Fix multiclass template parameter types. NFC.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 6 07:28:36 PST 2021
Author: Simon Pilgrim
Date: 2021-02-06T15:28:26Z
New Revision: 3c9073864ceb7f6832fe247bdddd9f640b540cfd
URL: https://github.com/llvm/llvm-project/commit/3c9073864ceb7f6832fe247bdddd9f640b540cfd
DIFF: https://github.com/llvm/llvm-project/commit/3c9073864ceb7f6832fe247bdddd9f640b540cfd.diff
LOG: [Hexagon] Fix multiclass template parameter types. NFC.
Fixes TableGen parser errors reported by D95874.
Added:
Modified:
llvm/lib/Target/Hexagon/HexagonPatterns.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/Hexagon/HexagonPatterns.td b/llvm/lib/Target/Hexagon/HexagonPatterns.td
index d216c511a994..e0aa9a21548d 100644
--- a/llvm/lib/Target/Hexagon/HexagonPatterns.td
+++ b/llvm/lib/Target/Hexagon/HexagonPatterns.td
@@ -349,7 +349,7 @@ multiclass SelMinMax_pats<PatFrag CmpOp, PatFrag Val,
}
multiclass MinMax_pats<InstHexagon PickT, InstHexagon PickS,
- PatFrag Sel, PatFrag CmpOp,
+ SDPatternOperator Sel, SDPatternOperator CmpOp,
ValueType CmpType, PatFrag CmpPred> {
def: Pat<(Sel (CmpType (CmpOp CmpPred:$Vs, CmpPred:$Vt)),
CmpPred:$Vt, CmpPred:$Vs),
More information about the llvm-commits
mailing list