diff options
| author | Guillaume Chatelet <gchatelet@google.com> | 2020-06-08 07:25:57 +0000 |
|---|---|---|
| committer | Guillaume Chatelet <gchatelet@google.com> | 2020-06-08 14:49:39 +0000 |
| commit | 54076610dc45b3b86e6ac957945e968c93826efc (patch) | |
| tree | 4fc638d5c071ffa10eabeb7021893e5fd3194fce /llvm/lib/CodeGen/CallingConvLower.cpp | |
| parent | fcf6ae2f070eba73074b6ec8d8281e54d29dbeeb (diff) | |
[Alignment][NFC] Deprecate dead code from CallingConvLower.h
Summary: This is a followup on D81196.
Reviewers: courbet
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D81362
Diffstat (limited to 'llvm/lib/CodeGen/CallingConvLower.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/CallingConvLower.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CallingConvLower.cpp b/llvm/lib/CodeGen/CallingConvLower.cpp index 366cd985ecf3..3d8c2c8b00aa 100644 --- a/llvm/lib/CodeGen/CallingConvLower.cpp +++ b/llvm/lib/CodeGen/CallingConvLower.cpp @@ -52,7 +52,7 @@ void CCState::HandleByVal(unsigned ValNo, MVT ValVT, MVT LocVT, ensureMaxAlignment(Alignment); MF.getSubtarget().getTargetLowering()->HandleByVal(this, Size, Alignment); Size = unsigned(alignTo(Size, MinAlign)); - unsigned Offset = AllocateStack(Size, Alignment.value()); + unsigned Offset = AllocateStack(Size, Alignment); addLoc(CCValAssign::getMem(ValNo, ValVT, Offset, LocVT, LocInfo)); } |
