forked from OSchip/llvm-project
[X86] Hopefully fix a tautological compare warning in printVecCompareInstr.
llvm-svn: 356359
This commit is contained in:
parent
60444ad16f
commit
ba898da132
|
@ -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());
|
||||
|
||||
|
|
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in New Issue