mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[AMDGPU] Fix multiclass template parameter types. NFC.
This fixes TableGen parser errors that will be reported when D95874 is applied. Differential Revision: https://reviews.llvm.org/D95955
This commit is contained in:
parent
bda396ca51
commit
da98ff117e
@ -760,7 +760,7 @@ defm V_CMPX_CLASS_F16 : VOPCX_CLASS_F16 <"v_cmpx_class_f16">;
|
||||
|
||||
// We need to use COPY_TO_REGCLASS to w/a the problem when ReplaceAllUsesWith()
|
||||
// complaints it cannot replace i1 <-> i64/i32 if node was not morphed in place.
|
||||
multiclass ICMP_Pattern <PatLeaf cond, Instruction inst, ValueType vt> {
|
||||
multiclass ICMP_Pattern <PatFrags cond, Instruction inst, ValueType vt> {
|
||||
let WaveSizePredicate = isWave64 in
|
||||
def : GCNPat <
|
||||
(i64 (AMDGPUsetcc vt:$src0, vt:$src1, cond)),
|
||||
@ -807,7 +807,7 @@ defm : ICMP_Pattern <COND_SGE, V_CMP_GE_I16_e64, i16>;
|
||||
defm : ICMP_Pattern <COND_SLT, V_CMP_LT_I16_e64, i16>;
|
||||
defm : ICMP_Pattern <COND_SLE, V_CMP_LE_I16_e64, i16>;
|
||||
|
||||
multiclass FCMP_Pattern <PatLeaf cond, Instruction inst, ValueType vt> {
|
||||
multiclass FCMP_Pattern <PatFrags cond, Instruction inst, ValueType vt> {
|
||||
let WaveSizePredicate = isWave64 in
|
||||
def : GCNPat <
|
||||
(i64 (AMDGPUsetcc (vt (VOP3Mods vt:$src0, i32:$src0_modifiers)),
|
||||
|
Loading…
x
Reference in New Issue
Block a user