Skip to content

Commit

Permalink
AMDGPU: Use ImmLeaf
Browse files Browse the repository at this point in the history
  • Loading branch information
arsenm committed Jan 7, 2020
1 parent 68e70fb commit bd8d696
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
Expand Up @@ -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, [{
Expand Down

0 comments on commit bd8d696

Please sign in to comment.