[llvm-bugs] [Bug 43267] New: ValueTracking isKnownNonZero() does not use x != 0 assume

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Sep 10 11:27:11 PDT 2019


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

            Bug ID: 43267
           Summary: ValueTracking isKnownNonZero() does not use x != 0
                    assume
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Global Analyses
          Assignee: unassignedbugs at nondot.org
          Reporter: lebedev.ri at gmail.com
                CC: llvm-bugs at lists.llvm.org

I don't have an actionable reproducer, but i've stumbled into this while
calling isKnownNonZero() on a value that has such an @llvm.assume(),
and it isn't being used (isKnownNonZero() returns false)

-- 
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/20190910/130973f1/attachment.html>


More information about the llvm-bugs mailing list