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

            Bug ID: 15818
           Summary: Regression afer commit 179786
                    (InstCombiner::visitExtractElementInst() enhancement)
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 10404
  --> http://llvm.org/bugs/attachment.cgi?id=10404&action=edit
Reproducer

> llvm-as instcombine_bug.ll
> opt -instcombine instcombine_bug.bc -disable-output
Instruction does not dominate all uses!
  %sub_b_load28_to_int32_ = add i32 %b_load28_to_int32, -2
  %0 = extractelement <8 x float> %floatval.i.i, i32 %sub_b_load28_to_int32_
Broken module found, compilation aborted!
0  opt             0x00000000012219c2 llvm::sys::PrintStackTrace(_IO_FILE*) +
34
1  opt             0x0000000001221619
2  libpthread.so.0 0x00000037eb40efe0
3  libc.so.6       0x00000037eac35935 gsignal + 53
4  libc.so.6       0x00000037eac370e8 abort + 328
5  opt             0x00000000011d5e96
6  opt             0x00000000011deab2
7  opt             0x00000000011bcc7f
llvm::FPPassManager::runOnFunction(llvm::Function&) + 655
8  opt             0x00000000011bcccb
llvm::FPPassManager::runOnModule(llvm::Module&) + 43
9  opt             0x00000000011bc777
llvm::MPPassManager::runOnModule(llvm::Module&) + 663
10 opt             0x00000000011bc937 llvm::PassManagerImpl::run(llvm::Module&)
+ 231
11 opt             0x00000000005762b4 main + 3716
12 libc.so.6       0x00000037eac21735 __libc_start_main + 245
13 opt             0x0000000000586ca5
Stack dump:
0.      Program arguments: opt -instcombine instcombine_bug.bc -disable-output
1.      Running pass 'Function Pass Manager' on module 'instcombine_bug.bc'.
2.      Running pass 'Module Verifier' on function
'@f_fu___un_3C_unf_3E_un_3C_unf_3E_unf'
Aborted (core dumped)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to