[X86] Fix unmatched parenthesis in r335768

llvm-svn: 335769
This commit is contained in:
Fangrui Song 2018-06-27 19:12:07 +00:00
parent 6bea2c7f9b
commit b0d57a535b
1 changed files with 1 additions and 1 deletions

View File

@ -786,7 +786,7 @@ static bool translateRMMemory(MCInst &mcInst, InternalInstruction &insn,
// -A scale other than 1 is used.
if (insn.sibScale != 1 ||
(insn.sibBase == SIB_BASE_NONE && insn.mode != MODE_64BIT) ||
((insn.sibBase != SIB_BASE_NONE &&
(insn.sibBase != SIB_BASE_NONE &&
insn.sibBase != SIB_BASE_ESP && insn.sibBase != SIB_BASE_RSP &&
insn.sibBase != SIB_BASE_R12D && insn.sibBase != SIB_BASE_R12)) {
indexReg = MCOperand::createReg(insn.addressSize == 4 ? X86::EIZ :