[llvm-bugs] [Bug 40586] New: [MemorySSA] wrong code
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Feb 4 07:07:13 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=40586
Bug ID: 40586
Summary: [MemorySSA] wrong code
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Global Analyses
Assignee: unassignedbugs at nondot.org
Reporter: paulsson at linux.vnet.ibm.com
CC: llvm-bugs at lists.llvm.org
Created attachment 21427
--> https://bugs.llvm.org/attachment.cgi?id=21427&action=edit
reduced testcase
I have seen plenty of wrong code cases with -enable-mssa-loop-dependency the
last two weeks (in testing), and have now reduced one program.
gcc -O0 -march=z10 -o a.out
gcc -O1 -march=z10 -o a.out
gcc -O0 -march=z13 -o a.out
gcc -O1 -march=z13 -o a.out
clang -O0 -march=z10 -o a.out
clang -O0 -march=z13 -o a.out
clang -O3 -march=z10 -o a.out
clang -O3 -march=z13 -o a.out
The above programs all print "5", but this one prints "0":
clang -O3 -march=z13 -o a.out -mllvm -enable-mssa-loop-dependency
--
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/20190204/72113608/attachment.html>
More information about the llvm-bugs
mailing list