llvm-test-suite compiled with CFLAGS="-fstack-clash-protection" CXX="-fstack-clash-protection" on a powerpc64le machine, test ``` MultiSource/UnitTests/C++11/frame_layout/frame_layout.test ``` fails. Reduced IR ``` ; ModuleID = 'bugpoint-reduced-simplified.bc' source_filename = "../../MultiSource/UnitTests/C++11/frame_layout/frame_layout.cpp" target datalayout = "e-m:e-i64:64-n32:64" target triple = "powerpc64le-unknown-linux-gnu" $_Z10test_frameILj4096ELb1ELj2048ELb0ELb0EJEEvDpT4_jPKcP13trace_elementd = comdat any define dso_local void @_Z10test_frameILj4096ELb1ELj2048ELb0ELb0EJEEvDpT4_jPKcP13trace_elementd(i32 %vla_size) local_unnamed_addr #0 comdat { entry: %0 = zext i32 %vla_size to i64 %vla = alloca i8, i64 %0, align 2048 %1 = load volatile i8, i8* %vla, align 2048 ret void } attributes #0 = { "probe-stack"="inline-asm" } ```
Hi Hans, could you help merge ``` commit 8912252252c87d8ef6623ecf9fdde444560ee4b9 Author: Kai Luo <lkail@cn.ibm.com> Date: Wed Jul 22 04:13:18 2020 +0000 [PowerPC] Fix wrong codegen when stack pointer has to realign in prologue ``` and ``` commit c3f9697f1f227296818fbaf1a770a29842ea454c Author: Kai Luo <lkail@cn.ibm.com> Date: Wed Jul 22 04:16:20 2020 +0000 [PowerPC] Fix wrong codegen when stack pointer has to realign performing dynalloc ``` into release/11.x, thanks!
Pushed those and the test case in 817767abe to 11.x as ba5bbd4bd00f8aacf379cdcb738b149a1f63166a e95e071b6b68929527570cb830e5f3bc8b992e04 c522fd02da1b0dcadeae041d12fe35e52ce0973f.
Oops, I forgot the precommitted test. Thanks Hans.