diff options
author | Peter Klausler <35819229+klausler@users.noreply.github.com> | 2024-06-03 14:13:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-03 14:13:45 -0700 |
commit | ea2c88f51297eb0ef8d352d650bb71b0292d9898 (patch) | |
tree | 81d7780bcbb13ff87c2afb8ebf82e074a641e35d /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | caa0a2695e6caa4da088f6f933ac45839d425656 (diff) | |
download | llvm-ea2c88f51297eb0ef8d352d650bb71b0292d9898.zip llvm-ea2c88f51297eb0ef8d352d650bb71b0292d9898.tar.gz llvm-ea2c88f51297eb0ef8d352d650bb71b0292d9898.tar.bz2 |
[flang] Improve handling of NULL() arguments to intrinsics (#93866)
Some intrinsics (extends_type_of, same_type_as) can accept a NULL actual
argument so long as it has a MOLD=. Some intrinsics that are marked in
the intrinsics table as accepting a NULL actual argument already should
only do so if it has a MOLD=. Distinguish table entries that accept a
NULL() only with a MOLD= from the few others that allow a bare NULL()
and update tests.
Fixes https://github.com/llvm/llvm-project/issues/93845.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions