diff options
author | Stefan Pintilie <stefanp@ca.ibm.com> | 2024-12-12 09:43:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-12 09:43:53 -0500 |
commit | 67eb05b2928ea707761bb040e6eb824f4ca9ef3a (patch) | |
tree | 5ca2a795e78fb0dcadf43d8cd6d9739d84cc3ae9 /llvm/docs/tutorial | |
parent | bb1961ed7779e782f4c28ee38854decf6f53c82f (diff) | |
download | llvm-67eb05b2928ea707761bb040e6eb824f4ca9ef3a.zip llvm-67eb05b2928ea707761bb040e6eb824f4ca9ef3a.tar.gz llvm-67eb05b2928ea707761bb040e6eb824f4ca9ef3a.tar.bz2 |
[PowerPC] Add special handling for arguments that are smaller than pointer size. (#119003)
When arguments are passed in memory instead of registers we currently
load the entire pointer size even though the argument may be smaller.
For exmaple if the pointer size if i32 then we use a load word even if
the argument is only an i8. This patch zeros / extends the bits that are
not required to ensure that we are getting the correct value even if the
load is larger.
Diffstat (limited to 'llvm/docs/tutorial')
0 files changed, 0 insertions, 0 deletions