[llvm-bugs] [Bug 34890] New: opt-diff to ignore differences in arguments

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 9 13:30:47 PDT 2017


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

            Bug ID: 34890
           Summary: opt-diff to ignore differences in arguments
           Product: tools
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: opt-viewer
          Assignee: unassignedbugs at nondot.org
          Reporter: anemet at apple.com
                CC: anemet at apple.com, llvm-bugs at lists.llvm.org

Typically you're only interested to see whether an optimization went from red
to green or the other way around.  Currently however we print differences even
in the arguments, e.g. if the value of inlining cost has changed but the
remarks is still red.

The reason is that the arguments are included in the key (used in __eq__ and
__hash__).  This is useful when we unique remarks but it's not useful in this
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/20171009/5dfaa815/attachment.html>


More information about the llvm-bugs mailing list