[LLVMbugs] [Bug 10897] New: Seg fault during NEON compilation with short3/4 division

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 8 15:02:16 PDT 2011


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

           Summary: Seg fault during NEON compilation with short3/4
                    division
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: ARM
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: srhines at google.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=7246)
 --> (http://llvm.org/bugs/attachment.cgi?id=7246)
Failing bitcode file

Running llc targeting ARMv7 with NEON on the attached bitcode file results in
seg fault (and assertion failure if those are enabled). Note that this is a
reduced test case. I could not get the bug to manifest when I stopped doing
divides of both short3 and short4 types.

llc:
/srhines-dt/srhines/tot_llvm/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h:190:
llvm::SDValue llvm::DAGTypeLegalizer::GetPromotedInteger(llvm::SDValue):
Assertion `PromotedOp.getNode() && "Operand wasn't promoted?"' failed.
0  llc 0x08a84e58
Stack dump:
0.    Program arguments: /srhines-dt/srhines/tot_llvm/llvm-bin/bin/llc
tmp_srhines/fail.bc 
1.    Running pass 'Function Pass Manager' on module 'tmp_srhines/fail.bc'.
2.    Running pass 'ARM Instruction Selection' on function '@math_test'
Aborted

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