G_JUMP_TABLE and G_BRJT appear from translation of switch statement.
Select these two instructions for MIPS32, both pic and non-pic.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D65861
[MIPS GlobalISel] Select jump_table and brjt ClosedPublic Authored by Petar.Avramovic on Aug 7 2019, 4:56 AM.
Details Summary G_JUMP_TABLE and G_BRJT appear from translation of switch statement.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 7 2019, 7:17 AM Closed by commit rL368274: [MIPS GlobalISel] Select jump_table and brjt (authored by Petar.Avramovic). · Explain WhyAug 8 2019, 3:20 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 214098 llvm/trunk/lib/Target/Mips/MipsInstructionSelector.cpp
llvm/trunk/lib/Target/Mips/MipsLegalizerInfo.cpp
llvm/trunk/lib/Target/Mips/MipsRegisterBankInfo.cpp
llvm/trunk/test/CodeGen/Mips/GlobalISel/instruction-select/jump_table_and_brjt.mir
llvm/trunk/test/CodeGen/Mips/GlobalISel/legalizer/jump_table_and_brjt.mir
llvm/trunk/test/CodeGen/Mips/GlobalISel/llvm-ir/jump_table_and_brjt.ll
llvm/trunk/test/CodeGen/Mips/GlobalISel/regbankselect/jump_table_and_brjt.mir
|