[LLVMbugs] [Bug 5563] New: LLVM::Transforms/InstCombine/shufflemask-undef. ll fails with checking enabled

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Nov 19 08:31:07 PST 2009


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

           Summary: LLVM::Transforms/InstCombine/shufflemask-undef.ll fails
                    with checking enabled
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu


On an expensive checks build that testcase fails:

/usr/include/c++/4.3/debug/vector:237:error: attempt to subscript container 
    with out-of-bounds index 4, but container only holds 4 elements.        

Objects involved in the operation:
sequence "this" @ 0x0x7fffbb259c30 {
  type = NSt7__debug6vectorIjSaIjEEE;
}                                    
0  opt             0x0000000000adea2f
1  opt             0x0000000000ae0a4b
2  libpthread.so.0 0x0000003e0a40e9a0
3  libc.so.6       0x0000003e09831f25 gsignal + 53
4  libc.so.6       0x0000003e09834d60 abort + 384
5  libstdc++.so.6  0x0000003e0c8653cd __gnu_debug::_Error_formatter::_M_error()
const + 349
6  opt             0x00000000006befdc std::__debug::vector<unsigned int,
std::allocator<unsigned int> >::operator[](unsigned long) + 860
7  opt             0x00000000006a4d9d
8  opt             0x00000000006baaa5
9  opt             0x00000000006bb671
10 opt             0x00000000006bc0ce
11 opt             0x0000000000a30823
llvm::FPPassManager::runOnFunction(llvm::Function&) + 451
12 opt             0x0000000000a3092b
llvm::FPPassManager::runOnModule(llvm::Module&) + 75
13 opt             0x0000000000a30130
llvm::MPPassManager::runOnModule(llvm::Module&) + 1184
14 opt             0x0000000000a30576 llvm::PassManagerImpl::run(llvm::Module&)
+ 134
15 opt             0x0000000000596143 main + 7731
16 libc.so.6       0x0000003e0981ea8d __libc_start_main + 253
17 opt             0x000000000057b5d9
Stack dump:
0.      Running pass 'Function Pass Manager' on module '<stdin>'.
1.      Running pass 'Combine redundant instructions' on function '@foo'
/home/edwin/clam/git/clamtools/bytecode/obj/test/Transforms/InstCombine/Output/shufflemask-undef.ll.script:
line 3: 30812 Aborted                 'opt' '-instcombine' '-S' <
'/home/edwin/clam/git/clamtools/bytecode/llvm/test/Transforms/InstCombine/shufflemask-undef.ll'
     30816 Done                    | 'not' 'grep' 'shufflevector.*i32 8'
--


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