Bug ID: 31629
           Summary: performance regression in LoopStrengthReduce
           Product: new-bugs
           Version: 3.9
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
    Classification: Unclassified

Created attachment 17837
testcase showing bad behavior

During the 3.8-3.9 timeframe, a number of changes were done that exhibit some
severe quality-of-code regression.

For the testcase, I am using the xscale target to show the regression, but we
noticed it in our custom version of llvm. So this behavior is likely to be
present for most targets.

The main change that shows the regression is:

Author: Manuel Jacob <>
Date:   Thu Jun 2 22:14:26 2016 +0000

    [PM] Schedule InstSimplify after late LICM run, to clean up LCSSA nodes.

    The module pass pipeline includes a late LICM run after loop
    unrolling.  LCSSA is implicitly run as a pass dependency of LICM.  However
    cleanup pass was run after this, so the LCSSA nodes ended in the optimized

    Reviewers: hfinkel, mehdi_amini

    Subscribers: majnemer, bruno, mzolotukhin, mehdi_amini, llvm-commits

    Differential Revision:


This change activates the instructionSimplifyPass, but, this change only allows
us to see when LoopStrengthReduce is breaking down.

You are receiving this mail because:
You are on the CC list for the bug.
llvm-bugs mailing list

Reply via email to