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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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
r...@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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to