[all-commits] [llvm/llvm-project] fc902c: [PowerPC][AIX][NFC] Add zero-sized by val params t...
Sean Fertile via All-commits
all-commits at lists.llvm.org
Fri Mar 20 08:25:31 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: fc902cb6e2b29e50e6cd0e36fbb955d7b6cde43e
https://github.com/llvm/llvm-project/commit/fc902cb6e2b29e50e6cd0e36fbb955d7b6cde43e
Author: Sean Fertile <sd.fertile at gmail.com>
Date: 2020-03-20 (Fri, 20 Mar 2020)
Changed paths:
M llvm/test/CodeGen/PowerPC/aix-cc-byval.ll
Log Message:
-----------
[PowerPC][AIX][NFC] Add zero-sized by val params to cc test.
The zero sized structs force creation of a stack object of size 1, align
8 in the locals area, but otherwise have no effect on the calling convention
code. i.e. They consume no registers or stack space in the paramater save area.
The 32-bit codegen has 8 bytes of padding to fit the new stack object so
stack size stays the same. 64-bit codegen has no padding in the stack
frames allocated so 8 bytes is added, and becuase of 16-byte aligned
stack, the stack size increases from 112 bytes to 128.
More information about the All-commits
mailing list