diff options
| author | Nick Desaulniers <ndesaulniers@google.com> | 2021-06-08 08:55:50 -0700 |
|---|---|---|
| committer | Nick Desaulniers <ndesaulniers@google.com> | 2021-06-08 08:55:50 -0700 |
| commit | a596b54d471cfde548bdda3925ea2f143f06b964 (patch) | |
| tree | f6bdfeae340ceba95c54a67db11bbd68bf04d377 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | 965ad79ea7d0b98f905a27785a6fd0091b904218 (diff) | |
Revert "[IR] make -stack-alignment= into a module attr"
This reverts commit 433c8d950cb3a1fa0977355ce0367e8c763a3f13.
Breaks the MIPS build.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index c93339a211f3..1f23ce7de52b 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -785,8 +785,6 @@ void CodeGenModule::Release() { if (getCodeGenOpts().StackProtectorGuardOffset != INT_MAX) getModule().setStackProtectorGuardOffset( getCodeGenOpts().StackProtectorGuardOffset); - if (getCodeGenOpts().StackAlignment) - getModule().setOverrideStackAlignment(getCodeGenOpts().StackAlignment); getTargetCodeGenInfo().emitTargetMetadata(*this, MangledDeclNames); |
