AMDGPU: Use ImmLeaf

This commit is contained in:
Matt Arsenault 2020-01-07 12:32:08 -05:00 committed by Matt Arsenault
parent 68e70fb098
commit bd8d696c14
1 changed files with 2 additions and 2 deletions

View File

@ -776,8 +776,8 @@ multiclass SHA256MaPattern <Instruction BFI_INT, Instruction XOR, RegisterClass
// Bitfield extract patterns
def IMMZeroBasedBitfieldMask : PatLeaf <(imm), [{
return isMask_32(N->getZExtValue());
def IMMZeroBasedBitfieldMask : ImmLeaf <i32, [{
return isMask_32(Imm);
}]>;
def IMMPopCount : SDNodeXForm<imm, [{