Sanity will fail for this, since we're exploring getting a clobber
further than the sanity check expects.
Ideally we need to teach the sanity check to differentiate between the
two walkers based on the SkipSelf bool in the query.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350895
91177308-0d34-0410-b5e6-
96231b3b80d8
}
#ifdef EXPENSIVE_CHECKS
- checkClobberSanity(Current, Result, Q.StartingLoc, MSSA, Q, AA);
+ if (!Q.SkipSelfAccess)
+ checkClobberSanity(Current, Result, Q.StartingLoc, MSSA, Q, AA);
#endif
return Result;
}