This is an archive of the discontinued LLVM Phabricator instance.

[TableGen] Remove predicate filtering from GenerateVariants.
ClosedPublic

Authored by craig.topper on Apr 16 2021, 10:23 PM.

Details

Summary

After D100691, predicates should be cheap to compare again so
we don't need to filter anymore.

This is mostly just a revert of several patches going back to 2018.

Diff Detail

Event Timeline

craig.topper requested review of this revision.Apr 16 2021, 10:23 PM
craig.topper created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptApr 16 2021, 10:24 PM

Add the HwModeFeatures comparison I accidentally removed.

Remove the HwModeFeature check. We're running this before HwMode expansion. Just assert that the string is empty.

Looks ok to me, but waiting for the prerequisite patch to be finalized.

kparzysz accepted this revision.Apr 28 2021, 12:49 PM
This revision is now accepted and ready to land.Apr 28 2021, 12:49 PM
This revision was landed with ongoing or failed builds.Apr 28 2021, 4:02 PM
This revision was automatically updated to reflect the committed changes.