[LLVMbugs] [Bug 10674] New: llvm::DAGTypeLegalizer::SetScalarizedVector(llvm::SDValue, llvm::SDValue): Assertion `Result.getValueType() == Op.getValueType().getVectorElementType() && "Invalid type for scalarized vector"' failed.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Aug 16 07:23:41 PDT 2011


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

           Summary: llvm::DAGTypeLegalizer::SetScalarizedVector(llvm::SDVa
                    lue, llvm::SDValue): Assertion `Result.getValueType()
                    == Op.getValueType().getVectorElementType() &&
                    "Invalid type for scalarized vector"' failed.
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nadav.rotem at intel.com
                CC: llvmbugs at cs.uiuc.edu


llc:
/nfs/iil/disks/cvcc/nrotem/llvm/llvm-head/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp:756:
void llvm::DAGTypeLegalizer::SetScalarizedVector(llvm::SDValue, llvm::SDValue):
Assertion `Result.getValueType() == Op.getValueType().getVectorElementType() &&
"Invalid type for scalarized vector"' failed.
0  llc             0x00000000015e002a
1  llc             0x00000000015e05b8
2  libpthread.so.0 0x00002aaaaabd4d60
3  libc.so.6       0x00002aaaab275f45 gsignal + 53
4  libc.so.6       0x00002aaaab277340 abort + 272
5  libc.so.6       0x00002aaaab26f486 __assert_fail + 246
6  llc             0x00000000010e94c1
7  llc             0x0000000001103482
8  llc             0x00000000010ea93f
9  llc             0x00000000010eb2d6 llvm::SelectionDAG::LegalizeTypes() + 50
10 llc             0x000000000108b565
llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 1025
11 llc             0x000000000108d842
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 230
12 llc             0x000000000108e1a4
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 2400
13 llc             0x000000000108e723
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 849
14 llc             0x00000000011d8cf1
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 85
15 llc             0x0000000001518db7
llvm::FPPassManager::runOnFunction(llvm::Function&) + 371
16 llc             0x0000000001518fb4
llvm::FPPassManager::runOnModule(llvm::Module&) + 86
17 llc             0x0000000001518a63
llvm::MPPassManager::runOnModule(llvm::Module&) + 381
18 llc             0x000000000151a230 llvm::PassManagerImpl::run(llvm::Module&)
+ 116
19 llc             0x000000000151a293 llvm::PassManager::run(llvm::Module&) +
33
20 llc             0x0000000000b3737d main + 2403
21 libc.so.6       0x00002aaaab263304 __libc_start_main + 244
22 llc             0x0000000000b35ac9
Stack dump:
0.    Program arguments:
/nfs/iil/disks/cvcc/nrotem/llvm/llvm-head/build/Debug+Asserts/bin//llc temp.ll
-march=x86-64 -mattr=+avx -o /dev/null 
1.    Running pass 'Function Pass Manager' on module 'temp.ll'.
2.    Running pass 'X86 DAG->DAG Instruction Selection' on function
'@autogen_13617_5000'
; ModuleID = 'bugpoint-reduced-simplified.bc'
target triple = "x86_64-unknown-linux-gnu"

define void @autogen_13617_5000(i8*) {
BB:
  %S240 = icmp ule <8 x i8> undef, undef
  %E330 = extractelement <8 x i1> %S240, i32 4
  %S369 = select i1 %E330, i8 undef, i8 -65
  store i8 %S369, i8* %0
  ret void
}

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