[PATCH] D18376: [AArch64]Add support for store clustering in machine-scheduler

Jun Bum Lim via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 22 14:11:18 PDT 2016


junbuml created this revision.
junbuml added reviewers: mcrosier, t.p.northover, jmolloy.
junbuml added a subscriber: llvm-commits.
Herald added subscribers: mcrosier, MatzeB, rengolin, aemerson.

Perform store clustering just like load clustering. This change add StoreClusterMutation
in machine-scheduler. To on/off StoreClusterMutation, add enableClusterStores() in
TargetInstrInfo.h and also a new command line option (misched-cluster-store). 

This change also add support for unscaled stores which were not handled in getMemOpBaseRegImmOfs().

http://reviews.llvm.org/D18376

Files:
  include/llvm/Target/TargetInstrInfo.h
  lib/CodeGen/MachineScheduler.cpp
  lib/Target/AArch64/AArch64InstrInfo.cpp
  lib/Target/AArch64/AArch64InstrInfo.h
  test/CodeGen/AArch64/aarch64-stp-cluster.ll
  test/CodeGen/AArch64/arm64-ldp-cluster.ll
  test/CodeGen/AArch64/arm64-stp.ll
  test/CodeGen/AArch64/global-merge-group-by-use.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18376.51337.patch
Type: text/x-patch
Size: 18799 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160322/d6a15747/attachment.bin>


More information about the llvm-commits mailing list