[llvm-commits] [llvm] r118409 - /llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
Duncan Sands
baldrick at free.fr
Mon Nov 8 08:20:33 PST 2010
Hi Dan,
> Teach BasicAliasAnalysis::getModRefBehavior(const Function *F)
> to analyze intrinsic functions.
> + // For intrinsics, we can check the table.
> + if (unsigned iid = F->getIntrinsicID()) {
> +#define GET_INTRINSIC_MODREF_BEHAVIOR
> +#include "llvm/Intrinsics.gen"
> +#undef GET_INTRINSIC_MODREF_BEHAVIOR
> + }
alias analysis exports this logic as AliasAnalysis::getIntrinsicModRefBehavior.
Can't you just use that?
Ciao,
Duncan.
More information about the llvm-commits
mailing list