[polly] r308887 - [ForwardOpTree] Properly indent enumeration in comment. NFC.

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 24 08:34:03 PDT 2017


Author: meinersbur
Date: Mon Jul 24 08:34:03 2017
New Revision: 308887

URL: http://llvm.org/viewvc/llvm-project?rev=308887&view=rev
Log:
[ForwardOpTree] Properly indent enumeration in comment. NFC.

Modified:
    polly/trunk/lib/Transform/ForwardOpTree.cpp

Modified: polly/trunk/lib/Transform/ForwardOpTree.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Transform/ForwardOpTree.cpp?rev=308887&r1=308886&r2=308887&view=diff
==============================================================================
--- polly/trunk/lib/Transform/ForwardOpTree.cpp (original)
+++ polly/trunk/lib/Transform/ForwardOpTree.cpp Mon Jul 24 08:34:03 2017
@@ -187,13 +187,13 @@ private:
 
       // Compatible instructions must satisfy the following conditions:
       // 1. Idempotent (instruction will be copied, not moved; although its
-      // original instance might be removed by simplification)
+      //    original instance might be removed by simplification)
       // 2. Not access memory (There might be memory writes between)
       // 3. Not cause undefined behaviour (we might copy to a location when the
-      // original instruction was no executed; this is currently not possible
-      // because we do not forward PHINodes)
+      //    original instruction was no executed; this is currently not possible
+      //    because we do not forward PHINodes)
       // 4. Not leak memory if executed multiple times (I am looking at you,
-      // malloc!)
+      //    malloc!)
       //
       // Instruction::mayHaveSideEffects is not sufficient because it considers
       // malloc to not have side-effects. llvm::isSafeToSpeculativelyExecute is




More information about the llvm-commits mailing list