Fix a "large integer implicitly truncated to unsigned type"

warning.

llvm-svn: 50033
This commit is contained in:
Duncan Sands 2008-04-21 07:35:28 +00:00
parent 00cab5b9a6
commit 5429033c03
1 changed files with 1 additions and 1 deletions

View File

@ -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)