diff options
author | Arthur Eubanks <aeubanks@google.com> | 2021-10-08 16:34:22 -0700 |
---|---|---|
committer | Arthur Eubanks <aeubanks@google.com> | 2021-10-08 16:35:19 -0700 |
commit | a0a493518245fa20fe15703a1be6babcb0c43c0a (patch) | |
tree | 5ae03346fd865a5a7d559128c2ca392a46e09458 /llvm/lib/CodeGen/TargetLoweringBase.cpp | |
parent | b80f2dfd11e2d73852f9f4fc96700fc6517e4e81 (diff) | |
download | llvm-a0a493518245fa20fe15703a1be6babcb0c43c0a.zip llvm-a0a493518245fa20fe15703a1be6babcb0c43c0a.tar.gz llvm-a0a493518245fa20fe15703a1be6babcb0c43c0a.tar.bz2 |
Make more places that use alignment use uint64_t
Followup to D110451.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetLoweringBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringBase.cpp b/llvm/lib/CodeGen/TargetLoweringBase.cpp index ba05552..ecc888d 100644 --- a/llvm/lib/CodeGen/TargetLoweringBase.cpp +++ b/llvm/lib/CodeGen/TargetLoweringBase.cpp @@ -1695,7 +1695,7 @@ void llvm::GetReturnInfo(CallingConv::ID CC, Type *ReturnType, /// getByValTypeAlignment - Return the desired alignment for ByVal aggregate /// function arguments in the caller parameter area. This is the actual /// alignment, not its logarithm. -unsigned TargetLoweringBase::getByValTypeAlignment(Type *Ty, +uint64_t TargetLoweringBase::getByValTypeAlignment(Type *Ty, const DataLayout &DL) const { return DL.getABITypeAlign(Ty).value(); } |