[PATCH] D35210: [LoopInterchange] Change cost function to use bytes in cache line.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 23 08:24:14 PDT 2017
fhahn updated this revision to Diff 107832.
fhahn added reviewers: hfinkel, dberlin.
fhahn added a comment.
Fix formatting, rebased.
I think GCC uses/used a similar stride-based heuristic to check profitability.
https://reviews.llvm.org/D35210
Files:
lib/Transforms/Scalar/LoopInterchange.cpp
test/Transforms/LoopInterchange/interchange-single-comp.ll
test/Transforms/LoopInterchange/loop-interchange-optimization-remarks.ll
test/Transforms/LoopInterchange/profitability.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35210.107832.patch
Type: text/x-patch
Size: 20213 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170723/d80564e7/attachment.bin>
More information about the llvm-commits
mailing list