[llvm-bugs] [Bug 39279] New: [NewGVN] wrong code

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Oct 13 08:38:42 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=39279

            Bug ID: 39279
           Summary: [NewGVN]  wrong code
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: paulsson at linux.vnet.ibm.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 21006
  --> https://bugs.llvm.org/attachment.cgi?id=21006&action=edit
creduce:d test case (csmith)

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
clang -O3 -march=z13 -o a.out -mllvm -enable-newgvn

All but the last prints 0, which prints 9.

-- 
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/20181013/e0a04dff/attachment-0001.html>


More information about the llvm-bugs mailing list