[llvm-bugs] [Bug 37887] New: Scimark miscompile with instcombine+gvn
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Jun 20 22:33:39 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=37887
Bug ID: 37887
Summary: Scimark miscompile with instcombine+gvn
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Scalar Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: cs12b1010 at iith.ac.in
CC: llvm-bugs at lists.llvm.org
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]
--
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/20180621/2a6063ae/attachment.html>
More information about the llvm-bugs
mailing list