Disable PRE for now. It seems to be breaking llvm-gcc bootstrapping.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52518 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2008-06-20 01:01:07 +00:00
parent dded0fd398
commit 88d11c03cd

View File

@ -42,7 +42,7 @@ STATISTIC(NumGVNInstr, "Number of instructions deleted");
STATISTIC(NumGVNLoad, "Number of loads deleted");
STATISTIC(NumGVNPRE, "Number of instructions PRE'd");
static cl::opt<bool> DisablePRE("disable-pre",
static cl::opt<bool> EnablePRE("enable-pre",
cl::init(false), cl::Hidden);
//===----------------------------------------------------------------------===//
@ -1290,7 +1290,7 @@ bool GVN::iterateOnFunction(Function &F) {
DE = df_end(DT.getRootNode()); DI != DE; ++DI)
changed |= processBlock(*DI);
if (!DisablePRE)
if (!EnablePRE)
changed |= performPRE(F);
return changed;