[llvm] r335769 - [X86] Fix unmatched parenthesis in r335768
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 27 12:21:06 PDT 2018
Thanks!
~Craig
On Wed, Jun 27, 2018 at 12:16 PM Fangrui Song via llvm-commits <
llvm-commits at lists.llvm.org> wrote:
> Author: maskray
> Date: Wed Jun 27 12:12:07 2018
> New Revision: 335769
>
> URL: http://llvm.org/viewvc/llvm-project?rev=335769&view=rev
> Log:
> [X86] Fix unmatched parenthesis in r335768
>
> Modified:
> llvm/trunk/lib/Target/X86/Disassembler/X86Disassembler.cpp
>
> Modified: llvm/trunk/lib/Target/X86/Disassembler/X86Disassembler.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/Disassembler/X86Disassembler.cpp?rev=335769&r1=335768&r2=335769&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/Target/X86/Disassembler/X86Disassembler.cpp (original)
> +++ llvm/trunk/lib/Target/X86/Disassembler/X86Disassembler.cpp Wed Jun 27
> 12:12:07 2018
> @@ -786,7 +786,7 @@ static bool translateRMMemory(MCInst &mc
> // -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 :
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180627/2f0d4f18/attachment.html>
More information about the llvm-commits
mailing list