[LLVMbugs] [Bug 11030] New: llc internal error for ARM target when -mcpucortex-a9 is used

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Sep 28 04:50:52 PDT 2011


           Summary: llc internal error for ARM target when -mcpucortex-a9
                    is used
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: babslachem at gmail.com
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=7369)
 --> (http://llvm.org/bugs/attachment.cgi?id=7369)
ll file to reproduce problem

When using llc 'trunk' version on attached code I've got:


llc -march=arm -mcpu=cortex-a9 vload.ll

I've got following execution trace:

llvm::SDValue llvm::SelectionDAG::getNode(unsigned int, llvm::DebugLoc,
llvm::EVT, llvm::SDValue, llvm::SDValue): Assertion `N1.getValueType() ==
N2.getValueType() && N1.getValueType() == VT && "Binary operator types must
match!"' failed.
0  libLLVM-3.0svn.so 0x019cef48
Stack dump:
0.      Program arguments: /work1/tools/llvm/dev/install/bin/llc -march=arm
-mcpu=cortex-a9 vload.ll
1.      Running pass 'Function Pass Manager' on module 'vload.ll'.
2.      Running pass 'ARM Instruction Selection' on function '@sample_test'

Now if I remove -mcpu=cortex-a9 from comman line it works.

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.

More information about the llvm-bugs mailing list