This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Remove VConstraintType enum and getConstraint. NFC
ClosedPublic

Authored by craig.topper on Apr 19 2023, 5:12 PM.

Details

Summary

Fold the 3 flag defines into the enum that defines TSFlags. Then
we don't have to extract them we can just test the bits directly
in TSFlags.

Diff Detail

Event Timeline

craig.topper created this revision.Apr 19 2023, 5:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 19 2023, 5:12 PM
craig.topper requested review of this revision.Apr 19 2023, 5:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 19 2023, 5:12 PM
This revision is now accepted and ready to land.Apr 20 2023, 12:15 AM
4vtomat accepted this revision.Apr 20 2023, 12:20 AM

LGTM~

This revision was landed with ongoing or failed builds.Apr 20 2023, 12:24 AM
This revision was automatically updated to reflect the committed changes.