[PATCH] D43236: [LoopInterchange] Loops with empty dependency matrix are safe.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 26 02:47:54 PST 2018


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rL326077: [LoopInterchange] Loops with empty dependency matrix are safe. (authored by fhahn, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D43236?vs=135799&id=135878#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D43236

Files:
  llvm/trunk/lib/Transforms/Scalar/LoopInterchange.cpp


Index: llvm/trunk/lib/Transforms/Scalar/LoopInterchange.cpp
===================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopInterchange.cpp
+++ llvm/trunk/lib/Transforms/Scalar/LoopInterchange.cpp
@@ -173,9 +173,6 @@
     }
   }
 
-  // We don't have a DepMatrix to check legality return false.
-  if (DepMatrix.empty())
-    return false;
   return true;
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43236.135878.patch
Type: text/x-patch
Size: 406 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180226/71972e07/attachment.bin>


More information about the llvm-commits mailing list