Certain 32 bit constants can be generated with a single instruction
instead of two. Implement materialize32BitImm function for MIPS32.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D59369
[MIPS GlobalISel] Improve selection of constants ClosedPublic Authored by Petar.Avramovic on Mar 14 2019, 9:09 AM.
Details Summary Certain 32 bit constants can be generated with a single instruction
Diff Detail
Event TimelineHerald added subscribers: arichardson, kristof.beyls, rovka, sdardis. · View Herald TranscriptMar 14 2019, 9:09 AM This revision is now accepted and ready to land.Mar 14 2019, 10:40 PM Closed by commit rL356238: [MIPS GlobalISel] Improve selection of constants (authored by Petar.Avramovic). · Explain WhyMar 15 2019, 12:10 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 190788 llvm/trunk/lib/Target/Mips/MipsInstructionSelector.cpp
llvm/trunk/test/CodeGen/Mips/GlobalISel/instruction-select/branch.mir
llvm/trunk/test/CodeGen/Mips/GlobalISel/instruction-select/constants.mir
llvm/trunk/test/CodeGen/Mips/GlobalISel/instruction-select/gloal_address.mir
llvm/trunk/test/CodeGen/Mips/GlobalISel/instruction-select/icmp.mir
llvm/trunk/test/CodeGen/Mips/GlobalISel/instruction-select/mul.mir
llvm/trunk/test/CodeGen/Mips/GlobalISel/instruction-select/phi.mir
llvm/trunk/test/CodeGen/Mips/GlobalISel/instruction-select/select.mir
llvm/trunk/test/CodeGen/Mips/GlobalISel/instruction-select/stack_args.mir
llvm/trunk/test/CodeGen/Mips/GlobalISel/llvm-ir/add.ll
llvm/trunk/test/CodeGen/Mips/GlobalISel/llvm-ir/branch.ll
llvm/trunk/test/CodeGen/Mips/GlobalISel/llvm-ir/constants.ll
llvm/trunk/test/CodeGen/Mips/GlobalISel/llvm-ir/global_address.ll
llvm/trunk/test/CodeGen/Mips/GlobalISel/llvm-ir/icmp.ll
llvm/trunk/test/CodeGen/Mips/GlobalISel/llvm-ir/mul.ll
llvm/trunk/test/CodeGen/Mips/GlobalISel/llvm-ir/phi.ll
llvm/trunk/test/CodeGen/Mips/GlobalISel/llvm-ir/rem_and_div.ll
llvm/trunk/test/CodeGen/Mips/GlobalISel/llvm-ir/select.ll
llvm/trunk/test/CodeGen/Mips/GlobalISel/llvm-ir/stack_args.ll
llvm/trunk/test/CodeGen/Mips/GlobalISel/llvm-ir/sub.ll
llvm/trunk/test/CodeGen/Mips/GlobalISel/llvm-ir/truncStore_and_aExtLoad.ll
|