mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Add a convenient form of AliasAnalysis::alias for the case where the sizes
are unknown. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110090 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -246,8 +246,7 @@ void Lint::visitCallSite(CallSite CS) {
|
||||
// where nothing is known.
|
||||
if (Formal->hasNoAliasAttr() && Actual->getType()->isPointerTy())
|
||||
for (CallSite::arg_iterator BI = CS.arg_begin(); BI != AE; ++BI) {
|
||||
Assert1(AI == BI ||
|
||||
AA->alias(*AI, ~0u, *BI, ~0u) != AliasAnalysis::MustAlias,
|
||||
Assert1(AI == BI || AA->alias(*AI, *BI) != AliasAnalysis::MustAlias,
|
||||
"Unusual: noalias argument aliases another argument", &I);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user