PowerPC backend does not pass the current optimization level to SelectionDAGISel and so SelectionDAGISel works with the default optimization level regardless of the current optimization level.
This patch makes the PowerPC backend set the optimization level correctly.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM.
Please make sure that you run a self-hosting test at both -O3 and -O0 (Release and Debug) before committing.