[Bug tree-optimization/100883] New: ifcombine should use (gimple) match and simplify instead of fold

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 2 19:22:52 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100883

            Bug ID: 100883
           Summary: ifcombine should use (gimple) match and simplify
                    instead of fold
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: missed-optimization
          Severity: enhancement
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pinskia at gcc dot gnu.org
  Target Milestone: ---

Like PHI-OPT, ifcombine was written before match and simplify was around so it
calls fold_build* to do the folding of the if statements.  It would be better
if it calls gimple_simplify instead of doing the gimplification manually.


More information about the Gcc-bugs mailing list