[llvm-bugs] [Bug 33613] New: Instruction does not dominate all uses on x86-64 while compiling 511.povray_r from SPEC CPU 2017
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jun 27 08:49:20 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=33613
Bug ID: 33613
Summary: Instruction does not dominate all uses on x86-64 while
compiling 511.povray_r from SPEC CPU 2017
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: regehr at cs.utah.edu
CC: llvm-bugs at lists.llvm.org
regehr at 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 at 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 at 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
http://llvm.org/bugs/ 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 at john-home:~/reduce$
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170627/603ee8c1/attachment-0001.html>
More information about the llvm-bugs
mailing list