<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 - Scimark miscompile with instcombine+gvn"
href="https://bugs.llvm.org/show_bug.cgi?id=37887">37887</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Scimark miscompile with instcombine+gvn
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</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>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Scalar Optimizations
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>cs12b1010@iith.ac.in
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Change directory to test-suite/MultiSource/Benchmarks/SciMark2-C
clang -m64 -O3 -flto -fuse-ld=lld -c *.c
clang -m64 -O3 -flto -fuse-ld=lld *.o -Wl,-save-temps -lm
opt -inline-threshold=1000000 -inline -instcombine -gvn
a.out.0.2.internalize.bc -o b.bc
llc -O3 -filetype=asm b.bc
clang b.s -lm
./a.out
Segmentation fault.
Program received signal SIGSEGV, Segmentation fault.
0x0000000000220468 in SOR_execute (omega=1.25, M=<optimized out>, N=<optimized
out>, G=<optimized out>, num_iterations=<optimized out>)
at /home/pbhatu/test-suite/MultiSource/Benchmarks/SciMark2-C/SOR.c:37
37 Gi[j] = omega_over_four * (Gim1[j] + Gip1[j] +
Gi[j-1]</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>