[all-commits] [llvm/llvm-project] 52bbbf: [SystemZ] Assign the full space for promoted and ...
Jonas Paulsson via All-commits
all-commits at lists.llvm.org
Tue Mar 2 10:57:34 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 52bbbf4d4459239e0f461bc302ada89e2c5d07fc
https://github.com/llvm/llvm-project/commit/52bbbf4d4459239e0f461bc302ada89e2c5d07fc
Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
Date: 2021-03-02 (Tue, 02 Mar 2021)
Changed paths:
M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
A llvm/test/CodeGen/SystemZ/args-11.ll
Log Message:
-----------
[SystemZ] Assign the full space for promoted and split outgoing args.
When a large "irregular" (e.g. i96) integer call argument is converted to
indirect, 64-bit parts are stored to the stack. The full stack space
(e.g. i128) was not allocated prior to this patch, but rather just the exact
space of the original type. This caused neighboring values on the stack to be
overwritten.
Thanks to Josh Stone for reporting this.
Review: Ulrich Weigand
Fixes https://bugs.llvm.org/show_bug.cgi?id=49322
Differential Revision: https://reviews.llvm.org/D97514
More information about the All-commits
mailing list