[PATCH] ARMLoadStoreOpt: Merge subs/adds into LDRD/STRD; Factor out common code

Matthias Braun matze at braunis.de
Tue Jun 23 17:03:49 PDT 2015


Hi rengolin, jmolloy, mroth, charlieturner7c5,

This commit factors out common code from MergeBaseUpdateLoadStore() and
MergeBaseUpdateLSMultiple() and introduces a new function
MergeBaseUpdateLSDouble() which merges adds/subs preceding/following a
strd/ldrd instruction into an strd/ldrd instruction with writeback.

This requires http://reviews.llvm.org/D10623

REPOSITORY
  rL LLVM

http://reviews.llvm.org/D10676

Files:
  lib/Target/ARM/ARMLoadStoreOptimizer.cpp
  test/CodeGen/ARM/ldrd.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10676.28305.patch
Type: text/x-patch
Size: 19846 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150624/0ab5180e/attachment.bin>


More information about the llvm-commits mailing list