[all-commits] [llvm/llvm-project] 0193a7: [SystemZ] Assign the full space for promoted and ...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Mon Jun 21 10:53:56 PDT 2021


  Branch: refs/heads/release/12.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 0193a7da8bdaa9ffcc5bdefd5516c162bb26ab6b
      https://github.com/llvm/llvm-project/commit/0193a7da8bdaa9ffcc5bdefd5516c162bb26ab6b
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2021-06-21 (Mon, 21 Jun 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

(cherry picked from commit 52bbbf4d4459239e0f461bc302ada89e2c5d07fc)




More information about the All-commits mailing list