[LLVMbugs] [Bug 4226] New: ARM does not lower all vshifts

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon May 18 06:20:22 PDT 2009


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

           Summary: ARM does not lower all vshifts
           Product: libraries
           Version: 2.5
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: ARM
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: xerxes at zafena.se
                CC: llvmbugs at cs.uiuc.edu


When running the included testcase in llvm test/CodeGen/X86/vshift_split.ll
using the arm backend:

llvm-as < test/CodeGen/X86/vshift_split.ll | llc -march=arm            
llc:
/usr/src/openembedded/overo/tmp/work/armv7a-angstrom-linux-gnueabi/llvm2.6-2.5+svnr20090511-r0/trunk/lib/Target/ARM/ARMISelLowering.cpp:1565:
llvm::SDValue ExpandSRx(llvm::SDNode*, llvm::SelectionDAG&, const
llvm::ARMSubtarget*): Assertion `N->getValueType(0) == MVT::i64 &&
(N->getOpcode() == ISD::SRL || N->getOpcode() == ISD::SRA) && "Unknown shift to
lower!"' failed.
Stack dump:
0.      Program arguments: llc -march=arm 
1.      Running pass 'ARM Instruction Selection' on function '@update'
Aborted
root at overo:~/llvm-test/fail# 

I have tested this on both 2.5 and svn trunk


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