This is an archive of the discontinued LLVM Phabricator instance.

TableGen/AMDGPU: Avoid emitting "true" predicates
ClosedPublic

Authored by arsenm on Jul 22 2019, 5:45 AM.

Details

Reviewers
dsanders
rampitec
Summary

Empty condition strings are considerde always true. This removes a lot
of clutter from the generated matcher tables.

This shrinks the source size of AMDGPUGenDAGISel.inc from 7.3M to
6.1M.

Diff Detail

Event Timeline

arsenm created this revision.Jul 22 2019, 5:45 AM
This revision is now accepted and ready to land.Jul 22 2019, 10:25 AM
arsenm closed this revision.Jul 30 2019, 8:56 AM

r367326