]> granicus.if.org Git - llvm/commit
[AArch64][GlobalISel] Implement selection support for the new G_JUMP_TABLE and G_BRJT...
authorAmara Emerson <aemerson@apple.com>
Fri, 21 Jun 2019 18:10:41 +0000 (18:10 +0000)
committerAmara Emerson <aemerson@apple.com>
Fri, 21 Jun 2019 18:10:41 +0000 (18:10 +0000)
commit2cc88925acb3b6369891f3a93344536ea2b24242
treeda996bb6b129922bae71a1ffd61665195d4d0a57
parent4878bbd9a20cdf92dde74cd6f9b161c6814096b7
[AArch64][GlobalISel] Implement selection support for the new G_JUMP_TABLE and G_BRJT ops.

With this we can now fully code generate jump tables, which is important for code size.

Differential Revision: https://reviews.llvm.org/D63223

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364086 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64InstructionSelector.cpp
lib/Target/AArch64/AArch64LegalizerInfo.cpp
test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
test/CodeGen/AArch64/GlobalISel/select-jump-table-brjt.mir [new file with mode: 0644]