[llvm-commits] [llvm] r51613 - /llvm/trunk/lib/Analysis/SparsePropagation.cpp
Dan Gohman
gohman at apple.com
Tue May 27 13:55:30 PDT 2008
Author: djg
Date: Tue May 27 15:55:29 2008
New Revision: 51613
URL: http://llvm.org/viewvc/llvm-project?rev=51613&view=rev
Log:
Use Function::getEntryBlock instead of Function::begin, for clarity.
Modified:
llvm/trunk/lib/Analysis/SparsePropagation.cpp
Modified: llvm/trunk/lib/Analysis/SparsePropagation.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/SparsePropagation.cpp?rev=51613&r1=51612&r2=51613&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/SparsePropagation.cpp (original)
+++ llvm/trunk/lib/Analysis/SparsePropagation.cpp Tue May 27 15:55:29 2008
@@ -272,7 +272,7 @@
}
void SparseSolver::Solve(Function &F) {
- MarkBlockExecutable(F.begin());
+ MarkBlockExecutable(&F.getEntryBlock());
// Process the work lists until they are empty!
while (!BBWorkList.empty() || !InstWorkList.empty()) {
More information about the llvm-commits
mailing list