[llvm-commits] [llvm] r123270 - /llvm/trunk/lib/Transforms/Scalar/GVN.cpp
Cameron Zwarich
zwarich at apple.com
Tue Jan 11 12:23:34 PST 2011
Author: zwarich
Date: Tue Jan 11 14:23:34 2011
New Revision: 123270
URL: http://llvm.org/viewvc/llvm-project?rev=123270&view=rev
Log:
Attempt to fix the bootstrap buildbot. Rafael says this works for him on x86-64 Linux.
Modified:
llvm/trunk/lib/Transforms/Scalar/GVN.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/GVN.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/GVN.cpp?rev=123270&r1=123269&r2=123270&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/GVN.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/GVN.cpp Tue Jan 11 14:23:34 2011
@@ -2011,6 +2011,7 @@
RE = RPOT.end(); RI != RE; ++RI)
Changed |= processBlock(*RI);
#else
+ DT->DT->recalculate(F);
for (df_iterator<DomTreeNode*> DI = df_begin(DT->getRootNode()),
DE = df_end(DT->getRootNode()); DI != DE; ++DI)
Changed |= processBlock(DI->getBlock());
More information about the llvm-commits
mailing list