[all-commits] [llvm/llvm-project] a09bea: [SPIRV] Add support for `cl_khr_extended_bit_ops` ...
Marcos Maronas via All-commits
all-commits at lists.llvm.org
Tue Feb 11 03:47:00 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a09beae271f209b2038bd503a1347bbf2e802568
https://github.com/llvm/llvm-project/commit/a09beae271f209b2038bd503a1347bbf2e802568
Author: Marcos Maronas <marcos.maronas at intel.com>
Date: 2025-02-11 (Tue, 11 Feb 2025)
Changed paths:
M llvm/lib/Target/SPIRV/SPIRVBuiltins.cpp
M llvm/lib/Target/SPIRV/SPIRVBuiltins.td
A llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_bit_instructions/cl_khr_extended_bit_ops.ll
A llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_bit_instructions/cl_khr_extended_bit_ops_ocl_only.ll
A llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_bit_instructions/cl_khr_extended_bit_ops_spv-friendly_only.ll
A llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_bit_instructions/spirv-friendly_extended_bit_ops.ll
Log Message:
-----------
[SPIRV] Add support for `cl_khr_extended_bit_ops` (#120571)
This PR adds support for `cl_khr_extended_bit_ops` in SPIRV Backend.
Note that `cl_khr_extended_bit_ops` only supports types in
```
char, charn, uchar, ucharn, short, shortn, ushort, ushortn, int, intn, uint, uintn, long, longn, ulong, and ulongn
```
where `n is 2, 3, 4, 8, or 16`.
Subsequent PRs will introduce support for non-standard bit width
required by `SPV_KHR_bit_instructions`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list