<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </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 - Instruction does not dominate all uses on x86-64 while compiling 511.povray_r from SPEC CPU 2017"
   href="https://bugs.llvm.org/show_bug.cgi?id=33613">33613</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Instruction does not dominate all uses on x86-64 while compiling 511.povray_r from SPEC CPU 2017
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>enhancement
          </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>regehr@cs.utah.edu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>regehr@john-home:~/reduce$ clang++ -v
clang version 5.0.0 (trunk 306414)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/regehr/llvm-install/bin
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/5
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/5.4.0
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/6
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/6.0.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.8.5
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/4.9.3
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.4.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/6.0.0
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/5.4.0
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Candidate multilib: x32;@mx32
Selected multilib: .;@m64
Found CUDA installation: /usr/local/cuda, version 8.0
regehr@john-home:~/reduce$ cat small.cpp
typedef struct { double a[15]; } b;
b *c;
int d, e;
void g() {
  b h;
  int a;
  double f, i;
  for (; c <= &h; c++) {
    f = c->a[d];
    if (i * f)
      a++;
    i = f;
  }
  e = a;
}
regehr@john-home:~/reduce$ clang++ -c -O -march=native small.cpp
Instruction does not dominate all uses!
  %74 = insertelement <4 x double> %73, double %42, i32 3
  %59 = shufflevector <4 x double> %vector.recur, <4 x double> %74, <4 x i32>
<i32 3, i32 4, i32 5, i32 6>
Instruction does not dominate all uses!
  %74 = insertelement <4 x double> %73, double %42, i32 3
  %60 = shufflevector <4 x double> %74, <4 x double> %70, <4 x i32> <i32 3, i32
4, i32 5, i32 6>
Instruction does not dominate all uses!
  %70 = insertelement <4 x double> %69, double %46, i32 3
  %60 = shufflevector <4 x double> %74, <4 x double> %70, <4 x i32> <i32 3, i32
4, i32 5, i32 6>
Instruction does not dominate all uses!
  %70 = insertelement <4 x double> %69, double %46, i32 3
  %61 = shufflevector <4 x double> %70, <4 x double> %66, <4 x i32> <i32 3, i32
4, i32 5, i32 6>
Instruction does not dominate all uses!
  %66 = insertelement <4 x double> %65, double %50, i32 3
  %61 = shufflevector <4 x double> %70, <4 x double> %66, <4 x i32> <i32 3, i32
4, i32 5, i32 6>
Instruction does not dominate all uses!
  %66 = insertelement <4 x double> %65, double %50, i32 3
  %62 = shufflevector <4 x double> %66, <4 x double> %58, <4 x i32> <i32 3, i32
4, i32 5, i32 6>
fatal error: error in backend: Broken function found, compilation aborted!
clang-5.0: error: clang frontend command failed with exit code 70 (use -v to
see invocation)
clang version 5.0.0 (trunk 306414)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/regehr/llvm-install/bin
clang-5.0: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang-5.0: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-5.0: note: diagnostic msg: /tmp/small-fc3c0d.cpp
clang-5.0: note: diagnostic msg: /tmp/small-fc3c0d.sh
clang-5.0: note: diagnostic msg: 

********************
regehr@john-home:~/reduce$</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>