[LLVMbugs] [Bug 10497] New: SplitVecRes_BITCAST(llvm::SDNode*, llvm::SDValue&, llvm::SDValue&): Assertion `false && "Unknown type action!"' failed.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jul 26 04:04:20 PDT 2011


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

           Summary: SplitVecRes_BITCAST(llvm::SDNode*, llvm::SDValue&,
                    llvm::SDValue&): Assertion `false && "Unknown type
                    action!"' 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: LegalizeVectorTypes.cpp:528: void
llvm::DAGTypeLegalizer::SplitVecRes_BITCAST(llvm::SDNode*, llvm::SDValue&,
llvm::SDValue&): Assertion `false && "Unknown type action!"' failed.
0  llc             0x000000000153ffea
1  llc             0x0000000001540578
2  libpthread.so.0 0x00002aaaaabd4d60
3  libc.so.6       0x00002aaaab274f45 gsignal + 53
4  libc.so.6       0x00002aaaab276340 abort + 272
5  libc.so.6       0x00002aaaab26e486 __assert_fail + 246
6  llc             0x000000000106d920
7  llc             0x000000000106e018
8  llc             0x0000000001055fb3
9  llc             0x000000000105692e llvm::SelectionDAG::LegalizeTypes() + 50
10 llc             0x0000000000ff6bc5
llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 1025
11 llc             0x0000000000ff8ea2
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 230
12 llc             0x0000000000ff9804
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 2400
13 llc             0x0000000000ff9d83
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 849
14 llc             0x00000000011449ad
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 85
15 llc             0x000000000147a2bb
llvm::FPPassManager::runOnFunction(llvm::Function&) + 371
16 llc             0x000000000147a4b3
llvm::FPPassManager::runOnModule(llvm::Module&) + 81
17 llc             0x0000000001479f67
llvm::MPPassManager::runOnModule(llvm::Module&) + 381
18 llc             0x000000000147b71c llvm::PassManagerImpl::run(llvm::Module&)
+ 116
19 llc             0x000000000147b77f llvm::PassManager::run(llvm::Module&) +
33
20 llc             0x0000000000ab642d main + 2403
21 libc.so.6       0x00002aaaab262304 __libc_start_main + 244
22 llc             0x0000000000ab4b79
Stack dump:
0.    Program arguments: ../llc temp.ll -march=x86-64 -mattr=-sse2,-sse41 -o
/dev/null 
1.    Running pass 'Function Pass Manager' on module 'temp.ll'.
2.    Running pass 'X86 DAG->DAG Instruction Selection' on function
'@autogen_7481_500'
; ModuleID = 'bugpoint-reduced-simplified.bc'
target triple = "x86_64-unknown-linux-gnu"

define void @autogen_7481_500(i8*, i32*, i64*, i32, i8, i64) {
BB:
  %A4 = alloca <2 x i8>
  %A3 = alloca <2 x i8>
  %A2 = alloca <2 x i64>
  %A1 = alloca <2 x double>
  %A = alloca <2 x float>
  %L = load <2 x float>* %A
  store i8 -21, i8* %0
  %E = extractelement <2 x float> %L, i32 1
  %E5 = extractelement <2 x float> %L, i32 1
  %Shuff = shufflevector <2 x float> %L, <2 x float> %L, <2 x i32> <i32 0, i32
2>
  %Shuff6 = shufflevector <2 x float> %L, <2 x float> %L, <2 x i32> <i32 2, i32
0>
  %Shuff7 = shufflevector <2 x float> %L, <2 x float> %L, <2 x i32> <i32 0, i32
2>
  %I = insertelement <2 x float> %L, float 0x3ED3791500000000, i32 0
  %B = xor i32 88291, %3
  %PC = bitcast i64* %2 to double*
  %S = fcmp uge float 0x3EE822F4A0000000, %E
  br label %CF38

CF38:                                             ; preds = %BB
  %L8 = load double* %PC
  store double 0x3EC023576544245A, double* %PC
  %E9 = extractelement <2 x float> %L, i32 1
  %E10 = extractelement <2 x float> %L, i32 1
  %Shuff11 = shufflevector <2 x float> %L, <2 x float> %L, <2 x i32> <i32 0,
i32 2>
  %Shuff12 = shufflevector <2 x float> %I, <2 x float> %L, <2 x i32> <i32 2,
i32 0>
  %Shuff13 = shufflevector <2 x float> %L, <2 x float> %L, <2 x i32> <i32 0,
i32 2>
  %I14 = insertelement <2 x float> %L, float 0x3ECF95EC40000000, i32 0
  %B15 = mul i32 %B, %3
  %BC = bitcast <2 x float> %I14 to <2 x i32>
  %S16 = select i1 %S, <2 x i8>* %A4, <2 x i8>* %A3
  %S17 = icmp ugt i32 382619, 417923
  br label %CF

CF:                                               ; preds = %CF, %CF38
  %L18 = load double* %PC
  store double %L8, double* %PC
  %E19 = extractelement <2 x float> %L, i32 0
  %E20 = extractelement <2 x float> %L, i32 0
  %Shuff21 = shufflevector <2 x float> %Shuff13, <2 x float> %L, <2 x i32> <i32
3, i32 1>
  %Shuff22 = shufflevector <2 x float> %Shuff11, <2 x float> %L, <2 x i32> <i32
1, i32 3>
  %Shuff23 = shufflevector <2 x float> %L, <2 x float> %L, <2 x i32> <i32 3,
i32 1>
  %I24 = insertelement <2 x float> %L, float 0x3EC3F52D00000000, i32 1
  %B25 = urem i64 227191, 98955
  %S26 = select i1 %S17, double 0x3EC1189738F421D8, double 0x3EC1189738F421D8
  %S27 = fcmp ogt float 0x3EC3F52D00000000, %E
  br i1 %S27, label %CF, label %CF39

CF39:                                             ; preds = %CF39, %CF
  %L28 = load i8* %0
  store double %S26, double* %PC
  %E29 = extractelement <2 x float> %L, i32 0
  %E30 = extractelement <2 x float> %L, i32 0
  %Shuff31 = shufflevector <2 x float> %L, <2 x float> %Shuff23, <2 x i32> <i32
1, i32 3>
  %Shuff32 = shufflevector <2 x float> %L, <2 x float> %Shuff22, <2 x i32> <i32
3, i32 1>
  %Shuff33 = shufflevector <2 x float> %L, <2 x float> %L, <2 x i32> <i32 1,
i32 3>
  %I34 = insertelement <2 x float> %L, float %E19, i32 1
  %B35 = or <2 x i32> %BC, %BC
  %BC36 = bitcast i64 -1 to double
  %S37 = icmp sgt i8 %4, -109
  br i1 %S37, label %CF39, label %CF40

CF40:                                             ; preds = %CF39
  store double %L18, double* %PC
  store <2 x float> %L, <2 x float>* %A
  store double 0x3EDF0A2AF8AB8D52, double* %PC
  store <2 x i8> undef, <2 x i8>* %A4
  store i8 %4, 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