This is an archive of the discontinued LLVM Phabricator instance.

[MachineCombiner][RISCV] Relax optimization level requirement
ClosedPublic

Authored by asi-sc on Oct 20 2022, 5:15 AM.

Details

Summary

Enable Machine Combiner for -O1/-O2/-O3 optimization levels. It makes RISCV
consistent with other targets running Machine Combiner.

Originally it was enabled only for -O3, however I looked through time reports
and usually it takes 0.1%-0.4% of total time, and never takes more than 1.0%.

Diff Detail

Event Timeline

asi-sc created this revision.Oct 20 2022, 5:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 20 2022, 5:15 AM
asi-sc requested review of this revision.Oct 20 2022, 5:15 AM
asi-sc edited the summary of this revision. (Show Details)Oct 20 2022, 5:17 AM
This revision is now accepted and ready to land.Oct 20 2022, 8:24 AM