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

Evan Cheng evan.cheng at apple.com
Sat Jun 21 00:26:53 PDT 2008


Author: evancheng
Date: Sat Jun 21 02:26:53 2008
New Revision: 52574

URL: http://llvm.org/viewvc/llvm-project?rev=52574&view=rev
Log:
Enable 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=52574&r1=52573&r2=52574&view=diff

==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/GVN.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/GVN.cpp Sat Jun 21 02:26:53 2008
@@ -43,7 +43,7 @@
 STATISTIC(NumGVNPRE, "Number of instructions PRE'd");
 
 static cl::opt<bool> EnablePRE("enable-pre",
-                                cl::init(false), cl::Hidden);
+                               cl::init(true), cl::Hidden);
 
 //===----------------------------------------------------------------------===//
 //                         ValueTable Class





More information about the llvm-commits mailing list