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: unassignedb...@nondot.org
          Reporter: spatel+l...@rotateright.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to