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
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 190645 lib/Target/Mips/MipsInstructionSelector.cpp
test/CodeGen/Mips/GlobalISel/instruction-select/branch.mir
test/CodeGen/Mips/GlobalISel/instruction-select/constants.mir
test/CodeGen/Mips/GlobalISel/instruction-select/gloal_address.mir
test/CodeGen/Mips/GlobalISel/instruction-select/icmp.mir
test/CodeGen/Mips/GlobalISel/instruction-select/mul.mir
test/CodeGen/Mips/GlobalISel/instruction-select/phi.mir
test/CodeGen/Mips/GlobalISel/instruction-select/select.mir
test/CodeGen/Mips/GlobalISel/instruction-select/stack_args.mir
test/CodeGen/Mips/GlobalISel/llvm-ir/add.ll
test/CodeGen/Mips/GlobalISel/llvm-ir/branch.ll
test/CodeGen/Mips/GlobalISel/llvm-ir/constants.ll
test/CodeGen/Mips/GlobalISel/llvm-ir/global_address.ll
test/CodeGen/Mips/GlobalISel/llvm-ir/icmp.ll
test/CodeGen/Mips/GlobalISel/llvm-ir/mul.ll
test/CodeGen/Mips/GlobalISel/llvm-ir/phi.ll
test/CodeGen/Mips/GlobalISel/llvm-ir/rem_and_div.ll
test/CodeGen/Mips/GlobalISel/llvm-ir/select.ll
test/CodeGen/Mips/GlobalISel/llvm-ir/stack_args.ll
test/CodeGen/Mips/GlobalISel/llvm-ir/sub.ll
test/CodeGen/Mips/GlobalISel/llvm-ir/truncStore_and_aExtLoad.ll
|