[PATCH] D37755: Change default implementation of doMemOpsHaveSameBasePtr

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 12 12:10:10 PDT 2017


rampitec created this revision.
Herald added subscribers: kristof.beyls, javed.absar, nhaehnle, arsenm, aemerson.

This changes default implementation of the doMemOpsHaveSameBasePtr
target callback used for load/store clustering as requested in the
https://reviews.llvm.org/D37698.

The implementation is switched to the old one for the AArch64
target as it seems to expect same base registers with ordered
offsets for further combining purposes.

The change is based on the https://reviews.llvm.org/D37698.


https://reviews.llvm.org/D37755

Files:
  include/llvm/Target/TargetInstrInfo.h
  lib/CodeGen/TargetInstrInfo.cpp
  lib/Target/AArch64/AArch64InstrInfo.h
  lib/Target/AMDGPU/SIInstrInfo.cpp
  lib/Target/AMDGPU/SIInstrInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37755.114876.patch
Type: text/x-patch
Size: 6273 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170912/5c9f94aa/attachment.bin>


More information about the llvm-commits mailing list