diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-12-14 02:54:39 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-12-14 02:54:39 +0000 |
commit | e6109828d795d4dd060200aede9c991735b8e5f3 (patch) | |
tree | f9b8e3c9ea54f89cf535c0b831d657ad32a274bc | |
parent | e08db65c48854748612ba69ee1e50e8d1b2cf43d (diff) | |
download | external_llvm-e6109828d795d4dd060200aede9c991735b8e5f3.zip external_llvm-e6109828d795d4dd060200aede9c991735b8e5f3.tar.gz external_llvm-e6109828d795d4dd060200aede9c991735b8e5f3.tar.bz2 |
Fix a stupid typo in MemDepPrinter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146549 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Analysis/MemDepPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/MemDepPrinter.cpp b/lib/Analysis/MemDepPrinter.cpp index fde07ea..22414b3 100644 --- a/lib/Analysis/MemDepPrinter.cpp +++ b/lib/Analysis/MemDepPrinter.cpp @@ -130,7 +130,7 @@ bool MemDepPrinter::runOnFunction(Function &F) { 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))); |