[LLVMbugs] [Bug 10902] New: [VECTOR-SELECT] multiple assertions fails when enabling promote-element

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Sep 10 04:26:53 PDT 2011


           Summary: [VECTOR-SELECT] multiple assertions fails when
                    enabling promote-element
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Core LLVM classes
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nadav.rotem at intel.com
                CC: llvmbugs at cs.uiuc.edu

This is not a bug per se, more like a ticket that we need to resolve before
enabling the promotion of vector elements by default.

1. CodeGen/ARM/2010-12-07-PEIBug.ll

llvm::SDValue llvm::SelectionDAG::getNode(unsigned int, llvm::DebugLoc, ll   
vm::EVT, llvm::SDValue): Assertion
`Operand.getValueType().getScalarType().bitsGT(VT.getScalarType()) && "Invalid
truncate node, src < dst!"' failed.

2. CodeGen/ARM/vrev.ll

llvm::SDValue<unnamed>::SelectionDAGLegalize::LegalizeOp(llvm::SDValue): As   
sertion `(TLI.getTypeAction(*DAG.getContext(),
Node->getOperand(i).getValueType()) == TargetLowering::TypeLegal ||
Node->getOperand(i).getOpcode() == ISD::TargetConstant) &&     "Unexpected
illegal type!"' failed.

3. CodeGen/CellSPU/shift_ops.ll

 LLVM ERROR: Cannot select: 0x1f5ea80: v2i64 = shl 0x1f40880, 0x1f5e880 [ID=9]

4. CodeGen/CellSPU/v2i32.ll

PromoteIntegerResult #0: 0x1f50650: v2i32 = concat_vectors 0x1f28d80, 0x1f50950
[ORD=5] [ID=0]

Do not know how to promote this operator!
UNREACHABLE executed at ../CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp:50!

5. CodeGen/Generic/bool-vector.ll

/CodeGen/SelectionDAG/SelectionDAG.cpp:4157: llvm::SDValue
llvm::SelectionDAG::getLoad(llvm::ISD::MemIndexedMode, llvm   
::ISD::LoadExtType, llvm::EVT, llvm::DebugLoc, llvm::SDValue, llvm::SDValue,
llvm::SDValue, llvm::EVT, llvm::MachineMemOperand*): Assertion `VT.isVector()
== MemVT.isVector(    ) && "Cannot use trunc store to convert to or from a
vector!"' failed.

6. /CodeGen/X86/2009-07-07-SplitICmp.ll

/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp:489: llvm::SDValue
llvm::DAGTypeLegalizer::PromoteIntRes_SETCC(llvm::SD    Node*): Assertion
`NVT.bitsLE(SVT) && "Integer type overpromoted?"' failed.

7. /CodeGen/X86/widen_shuffle-1.ll

 PromoteIntegerResult #0: 0x1f551b0: v8i8 = concat_vectors 0x1f552b0, 0x1f553b0
[ORD=19] [ID=0]

Do not know how to promote this operator!
UNREACHABLE executed at

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