aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorKai Luo <lkail@cn.ibm.com>2020-07-22 04:13:18 +0000
committerKai Luo <lkail@cn.ibm.com>2020-07-22 06:35:12 +0000
commit8912252252c87d8ef6623ecf9fdde444560ee4b9 (patch)
tree843804c68711f42ebc31413104bda09e87e7b79a /clang/lib/Frontend/CompilerInvocation.cpp
parente9f5ca0b7977bb3886feae0d35617a0ea9349a2a (diff)
downloadllvm-8912252252c87d8ef6623ecf9fdde444560ee4b9.zip
llvm-8912252252c87d8ef6623ecf9fdde444560ee4b9.tar.gz
llvm-8912252252c87d8ef6623ecf9fdde444560ee4b9.tar.bz2
[PowerPC] Fix wrong codegen when stack pointer has to realign in prologue
Current powerpc backend generates wrong code sequence if stack pointer has to realign if -fstack-clash-protection enabled. When probing in prologue, backend should generate a subtraction instruction rather than a `stux` instruction to realign the stack pointer. This patch is part of fix of https://bugs.llvm.org/show_bug.cgi?id=46759. Differential Revision: https://reviews.llvm.org/D84218
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions