forked from OSchip/llvm-project
[PowerPC] Fix multiclass template parameter types. NFC.
Fixes TableGen parser errors reported by D95874.
This commit is contained in:
parent
859e66ff55
commit
518af8df44
|
@ -4003,7 +4003,7 @@ defm : CRNotPat<(i1 (setcc i64:$s1, i64:$s2, SETNE)),
|
|||
(EXTRACT_SUBREG (CMPD $s1, $s2), sub_eq)>;
|
||||
}
|
||||
|
||||
multiclass FSetCCPat<SDNode SetCC, ValueType Ty, PatLeaf FCmp> {
|
||||
multiclass FSetCCPat<SDPatternOperator SetCC, ValueType Ty, I FCmp> {
|
||||
defm : CRNotPat<(i1 (SetCC Ty:$s1, Ty:$s2, SETUGE)),
|
||||
(EXTRACT_SUBREG (FCmp $s1, $s2), sub_lt)>;
|
||||
defm : CRNotPat<(i1 (SetCC Ty:$s1, Ty:$s2, SETGE)),
|
||||
|
|
|
@ -2417,9 +2417,9 @@ multiclass P10ReverseSetBool<dag pattern, dag result> {
|
|||
(SETBCR8 result)>;
|
||||
}
|
||||
|
||||
multiclass IntSetP10RevSetBool<SDNode SetCC, ValueType Ty, ImmLeaf ZExtTy,
|
||||
ImmLeaf SExtTy, PatLeaf Cmpi, PatLeaf Cmpli,
|
||||
PatLeaf Cmp, PatLeaf Cmpl> {
|
||||
multiclass IntSetP10RevSetBool<SDNode SetCC, ValueType Ty, PatLeaf ZExtTy,
|
||||
ImmLeaf SExtTy, I Cmpi, I Cmpli,
|
||||
I Cmp, I Cmpl> {
|
||||
defm : P10ReverseSetBool<(i1 (SetCC Ty:$s1, Ty:$s2, SETUGE)),
|
||||
(EXTRACT_SUBREG (Cmpl $s1, $s2), sub_lt)>;
|
||||
defm : P10ReverseSetBool<(i1 (SetCC Ty:$s1, Ty:$s2, SETGE)),
|
||||
|
@ -2445,7 +2445,7 @@ multiclass IntSetP10RevSetBool<SDNode SetCC, ValueType Ty, ImmLeaf ZExtTy,
|
|||
(EXTRACT_SUBREG (Cmpli $s1, imm:$imm), sub_eq)>;
|
||||
}
|
||||
|
||||
multiclass FSetP10RevSetBool<SDNode SetCC, ValueType Ty, PatLeaf FCmp> {
|
||||
multiclass FSetP10RevSetBool<SDNode SetCC, ValueType Ty, I FCmp> {
|
||||
defm : P10ReverseSetBool<(i1 (SetCC Ty:$s1, Ty:$s2, SETUGE)),
|
||||
(EXTRACT_SUBREG (FCmp $s1, $s2), sub_lt)>;
|
||||
defm : P10ReverseSetBool<(i1 (SetCC Ty:$s1, Ty:$s2, SETGE)),
|
||||
|
|
Loading…
Reference in New Issue