[llvm-bugs] [Bug 33862] New: Assertion `!IndexReg && "IndexReg already set!"' failed. in MC

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 20 09:24:40 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=33862

            Bug ID: 33862
           Summary: Assertion `!IndexReg && "IndexReg already set!"'
                    failed. in MC
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: MC
          Assignee: andrew.v.tischenko at gmail.com
          Reporter: davide at freebsd.org
                CC: llvm-bugs at lists.llvm.org, llvm-dev at redking.me.uk,
                    simon.f.whittaker at gmail.com

$ ./llvm-mc -triple x86_64-unknown-unknown -x86-asm-syntax=intel patatino.s

llvm-mc: ../lib/Target/X86/AsmParser/X86AsmParser.cpp:535: void
{anonymous}::X86AsmParser::IntelExprStateMachine::onRegister(unsigned int):
Assertion `!IndexReg && "IndexReg already set!"' failed.


$ cat patatino.s
  lea RDX, [4 * RAX + 27 * RBX + _pat]


Assigning this to Andrew as he's looking into this area already.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170720/b4a0fda5/attachment.html>


More information about the llvm-bugs mailing list