[llvm-commits] [llvm] r89985 - in /llvm/trunk: lib/Analysis/MemoryDependenceAnalysis.cpp test/Transforms/GVN/rle-phi-translate.ll
Chris Lattner
sabre at nondot.org
Thu Nov 26 17:52:22 PST 2009
Author: lattner
Date: Thu Nov 26 19:52:22 2009
New Revision: 89985
URL: http://llvm.org/viewvc/llvm-project?rev=89985&view=rev
Log:
this is causing buildbot failures, disable for now.
Modified:
llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp
llvm/trunk/test/Transforms/GVN/rle-phi-translate.ll
Modified: llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp?rev=89985&r1=89984&r2=89985&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/MemoryDependenceAnalysis.cpp Thu Nov 26 19:52:22 2009
@@ -700,6 +700,7 @@
// We can translate a GEP that uses a PHI in the current block for at least
// one of its operands.
+ if (0)
if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(Inst)) {
for (unsigned i = 0, e = GEP->getNumOperands(); i != e; ++i)
if (PHINode *PN = dyn_cast<PHINode>(GEP->getOperand(i)))
Modified: llvm/trunk/test/Transforms/GVN/rle-phi-translate.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/GVN/rle-phi-translate.ll?rev=89985&r1=89984&r2=89985&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/GVN/rle-phi-translate.ll (original)
+++ llvm/trunk/test/Transforms/GVN/rle-phi-translate.ll Thu Nov 26 19:52:22 2009
@@ -80,9 +80,9 @@
%i = phi i32 [ 7, %bb1 ], [ 17, %bb ]
%d1 = getelementptr i32* %d, i32 %i
%dv = load i32* %d1
-; CHECK: %dv = phi i32 [ 82, %bb1 ], [ 4, %bb ]
-; CHECK-NOT: load
-; CHECK: ret i32 %dv
+; HECK: %dv = phi i32 [ 82, %bb1 ], [ 4, %bb ]
+; HECK-NOT: load
+; HECK: ret i32 %dv
ret i32 %dv
}
@@ -106,9 +106,9 @@
%i = phi i32 [ 7, %bb1 ], [ 0, %bb ]
%d1 = getelementptr i32* %d, i32 %i
%dv = load i32* %d1
-; CHECK: %dv = phi i32 [ 82, %bb1 ], [ 4, %bb ]
-; CHECK-NOT: load
-; CHECK: ret i32 %dv
+; HECK: %dv = phi i32 [ 82, %bb1 ], [ 4, %bb ]
+; HECK-NOT: load
+; HECK: ret i32 %dv
ret i32 %dv
}
More information about the llvm-commits
mailing list