mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 20:12:56 +02:00
AMDGPU: Use ImmLeaf
This solves one GlobalISel importer error, but the pattern still fails for another reason.
This commit is contained in:
parent
e299148752
commit
d483a5285e
@ -775,8 +775,8 @@ def NegSubInlineConst16 : ImmLeaf<i16, [{
|
||||
return Imm < -16 && Imm >= -64;
|
||||
}], NegateImm>;
|
||||
|
||||
def ShiftAmt32Imm : PatLeaf <(imm), [{
|
||||
return N->getZExtValue() < 32;
|
||||
def ShiftAmt32Imm : ImmLeaf <i32, [{
|
||||
return Imm < 32;
|
||||
}]>;
|
||||
|
||||
def getNegV2I16Imm : SDNodeXForm<build_vector, [{
|
||||
|
Loading…
Reference in New Issue
Block a user