diff options
author | Alex Voicu <alexandru.voicu@amd.com> | 2025-06-25 11:22:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-25 11:22:59 +0100 |
commit | 992f0d12255a4a9ae18e45f09700097cbd3739b5 (patch) | |
tree | 8fae6e7170bb6d3285cb0347dfb16d6fc72f0a30 /lldb/packages/Python/lldbsuite/test | |
parent | eeb206d688b70da9e40a0caf4e4838c4bb54584f (diff) | |
download | llvm-992f0d12255a4a9ae18e45f09700097cbd3739b5.zip llvm-992f0d12255a4a9ae18e45f09700097cbd3739b5.tar.gz llvm-992f0d12255a4a9ae18e45f09700097cbd3739b5.tar.bz2 |
[Clang][SPIRV][AMDGPU] Override `supportsLibCall` for AMDGCNSPIRV (#143814)
The `supportsLibCall` predicate is used to select whether some math builtins get expanded in the FE or they get lowered into libcalls. The default implementation unconditionally returns true, which is problematic for AMDGCN-flavoured SPIRV, as AMDGPU does not support any libcalls at the moment. This change overrides the predicate in order to reflect this and correctly do the expected FE expansion when targeting AMDGCN-flavoured SPIRV.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions