[llvm-commits] [llvm] r146549 - /llvm/trunk/lib/Analysis/MemDepPrinter.cpp
Eli Friedman
eli.friedman at gmail.com
Tue Dec 13 18:54:39 PST 2011
Author: efriedma
Date: Tue Dec 13 20:54:39 2011
New Revision: 146549
URL: http://llvm.org/viewvc/llvm-project?rev=146549&view=rev
Log:
Fix a stupid typo in MemDepPrinter.
Modified:
llvm/trunk/lib/Analysis/MemDepPrinter.cpp
Modified: llvm/trunk/lib/Analysis/MemDepPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/MemDepPrinter.cpp?rev=146549&r1=146548&r2=146549&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/MemDepPrinter.cpp (original)
+++ llvm/trunk/lib/Analysis/MemDepPrinter.cpp Tue Dec 13 20:54:39 2011
@@ -130,7 +130,7 @@
AliasAnalysis::Location Loc = AA.getLocation(LI);
MDA.getNonLocalPointerDependency(Loc, true, LI->getParent(), NLDI);
} else if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) {
- if (!LI->isUnordered()) {
+ if (!SI->isUnordered()) {
// FIXME: Handle atomic/volatile stores.
Deps[Inst].insert(std::make_pair(getInstTypePair(0, Unknown),
static_cast<BasicBlock *>(0)));
More information about the llvm-commits
mailing list