This is a correction to bug 27509.
The reason for the fix is that optlevel flags might have been be cleared, apparently in order to not rerun the AddOptimizationPasses() function. However, this makes us not run FPasses, which should be wrong.
Differential D20725
Make sure function passes are run JesperAntonsson on May 27 2016, 2:57 AM. Authored by
Details
This is a correction to bug 27509. The reason for the fix is that optlevel flags might have been be cleared, apparently in order to not rerun the AddOptimizationPasses() function. However, this makes us not run FPasses, which should be wrong.
Diff Detail Event TimelineComment Actions Using FPasses exactly when it is initialized (using the replaced condition at line 499) looks like the right thing to do. LGTM. |