[PATCH] D135808: [LoopInterchange] Correcting the profitability checking for vectorization
Ramkrishnan Narayanan Komala via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 1 07:48:33 PST 2022
ram-NK updated this revision to Diff 479293.
ram-NK added a comment.
As per the Michael 's comments. Code inside isProfitable function is cleaned.
Added test case. With two loop interchange passes make sure that, there is no endless interchange. Before this patch there is endless loop interchange possibility. There is no endless interchange after this patch.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135808/new/
https://reviews.llvm.org/D135808
Files:
llvm/lib/Transforms/Scalar/LoopInterchange.cpp
llvm/test/Transforms/LoopInterchange/loop-interchange-optimization-remarks.ll
llvm/test/Transforms/LoopInterchange/profitability.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135808.479293.patch
Type: text/x-patch
Size: 15714 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221201/3fd8b92e/attachment.bin>
More information about the llvm-commits
mailing list