[llvm-commits] [llvm] r74401 - in /llvm/trunk: include/llvm/Analysis/LoopDependenceAnalysis.h lib/Analysis/LoopDependenceAnalysis.cpp
Andreas Bolka
andreas.bolka at gmx.net
Mon Jun 29 11:31:49 PDT 2009
On Mon Jun 29 18:28:29 +0200 2009, Devang Patel wrote:
> On Sat, Jun 27, 2009 at 5:21 PM, Andreas Bolka wrote:
> > +
> > +static inline bool isMemRefInstr(const Value *I) {
> > + return isa<LoadInst>(I) || isa<StoreInst>(I);
> > +}
> > +
>
> Pl. use Instruction::mayWriteToMemory() and
> Instruction::mayReadFromMemory() to check memory reference.
Ok.
--
Andreas
More information about the llvm-commits
mailing list