[PATCH] D65861: [MIPS GlobalISel] Select jump_table and brjt
Petar Avramovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 7 04:59:51 PDT 2019
Petar.Avramovic created this revision.
Petar.Avramovic added reviewers: atanasyan, petarj.
Herald added subscribers: llvm-commits, jrtc27, arichardson, rovka, sdardis.
Herald added a project: LLVM.
G_JUMP_TABLE and G_BRJT appear from translation of switch statement.
Select these two instructions for MIPS32, both pic and non-pic.
Repository:
rL LLVM
https://reviews.llvm.org/D65861
Files:
lib/Target/Mips/MipsInstructionSelector.cpp
lib/Target/Mips/MipsLegalizerInfo.cpp
lib/Target/Mips/MipsRegisterBankInfo.cpp
test/CodeGen/Mips/GlobalISel/instruction-select/jump_table_and_brjt.mir
test/CodeGen/Mips/GlobalISel/legalizer/jump_table_and_brjt.mir
test/CodeGen/Mips/GlobalISel/llvm-ir/jump_table_and_brjt.ll
test/CodeGen/Mips/GlobalISel/regbankselect/jump_table_and_brjt.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65861.213853.patch
Type: text/x-patch
Size: 42618 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190807/96fdfedb/attachment-0001.bin>
More information about the llvm-commits
mailing list