Fix a "large integer implicitly truncated to unsigned type"
warning. llvm-svn: 50033
This commit is contained in:
parent
00cab5b9a6
commit
5429033c03
|
@ -264,7 +264,7 @@ BasicAliasAnalysis::getModRefInfo(CallSite CS, Value *P, unsigned Size) {
|
|||
CI != CE; ++CI)
|
||||
if (isa<PointerType>((*CI)->getType()) &&
|
||||
( getUnderlyingObject(*CI) == P ||
|
||||
alias(cast<Value>(CI), ~0UL, P, ~0UL) != NoAlias) )
|
||||
alias(cast<Value>(CI), ~0U, P, ~0U) != NoAlias) )
|
||||
passedAsArg = true;
|
||||
|
||||
if (!passedAsArg)
|
||||
|
|
Loading…
Reference in New Issue