[PATCH] D45208: [LoopInterchange] Make isProfitableForVectorization slightly more conservative.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 3 07:25:23 PDT 2018


fhahn created this revision.
fhahn added reviewers: efriedma, mcrosier, karthikthecool, blitz.opensource.

After https://reviews.llvm.org/D43236, we started interchanging loops with empty dependence
matrices.  In isProfitableForVectorization, we try to determine if
interchanging makes the loop dependences more friendly to the
vectorizer. If there are no dependences, we should not interchange,
based on that heuristic.


https://reviews.llvm.org/D45208

Files:
  lib/Transforms/Scalar/LoopInterchange.cpp
  test/Transforms/LoopInterchange/interchange-no-deps.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45208.140785.patch
Type: text/x-patch
Size: 5349 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180403/fecd7dc0/attachment.bin>


More information about the llvm-commits mailing list