This is an archive of the discontinued LLVM Phabricator instance.

TableGen/DAGPatterns: Allow bit constants in addition to int constants
ClosedPublic

Authored by nhaehnle on May 27 2018, 1:49 PM.

Details

Diff Detail

Repository
rL LLVM

Event Timeline

nhaehnle created this revision.May 27 2018, 1:49 PM
tra added a comment.May 29 2018, 11:48 AM

LGTM in general.
It would be good to add a test that we can use bits w/o explicit casting now.

I agree on the test case, unfortunately it requires a lot of setup to make the backend do anything useful at all.

tra added a comment.May 30 2018, 11:50 AM

I agree on the test case, unfortunately it requires a lot of setup to make the backend do anything useful at all.

Sorry, I've missed that it's a back-end change. LGTM.

tra accepted this revision.May 30 2018, 11:50 AM
This revision is now accepted and ready to land.May 30 2018, 11:50 AM
This revision was automatically updated to reflect the committed changes.