mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Silence compiler warnings.
llvm-svn: 90319
This commit is contained in:
parent
6f4a280987
commit
65c962b3aa
@ -196,7 +196,7 @@ getPointerDependencyFrom(Value *MemPtr, uint64_t MemSize, bool isLoad,
|
|||||||
// pointer, not on query pointers that are indexed off of them. It'd
|
// pointer, not on query pointers that are indexed off of them. It'd
|
||||||
// be nice to handle that at some point.
|
// be nice to handle that at some point.
|
||||||
AliasAnalysis::AliasResult R =
|
AliasAnalysis::AliasResult R =
|
||||||
AA->alias(II->getOperand(3), ~0ULL, MemPtr, ~0ULL);
|
AA->alias(II->getOperand(3), ~0U, MemPtr, ~0U);
|
||||||
if (R == AliasAnalysis::MustAlias) {
|
if (R == AliasAnalysis::MustAlias) {
|
||||||
InvariantTag = II->getOperand(1);
|
InvariantTag = II->getOperand(1);
|
||||||
continue;
|
continue;
|
||||||
@ -209,7 +209,7 @@ getPointerDependencyFrom(Value *MemPtr, uint64_t MemSize, bool isLoad,
|
|||||||
// pointer, not on query pointers that are indexed off of them. It'd
|
// pointer, not on query pointers that are indexed off of them. It'd
|
||||||
// be nice to handle that at some point.
|
// be nice to handle that at some point.
|
||||||
AliasAnalysis::AliasResult R =
|
AliasAnalysis::AliasResult R =
|
||||||
AA->alias(II->getOperand(2), ~0ULL, MemPtr, ~0ULL);
|
AA->alias(II->getOperand(2), ~0U, MemPtr, ~0U);
|
||||||
if (R == AliasAnalysis::MustAlias)
|
if (R == AliasAnalysis::MustAlias)
|
||||||
return MemDepResult::getDef(II);
|
return MemDepResult::getDef(II);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user