Really disable PRE.
authorOwen Anderson <resistor@mac.com>
Fri, 20 Jun 2008 08:59:13 +0000 (08:59 +0000)
committerOwen Anderson <resistor@mac.com>
Fri, 20 Jun 2008 08:59:13 +0000 (08:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52531 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/GVN.cpp

index bf2253fbd086c48d91b04351b492d2d10fa31ce2..ec76892f87966fe3482292e2c38e41f94edf1849 100644 (file)
@@ -1328,7 +1328,7 @@ bool GVN::iterateOnFunction(Function &F) {
        DE = df_end(DT.getRootNode()); DI != DE; ++DI)
     changed |= processBlock(*DI);
   
-  if (!EnablePRE)
+  if (EnablePRE)
     changed |= performPRE(F);
   
   return changed;