Enable PRE. My last batch of changes fixed the miscompile.
authorOwen Anderson <resistor@mac.com>
Thu, 17 Jul 2008 19:41:00 +0000 (19:41 +0000)
committerOwen Anderson <resistor@mac.com>
Thu, 17 Jul 2008 19:41:00 +0000 (19:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53730 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/GVN.cpp

index b002380b74bdba8476e4d4c2798f5244fa0d5c7e..4e4d8c127e3809eac86d38a5b85ae5b0f8e4ea4f 100644 (file)
@@ -44,7 +44,7 @@ STATISTIC(NumGVNPRE, "Number of instructions PRE'd");
 STATISTIC(NumGVNBlocks, "Number of blocks merged");
 
 static cl::opt<bool> EnablePRE("enable-pre",
-                               cl::init(false), cl::Hidden);
+                               cl::init(true), cl::Hidden);
 
 //===----------------------------------------------------------------------===//
 //                         ValueTable Class