[PATCH] D11800: [ARM] Reorganise and simplify thumb-1 load/store selection

John Brawn via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 6 05:16:57 PDT 2015


john.brawn created this revision.
john.brawn added reviewers: t.p.northover, jmolloy.
john.brawn added a subscriber: llvm-commits.
john.brawn set the repository for this revision to rL LLVM.
Herald added subscribers: rengolin, aemerson.

By rearranging the instruction definitions in ARMInstrThumb.td, and making use of AddedComplexity in one place, we can ensure that instruction selection tries to match addressing modes in the order that simplifies the selection logic. This also makes register-offset load/store be selected when it should, as previously in many case zero-immediate-offset plus an add was selected.

Repository:
  rL LLVM

http://reviews.llvm.org/D11800

Files:
  lib/Target/ARM/ARMISelDAGToDAG.cpp
  lib/Target/ARM/ARMInstrThumb.td
  test/CodeGen/ARM/load.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11800.31443.patch
Type: text/x-patch
Size: 34089 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150806/ae13e972/attachment.bin>


More information about the llvm-commits mailing list