<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Regression afer commit 179786 (InstCombiner::visitExtractElementInst() enhancement)"
   href="http://llvm.org/bugs/show_bug.cgi?id=15818">15818</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Regression afer commit 179786 (InstCombiner::visitExtractElementInst() enhancement)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>babokin@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=10404" name="attach_10404" title="Reproducer">attachment 10404</a> <a href="attachment.cgi?id=10404&action=edit" title="Reproducer">[details]</a></span>
Reproducer

<span class="quote">> llvm-as instcombine_bug.ll
> opt -instcombine instcombine_bug.bc -disable-output</span >
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)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>