[llvm-commits] [llvm] r52531 - /llvm/trunk/lib/Transforms/Scalar/GVN.cpp

Owen Anderson resistor at mac.com
Fri Jun 20 01:59:15 PDT 2008


Author: resistor
Date: Fri Jun 20 03:59:13 2008
New Revision: 52531

URL: http://llvm.org/viewvc/llvm-project?rev=52531&view=rev
Log:
Really disable PRE.

Modified:
    llvm/trunk/lib/Transforms/Scalar/GVN.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/GVN.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/GVN.cpp?rev=52531&r1=52530&r2=52531&view=diff

==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/GVN.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/GVN.cpp Fri Jun 20 03:59:13 2008
@@ -1328,7 +1328,7 @@
        DE = df_end(DT.getRootNode()); DI != DE; ++DI)
     changed |= processBlock(*DI);
   
-  if (!EnablePRE)
+  if (EnablePRE)
     changed |= performPRE(F);
   
   return changed;





More information about the llvm-commits mailing list