Sumit Agarwal
996cf5dc67
[HLSL] Implement dot2add intrinsic ( #131237 )
...
Resolves #99221
Key points: For SPIRV backend, it decompose into a `dot` followed a
`add`.
- [x] Implement dot2add clang builtin,
- [x] Link dot2add clang builtin with hlsl_intrinsics.h
- [x] Add sema checks for dot2add to CheckHLSLBuiltinFunctionCall in
SemaHLSL.cpp
- [x] Add codegen for dot2add to EmitHLSLBuiltinExpr in CGBuiltin.cpp
- [x] Add codegen tests to clang/test/CodeGenHLSL/builtins/dot2add.hlsl
- [x] Add sema tests to clang/test/SemaHLSL/BuiltIns/dot2add-errors.hlsl
- [x] Create the int_dx_dot2add intrinsic in IntrinsicsDirectX.td
- [x] Create the DXILOpMapping of int_dx_dot2add to 162 in DXIL.td
- [x] Create the dot2add.ll and dot2add_errors.ll tests in
llvm/test/CodeGen/DirectX/
2025-04-03 16:23:09 -06:00
..
2025-03-24 12:33:54 -07:00
2025-03-20 11:07:54 -07:00
2025-01-23 21:35:34 -08:00
2025-03-18 10:11:01 -07:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2024-11-22 10:23:30 -08:00
2025-01-21 17:33:45 -08:00
2024-10-18 21:16:50 +01:00
2024-11-06 11:32:07 -08:00
2025-01-21 17:33:45 -08:00
2025-01-08 16:56:05 -08:00
2025-03-16 09:47:48 +00:00
2025-03-06 13:18:06 -08:00
2025-01-12 18:52:20 -07:00
2025-03-06 13:18:06 -08:00
2025-01-21 17:33:45 -08:00
2025-02-26 09:43:30 -08:00
2025-02-26 09:43:30 -08:00
2025-01-21 17:33:45 -08:00
2025-02-25 16:09:41 -05:00
2025-01-21 17:33:45 -08:00
2024-10-17 12:54:52 -06:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-03-13 09:29:37 -07:00
2025-03-13 09:29:37 -07:00
2025-03-16 09:47:48 +00:00
2024-10-10 16:34:26 -07:00
2024-11-14 23:34:07 -08:00
2025-02-25 16:09:41 -05:00
2025-04-03 16:23:09 -06:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2024-09-12 15:53:50 -04:00
2024-11-06 11:32:07 -08:00
2025-01-21 17:33:45 -08:00
2024-09-12 15:53:50 -04:00
2025-01-21 17:33:45 -08:00
2024-10-17 12:54:52 -06:00
2024-12-02 12:08:14 -08:00
2024-10-17 12:54:52 -06:00
2024-10-17 12:54:52 -06:00
2025-01-21 17:33:45 -08:00
2025-01-15 15:36:50 -07:00
2025-01-15 15:36:50 -07:00
2024-11-06 07:31:39 -08:00
2024-11-06 07:31:39 -08:00
2024-11-18 13:56:33 -08:00
2024-12-18 16:33:49 -05:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2024-10-17 12:54:52 -06:00
2025-01-21 17:33:45 -08:00
2024-12-01 22:31:40 -08:00
2025-03-24 16:17:19 -07:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-03-17 20:33:02 -04:00
2025-03-17 20:33:02 -04:00
2024-09-23 19:00:20 -04:00
2024-09-23 19:00:20 -04:00
2024-10-02 15:55:40 -04:00
2025-03-17 20:33:02 -04:00
2025-03-17 20:33:02 -04:00
2024-11-13 16:36:24 -05:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2024-11-06 11:32:07 -08:00
2025-01-21 17:33:45 -08:00
2024-10-18 21:16:50 +01:00
2024-10-18 21:16:50 +01:00
2024-10-17 12:54:52 -06:00
2024-10-02 15:55:40 -04:00
2024-10-07 10:33:35 -07:00
2025-01-08 16:56:05 -08:00
2025-03-16 09:47:48 +00:00
2025-01-12 18:52:20 -07:00
2025-01-12 18:52:20 -07:00
2025-03-29 00:45:11 -04:00
2025-03-17 20:33:02 -04:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2024-12-18 16:33:49 -05:00
2024-11-13 16:36:24 -05:00
2024-12-18 16:33:49 -05:00
2024-11-13 16:36:24 -05:00
2025-03-17 20:33:02 -04:00
2024-10-02 15:55:40 -04:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2024-11-06 11:32:07 -08:00
2024-09-23 19:00:20 -04:00
2024-10-17 12:54:52 -06:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2024-09-23 19:00:20 -04:00
2025-03-05 17:04:10 -08:00
2025-03-05 17:04:10 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-02-25 16:09:41 -05:00
2024-12-17 17:32:50 -05:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-27 23:26:56 -08:00
2025-01-16 10:35:23 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00
2025-01-21 17:33:45 -08:00