1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

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

llvm-svn: 52518
This commit is contained in:
Evan Cheng 2008-06-20 01:01:07 +00:00
parent 0d86d31373
commit d4c055e1f8

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;