diff options
Diffstat (limited to 'llvm/lib/Target/R600/AMDGPUInstructions.td')
-rw-r--r-- | llvm/lib/Target/R600/AMDGPUInstructions.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/R600/AMDGPUInstructions.td b/llvm/lib/Target/R600/AMDGPUInstructions.td index caec48171f5..eeb7f3fcde5 100644 --- a/llvm/lib/Target/R600/AMDGPUInstructions.td +++ b/llvm/lib/Target/R600/AMDGPUInstructions.td @@ -583,7 +583,7 @@ def IMMZeroBasedBitfieldMask : PatLeaf <(imm), [{ }]>; def IMMPopCount : SDNodeXForm<imm, [{ - return CurDAG->getTargetConstant(countPopulation(N->getZExtValue()), SDLoc(N), + return CurDAG->getTargetConstant(countPopulation(N->getZExtValue()), MVT::i32); }]>; |