This is an archive of the discontinued LLVM Phabricator instance.

[GlobalISel] Add a G_JUMP_TABLE opcode
ClosedPublic

Authored by aemerson on Jun 10 2019, 5:36 PM.

Details

Summary

This opcode generates a pointer to the address of the jump table specified by the source operand, which is a jump table index.

It will be used in conjunction with an upcoming G_BRJT opcode to support jump table codegen with GlobalISel.

Diff Detail

Event Timeline

aemerson created this revision.Jun 10 2019, 5:36 PM
This revision is now accepted and ready to land.Jun 11 2019, 12:43 PM
This revision was automatically updated to reflect the committed changes.