[llvm-bugs] [Bug 30771] New: Fail to propagate assume to its negation

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 24 10:06:43 PDT 2016


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

            Bug ID: 30771
           Summary: Fail to propagate assume to its negation
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Interprocedural Analyses
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

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

opt -O3 doesn't simplify this test.

If the two icmps are changed to use the same predicate (eq or ne), the function
is simplified to return a constant.

-- 
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/20161024/a1db1a0c/attachment.html>


More information about the llvm-bugs mailing list