Skip to content

Commit 00ad623

Browse files
committed
Remove other isDFPImm check
1 parent 0c03f09 commit 00ad623

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUInstPrinter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -874,7 +874,7 @@ void AMDGPUInstPrinter::printOperandAndFPInputMods(const MCInst *MI,
874874
if (OpNo + 1 < MI->getNumOperands() &&
875875
(InputModifiers & SISrcMods::ABS) == 0) {
876876
const MCOperand &Op = MI->getOperand(OpNo + 1);
877-
NegMnemo = Op.isImm() || Op.isDFPImm();
877+
NegMnemo = Op.isImm();
878878
}
879879
if (NegMnemo) {
880880
O << "neg(";

0 commit comments

Comments
 (0)