[PATCH] D105173: [WIP][NFC] factor out unrolling decision logic

Ali Sedaghati via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 6 23:53:56 PDT 2021


Ali-Sed updated this revision to Diff 356878.
Ali-Sed added a comment.

Minor changes


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105173/new/

https://reviews.llvm.org/D105173

Files:
  llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp


Index: llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
===================================================================
--- llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
+++ llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
@@ -998,7 +998,6 @@
   }
 
   // Reduce count based on the type of unrolling and the threshold values.
-  // UP.Runtime |= PragmaEnableUnroll || PragmaCount > 0 || UserUnrollCount;
 
   if (!UP.Runtime) {
     LLVM_DEBUG(


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105173.356878.patch
Type: text/x-patch
Size: 443 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210707/b56e6d34/attachment.bin>


More information about the llvm-commits mailing list