[LLVMbugs] [Bug 10466] New: Assertion `(EltVT.getSizeInBits() >= 64 || (uint64_t)((int64_t)Val >> EltVT.getSizeInBits()) + 1 < 2) && "getConstant with a uint64_t value that doesn't fit in the type!"' failed.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jul 24 12:27:29 PDT 2011


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

           Summary: Assertion `(EltVT.getSizeInBits() >= 64 ||
                    (uint64_t)((int64_t)Val >> EltVT.getSizeInBits()) + 1
                    < 2) && "getConstant with a uint64_t value that
                    doesn't fit in the type!"' 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: SelectionDAG.cpp:916: llvm::SDValue
llvm::SelectionDAG::getConstant(uint64_t, llvm::EVT, bool): Assertion
`(EltVT.getSizeInBits() >= 64 || (uint64_t)((int64_t)Val >>
EltVT.getSizeInBits()) + 1 < 2) && "getConstant with a uint64_t value that
doesn't fit in the type!"' failed.
0  llc             0x000000000153ff42
1  llc             0x00000000015404d0
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             0x0000000000f90c50 llvm::SelectionDAG::getConstant(unsigned
long, llvm::EVT, bool) + 258
7  llc             0x0000000000e7b505
8  llc             0x0000000000eb168e
llvm::X86TargetLowering::LowerVECTOR_SHUFFLE(llvm::SDValue,
llvm::SelectionDAG&) const + 6924
9  llc             0x0000000000eb5867
llvm::X86TargetLowering::LowerOperation(llvm::SDValue, llvm::SelectionDAG&)
const + 421
10 llc             0x000000000103a8f2 (anonymous
namespace)::SelectionDAGLegalize::LegalizeOp(llvm::SDValue) + 4088
11 llc             0x000000000104f987 (anonymous
namespace)::SelectionDAGLegalize::LegalizeDAG() + 179
12 llc             0x000000000104faa5 llvm::SelectionDAG::Legalize() + 49
13 llc             0x0000000000ff709c
llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 2424
14 llc             0x0000000000ff8e02
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 230
15 llc             0x0000000000ff9764
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 2400
16 llc             0x0000000000ff9ce3
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 849
17 llc             0x000000000114490d
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 85
18 llc             0x000000000147a237
llvm::FPPassManager::runOnFunction(llvm::Function&) + 371
19 llc             0x000000000147a42f
llvm::FPPassManager::runOnModule(llvm::Module&) + 81
20 llc             0x0000000001479ee3
llvm::MPPassManager::runOnModule(llvm::Module&) + 381
21 llc             0x000000000147b698 llvm::PassManagerImpl::run(llvm::Module&)
+ 116
22 llc             0x000000000147b6fb llvm::PassManager::run(llvm::Module&) +
33
23 llc             0x0000000000ab6424 main + 2410
24 libc.so.6       0x00002aaaab262304 __libc_start_main + 244
25 llc             0x0000000000ab4b69
Stack dump:
0.    Program arguments: llc fail_5376.ll 
1.    Running pass 'Function Pass Manager' on module 'fail_5376.ll'.
2.    Running pass 'X86 DAG->DAG Instruction Selection' on function
'@autogen_5376_1000'
; ModuleID = 'bugpoint-reduced-simplified.bc'
target triple = "x86_64-unknown-linux-gnu"

define void @autogen_5376_1000() {
BB:
  %I = insertelement <8 x float> undef, float 0x3EC312C960000000, i32 7
  %Shuff14 = shufflevector <8 x float> %I, <8 x float> undef, <8 x i32> <i32
undef, i32 8, i32 10, i32 12, i32 14, i32 undef, i32 2, i32 4>
  br label %CF

CF:                                               ; preds = %CF, %BB
  br i1 undef, label %CF, label %CF79

CF79:                                             ; preds = %CF79, %CF
  %Shuff30 = shufflevector <8 x float> %Shuff14, <8 x float> %Shuff14, <8 x
i32> <i32 4, i32 undef, i32 8, i32 10, i32 12, i32 undef, i32 0, i32 2>
  br label %CF79
}

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