Changes in directory llvm/lib/Transforms/Utils:

LCSSA.cpp updated: 1.16 -> 1.17
---
Log message:

Make Loop able to verify that it is in LCSSA-form, and have the LCSSA pass 
assert
on this.


---
Diffs of the changes:  (+3 -1)

 LCSSA.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)


Index: llvm/lib/Transforms/Utils/LCSSA.cpp
diff -u llvm/lib/Transforms/Utils/LCSSA.cpp:1.16 
llvm/lib/Transforms/Utils/LCSSA.cpp:1.17
--- llvm/lib/Transforms/Utils/LCSSA.cpp:1.16    Thu Jun  8 15:02:53 2006
+++ llvm/lib/Transforms/Utils/LCSSA.cpp Fri Jun  9 13:33:30 2006
@@ -98,7 +98,7 @@
   for (LoopInfo::iterator I = LI->begin(), E = LI->end(); I != E; ++I) {
     changed |= visitSubloop(*I);
   }
-      
+  
   return changed;
 }
 
@@ -132,6 +132,8 @@
     processInstruction(*I, exitBlocks);
   }
   
+  assert(L->isLCSSAForm());
+  
   return true;
 }
 



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to