[PATCH] D33125: Introduce isoneof<T0, T1, ...> as an extension of isa<T>
Noel Grandin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 12 12:44:14 PDT 2017
grandinj added inline comments.
================
Comment at: lib/Analysis/MemoryDependenceAnalysis.cpp:747
MemLoc, isLoad, ScanPos->getIterator(), QueryParent, QueryInst);
- } else if (isa<CallInst>(QueryInst) || isa<InvokeInst>(QueryInst)) {
- CallSite QueryCS(QueryInst);
+ } else if (CallSite QueryCS{QueryInst}) {
bool isReadOnly = AA.onlyReadsMemory(QueryCS);
----------------
accidental delete?
Repository:
rL LLVM
https://reviews.llvm.org/D33125
More information about the llvm-commits
mailing list