[llvm] [SPIR-V] Support all the instructions of SPV_KHR_integer_dot_product (PR #123792)

Dmitry Sidorov via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 23 09:31:20 PST 2025


================
@@ -1715,3 +1718,47 @@ class CLMemoryFenceFlags<bits<32> value> {
 def CLK_LOCAL_MEM_FENCE : CLMemoryFenceFlags<0x1>;
 def CLK_GLOBAL_MEM_FENCE : CLMemoryFenceFlags<0x2>;
 def CLK_IMAGE_MEM_FENCE : CLMemoryFenceFlags<0x4>;
+
+//===----------------------------------------------------------------------===//
+// Class defining dot builtins that should be translated into a
+// SPIR-V instruction using the SPV_KHR_integer_dot_product extension.
----------------
MrSidims wrote:

```suggestion
// SPIR-V instruction using SPIR-V 1.6 or the SPV_KHR_integer_dot_product extension.
```

https://github.com/llvm/llvm-project/pull/123792


More information about the llvm-commits mailing list