[llvm-bugs] [Bug 46065] New: create a CSE utility function

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 25 11:08:02 PDT 2020


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

            Bug ID: 46065
           Summary: create a CSE utility function
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: spatel+llvm at rotateright.com
                CC: llvm-bugs at lists.llvm.org

As mentioned in https://reviews.llvm.org/D80236:
There's a need to perform CSE (and possibly other) cleanup at potentially
multiple places in the optimization pipeline. But running EarlyCSE as a
separate pass means that it is enabled whether or not some other pass made
changes or not. 

It would be more efficient if we had something like
"SimplifyInstructionsInBlock()" (or added CSE functionality to that) that did
on-demand cleanup without having to run the full/costly EarlyCSE.

-- 
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/20200525/c220f7ae/attachment.html>


More information about the llvm-bugs mailing list