aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/llvm/lib/Target/ARC/ARCMachineFunctionInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Target/ARC/ARCMachineFunctionInfo.h')
-rw-r--r--contrib/llvm-project/llvm/lib/Target/ARC/ARCMachineFunctionInfo.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/contrib/llvm-project/llvm/lib/Target/ARC/ARCMachineFunctionInfo.h b/contrib/llvm-project/llvm/lib/Target/ARC/ARCMachineFunctionInfo.h
index d4dcf9bf285c..968c6b63f423 100644
--- a/contrib/llvm-project/llvm/lib/Target/ARC/ARCMachineFunctionInfo.h
+++ b/contrib/llvm-project/llvm/lib/Target/ARC/ARCMachineFunctionInfo.h
@@ -33,10 +33,7 @@ public:
explicit ARCFunctionInfo(MachineFunction &MF)
: ReturnStackOffsetSet(false), VarArgsFrameIndex(0),
- ReturnStackOffset(-1U), MaxCallStackReq(0) {
- // Functions are 4-byte aligned.
- MF.setAlignment(Align(4));
- }
+ ReturnStackOffset(-1U), MaxCallStackReq(0) {}
~ARCFunctionInfo() {}