mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-28 03:25:23 +00:00
Consistently use AliasAnalysis::UnknownSize instead of hardcoding ~0u.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116815 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -284,7 +284,7 @@ void AliasAnalysis::getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
/// if known, or a conservative value otherwise.
|
||||
///
|
||||
unsigned AliasAnalysis::getTypeStoreSize(const Type *Ty) {
|
||||
return TD ? TD->getTypeStoreSize(Ty) : ~0u;
|
||||
return TD ? TD->getTypeStoreSize(Ty) : UnknownSize;
|
||||
}
|
||||
|
||||
/// canBasicBlockModify - Return true if it is possible for execution of the
|
||||
|
Reference in New Issue
Block a user