This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine] Remove ExpensiveCombines option
ClosedPublic

Authored by nikic on Mar 21 2020, 2:23 AM.

Details

Summary

D75801 removed the last and only user of this option, so we can drop it now. The original idea behind this was to only run expensive transforms under -O3, but apart from the one known bits transform, this has never really taken off. I believe nowadays the recommendation is to put expensive transforms in AggressiveInstCombine instead, though that isn't terribly popular either :)

Diff Detail

Event Timeline

nikic created this revision.Mar 21 2020, 2:23 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 21 2020, 2:24 AM
spatel accepted this revision.Mar 22 2020, 7:58 AM

LGTM - thanks for the cleanup!

This revision is now accepted and ready to land.Mar 22 2020, 7:58 AM
This revision was automatically updated to reflect the committed changes.
llvm/test/Transforms/InstCombine/assume.ll