[X86] Hopefully fix a tautological compare warning in printVecCompareInstr.

llvm-svn: 356359
This commit is contained in:
Craig Topper 2019-03-18 07:05:01 +00:00
parent 60444ad16f
commit ba898da132
2 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ bool X86ATTInstPrinter::printVecCompareInstr(const MCInst *MI,
!MI->getOperand(MI->getNumOperands() - 1).isImm())
return false;
unsigned Imm = MI->getOperand(MI->getNumOperands() - 1).getImm();
int64_t Imm = MI->getOperand(MI->getNumOperands() - 1).getImm();
const MCInstrDesc &Desc = MII.get(MI->getOpcode());

View File

@ -62,7 +62,7 @@ bool X86IntelInstPrinter::printVecCompareInstr(const MCInst *MI, raw_ostream &OS
!MI->getOperand(MI->getNumOperands() - 1).isImm())
return false;
unsigned Imm = MI->getOperand(MI->getNumOperands() - 1).getImm();
int64_t Imm = MI->getOperand(MI->getNumOperands() - 1).getImm();
const MCInstrDesc &Desc = MII.get(MI->getOpcode());