[llvm-bugs] [Bug 42801] New: [IR][PatternMatch] m_c_ICmp() should swap predicate if the match is commuted

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jul 28 02:06:05 PDT 2019


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

            Bug ID: 42801
           Summary: [IR][PatternMatch] m_c_ICmp() should swap predicate if
                    the match is commuted
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Support Libraries
          Assignee: unassignedbugs at nondot.org
          Reporter: lebedev.ri at gmail.com
                CC: llvm-bugs at lists.llvm.org

As disscussed in https://reviews.llvm.org/D65143#inline-584280
it may be nicer if m_c_ICmp() would itself swap the predicate
if it matched the commuted case.

-- 
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/20190728/a3e4582f/attachment-0001.html>


More information about the llvm-bugs mailing list