diff options
author | jeanPerier <jperier@nvidia.com> | 2024-07-24 10:24:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-24 10:24:04 +0200 |
commit | 1ead51a86c6c746a1b9948ca1ee142df223ffebd (patch) | |
tree | 609c6c0863229448b8d6bb3835a154555e5e7664 /llvm/lib | |
parent | a3de21cac1fb8f1dd98cfe1d1443e2d3f0a97351 (diff) | |
download | llvm-1ead51a86c6c746a1b9948ca1ee142df223ffebd.zip llvm-1ead51a86c6c746a1b9948ca1ee142df223ffebd.tar.gz llvm-1ead51a86c6c746a1b9948ca1ee142df223ffebd.tar.bz2 |
[flang] fix C_PTR function result lowering (#100082)
Functions returning C_PTR were lowered to function returning intptr (i64
on 64bit arch). This caused conflicts when these functions were defined
as returning !fir.ref<none>/llvm.ptr in other compiler generated
contexts (e.g., malloc).
Lower them to return !fir.ref<none>.
This should deal with https://github.com/llvm/llvm-project/issues/97325
and https://github.com/llvm/llvm-project/issues/98644.
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions