diff options
author | Joseph Huber <huberjn@outlook.com> | 2025-06-02 08:12:20 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-02 08:12:20 -0500 |
commit | b26baf1779cae380040051932e7134371e3058d3 (patch) | |
tree | 20e81e7bea444b7df40a7a2adf063a5a25a47e67 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 71093b84dcd28c8db6ced7d6615977a9d850abc9 (diff) | |
download | llvm-b26baf1779cae380040051932e7134371e3058d3.zip llvm-b26baf1779cae380040051932e7134371e3058d3.tar.gz llvm-b26baf1779cae380040051932e7134371e3058d3.tar.bz2 |
[Offload] Make AMDGPU plugin handle empty allocation properly (#142383)
Summary:
`malloc(0)` and `free(nullptr)` are both defined by the standard but we
current trigger erros and assertions on them. Fix that so this works
with empty arguments.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions