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

            Bug ID: 17155
           Summary: Not supported instruction in Linux PPC Assembly
                    Printer
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: PowerPC
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 11163
  --> http://llvm.org/bugs/attachment.cgi?id=11163&action=edit
IR file demonstrating the problem.

Compiling the attached bug.ll file with

llc -O0 -mcpu=pwr7 -filetype=obj bug.ll

results in the following error:

LLVM ERROR: Not supported instr: <MCInst 10 <MCOperand Reg:20> <MCOperand
Reg:20
> <MCOperand Imm:12>>
Stack dump:
0.      Program arguments: llc -O0 -mcpu=pwr7 -filetype=obj bug.ll
1.      Running pass 'Function Pass Manager' on module 'bug.ll'.
2.      Running pass 'Linux PPC Assembly Printer' on function
'@_D3std7variant18
__unittestL1633_37FNeZv10__lambda30MFNbNffZm'

(The file is a reduced test case produced by LDC on module std.variant.)

-- 
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