diff options
author | jeanPerier <jperier@nvidia.com> | 2025-03-12 09:55:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-12 09:55:05 +0100 |
commit | 15e335f04fba3d16e195c055952649f8852e3b35 (patch) | |
tree | 3351cacc097c2c18338b0425a0e753da3b7838ab /llvm/lib/CodeGen/CodeGen.cpp | |
parent | c9563a422cea44f0b00fdcd5085666442f8f24f8 (diff) | |
download | llvm-15e335f04fba3d16e195c055952649f8852e3b35.zip llvm-15e335f04fba3d16e195c055952649f8852e3b35.tar.gz llvm-15e335f04fba3d16e195c055952649f8852e3b35.tar.bz2 |
[flang] also set llvm ABI argument attributes on direct calls (#130736)
So far, flang was not setting argument attributes on direct calls
assuming that putting them on the function operation was enough.
It was clarified in
https://github.com/llvm/llvm-project/commit/38565da5259729898c2a552d54b72f3314241734
that they must be set on both call and functions, even for direct calls.
Crashes have been observed because of the lack of the attribute when
compiling `abs(x)` at `O2` and above on X86-64 for complex(16).
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions