[llvm-bugs] [Bug 37952] New: Miscompile with -basicaa-recphi=1 -gvn

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jun 27 04:44:36 PDT 2018


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

            Bug ID: 37952
           Summary: Miscompile with -basicaa-recphi=1 -gvn
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: bjorn.a.pettersson at ericsson.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 20473
  --> https://bugs.llvm.org/attachment.cgi?id=20473&action=edit
reproducer

The attached llvm-lit adapted test case fails for the RUN line using
"-basicaa-recphi=1 -gvn". Afaict it is a miscompile.

Note that -basicaa-recphi seems to have been defaulted to 0 since it was
introduced in 2015 (r242320). If it turns out that the fault is related to that
option, maybe the easy solution is to remove it?

The problem was detected when doing fuzzy testing using randomized options
(normally we don't use -basicaa-recphi=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/20180627/12cec1d1/attachment.html>


More information about the llvm-bugs mailing list