http://llvm.org/bugs/show_bug.cgi?id=12568

             Bug #: 12568
           Summary: Assertion failed: (!Is64BitMemOperand(MI, MemOperand))
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: LLVM assembly language parser
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


This code:

$ cat testcase-min.s
_foo:
        cmpl $(_foo), 24(%rsp)
        .code32

Results in this assert:

$ clang -cc1as -triple x86_64-apple-macosx10.8.0 -filetype obj -o /dev/null
testcase-min.s
Assertion failed: (!Is64BitMemOperand(MI, MemOperand)), function
EmitOpcodePrefix, file
/Volumes/Sandbox/llvm/llvm-clean.src/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp,
line 863.
0  clang             0x000000010e680072 PrintStackTrace(void*) + 34
1  clang             0x000000010e680589 SignalHandler(int) + 697
...

This is new and related to r153166.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to