mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 06:31:18 +00:00
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:
parent
dded0fd398
commit
88d11c03cd
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user