This is an archive of the discontinued LLVM Phabricator instance.

[Clang] [TableGen] Clean up !if(!eq(boolean, 1) and related booleans
ClosedPublic

Authored by Paul-C-Anagnostopoulos on Oct 21 2020, 9:07 AM.

Details

Summary

This patch continues the cleanup of booleans in TableGen files, now that the !not operator has been added.

Note that in this patch an int template argument has been changed to a bit.

I will auto-LGTM this after 24 hours.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptOct 21 2020, 9:07 AM
Paul-C-Anagnostopoulos requested review of this revision.Oct 21 2020, 9:07 AM
Paul-C-Anagnostopoulos edited the summary of this revision. (Show Details)Oct 21 2020, 9:22 AM
lattner accepted this revision.Oct 21 2020, 10:46 AM
This revision is now accepted and ready to land.Oct 21 2020, 10:46 AM
This revision was landed with ongoing or failed builds.Oct 22 2020, 6:29 AM
This revision was automatically updated to reflect the committed changes.

@lattner minor detail/annoyance: Phabricator doesn't email the mailing lists if a review is "approved" with no comments. To ensure the approval is recorded on the list, please include some text (a stub "." would suffice, but folks usually go with "Thanks!" or similar) - otherwise it looks sort of like patches are being committed without review, if you're just reading the mailing list.
@mehdi_amini: Any chance this might be fixable on the Phab side?

Oops, thanks for the head's up @dblaikie !

I'll remember this, too.

@dblaikie How did you happen to notice?

I'll remember this, too.

@dblaikie How did you happen to notice?

Reading the mailing list & seeing the phab review and commit without any emails from anyone else in the review thread, so far as the email list/my mail client were concerned.