[llvm-commits] [llvm] r136202 - /llvm/trunk/lib/Analysis/AliasSetTracker.cpp
Eli Friedman
eli.friedman at gmail.com
Tue Jul 26 18:02:25 PDT 2011
Author: efriedma
Date: Tue Jul 26 20:02:25 2011
New Revision: 136202
URL: http://llvm.org/viewvc/llvm-project?rev=136202&view=rev
Log:
Minor simplification.
Modified:
llvm/trunk/lib/Analysis/AliasSetTracker.cpp
Modified: llvm/trunk/lib/Analysis/AliasSetTracker.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/AliasSetTracker.cpp?rev=136202&r1=136201&r2=136202&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/AliasSetTracker.cpp (original)
+++ llvm/trunk/lib/Analysis/AliasSetTracker.cpp Tue Jul 26 20:02:25 2011
@@ -185,8 +185,8 @@
for (unsigned i = 0, e = UnknownInsts.size(); i != e; ++i) {
CallSite C1 = getUnknownInst(i), C2 = Inst;
if (!C1 || !C2 ||
- AA.getModRefInfo(getUnknownInst(i), Inst) != AliasAnalysis::NoModRef ||
- AA.getModRefInfo(Inst, getUnknownInst(i)) != AliasAnalysis::NoModRef)
+ AA.getModRefInfo(C1, C2) != AliasAnalysis::NoModRef ||
+ AA.getModRefInfo(C2, C1) != AliasAnalysis::NoModRef)
return true;
}
More information about the llvm-commits
mailing list