DescriptionPNaCl: Implement computed gotos (indirectbr) by expanding out to switches
Add the ExpandIndirectBr pass for expanding out indirectbr and
blockaddress into switch instructions, so that programs using computed
gotos can work with PNaCl's stable ABI.
BUG=https://code.google.com/p/nativeclient/issues/detail?id=3695
TEST=*.ll tests + GCC torture tests
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-llvm.git;a=commit;h=a55919f
Patch Set 1 #Patch Set 2 : Cleanup #
Total comments: 3
Messages
Total messages: 6 (0 generated)
|