[PATCH] D44758: [LSR] Allow giving priority to post-incrementing addressing modes

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 21 15:00:30 PDT 2018


kparzysz created this revision.
kparzysz added a reviewer: qcolombet.

Implement TTI interface for targets to indicate that the LSR should give priority to post-incrementing addressing modes.  This is turned off by default (to preserve current behavior).

      

Combination of patches by Sebastian Pop and Brendon Cahoon.


Repository:
  rL LLVM

https://reviews.llvm.org/D44758

Files:
  include/llvm/Analysis/TargetTransformInfo.h
  include/llvm/Analysis/TargetTransformInfoImpl.h
  include/llvm/CodeGen/BasicTTIImpl.h
  lib/Analysis/TargetTransformInfo.cpp
  lib/Transforms/Scalar/LoopStrengthReduce.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44758.139376.patch
Type: text/x-patch
Size: 13861 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180321/af9aaaf3/attachment-0001.bin>


More information about the llvm-commits mailing list