This is an archive of the discontinued LLVM Phabricator instance.

[VE] Change threshold for jump table generation
ClosedPublic

Authored by kaz7 on Nov 19 2020, 5:02 AM.

Details

Summary

Implement getMinimumJumpTableEntries() to specify threshold for jump
table genaration. We use 8 for the case of PIC mode to relieve the
impact of PIC calculation required to implement PIC mode jump table.
Update jump table regression test also.

Diff Detail

Event Timeline

kaz7 created this revision.Nov 19 2020, 5:02 AM
kaz7 requested review of this revision.Nov 19 2020, 5:02 AM
simoll accepted this revision.Nov 20 2020, 1:37 AM

LGTM

This revision is now accepted and ready to land.Nov 20 2020, 1:37 AM
This revision was landed with ongoing or failed builds.Nov 20 2020, 4:27 AM
This revision was automatically updated to reflect the committed changes.