diff --git a/llvm/lib/Transforms/IPO/AttributorAttributes.cpp b/llvm/lib/Transforms/IPO/AttributorAttributes.cpp --- a/llvm/lib/Transforms/IPO/AttributorAttributes.cpp +++ b/llvm/lib/Transforms/IPO/AttributorAttributes.cpp @@ -5928,7 +5928,7 @@ Size = AI.CB->getOperand(0); } - Align Alignment(1); + Align Alignment(16); if (AI.Kind == AllocationInfo::AllocationKind::ALIGNED_ALLOC) { Optional AlignmentAPI = getAPInt(A, *this, *AI.CB->getArgOperand(0));