[PATCH] D65507: [MIPS GlobalISel] Fold load/store + G_GEP + G_CONSTANT

Petar Avramovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 31 05:07:59 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.

Fold load/store + G_GEP + G_CONSTANT when
immediate in G_CONSTANT fits into 16 bit signed integer.


Repository:
  rL LLVM

https://reviews.llvm.org/D65507

Files:
  lib/Target/Mips/MipsInstructionSelector.cpp
  test/CodeGen/Mips/GlobalISel/instruction-select/load_store_fold.mir
  test/CodeGen/Mips/GlobalISel/instruction-select/stack_args.mir
  test/CodeGen/Mips/GlobalISel/llvm-ir/load.ll
  test/CodeGen/Mips/GlobalISel/llvm-ir/load_store_fold.ll
  test/CodeGen/Mips/GlobalISel/llvm-ir/long_ambiguous_chain_s64.ll
  test/CodeGen/Mips/GlobalISel/llvm-ir/stack_args.ll
  test/CodeGen/Mips/GlobalISel/llvm-ir/store.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65507.212554.patch
Type: text/x-patch
Size: 17688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190731/599cc787/attachment.bin>


More information about the llvm-commits mailing list