[LoongArch] Support lowering br_jt
authorWANG Xuerui <git@xen0n.name>
Fri, 2 Sep 2022 09:57:29 +0000 (17:57 +0800)
committerWeining Lu <luweining@loongson.cn>
Fri, 2 Sep 2022 09:57:50 +0000 (17:57 +0800)
commit2dd434c3ee1709b981f7c29744f3e17cf40f42d1
tree14d581388fad5f417d7a3f4da61a7ac6c977a105
parent43159b5808a7de2301be932c666816b4b7b93faf
[LoongArch] Support lowering br_jt

Jump tables cannot be generated yet, due to missing support for emitting
local addresses.

Differential Revision: https://reviews.llvm.org/D132653
llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
llvm/test/CodeGen/LoongArch/jump-table.ll [new file with mode: 0644]