This is an archive of the discontinued LLVM Phabricator instance.

Add option to specify minimum number of entries for jump tables
ClosedPublic

Authored by evandro on Oct 21 2016, 3:21 PM.

Details

Summary

Add an option to allow easier experimentation by target maintainers with the minimum number of entries to create jump tables. Also clarify the name of the other existing option governing the creation of jump tables.

Diff Detail

Repository
rL LLVM

Event Timeline

evandro updated this revision to Diff 75498.Oct 21 2016, 3:21 PM
evandro retitled this revision from to Add option to specify lower limit for jump tables.
evandro updated this object.
evandro added reviewers: hans, t.p.northover.
evandro set the repository for this revision to rL LLVM.
evandro added a subscriber: llvm-commits.
hans edited edge metadata.Oct 25 2016, 9:47 AM

For the change description, I'd suggest replacing "lower limit" with "minimum entries".

Please also add a test.

evandro updated this revision to Diff 75750.Oct 25 2016, 11:48 AM
evandro retitled this revision from Add option to specify lower limit for jump tables to Add option to specify minimum number of entries for jump tables.
evandro updated this object.
evandro edited edge metadata.
hans accepted this revision.Oct 25 2016, 12:59 PM
hans edited edge metadata.

lgtm

This revision is now accepted and ready to land.Oct 25 2016, 12:59 PM
This revision was automatically updated to reflect the committed changes.