llvm-project
[HLSL][DirectX] Implement HLSL `mul` function and DXIL lowering of `llvm.matrix.multiply`
#184882
Merged

[HLSL][DirectX] Implement HLSL `mul` function and DXIL lowering of `llvm.matrix.multiply` #184882

Icohedron merged 16 commits into llvm:main from Icohedron:mul
Icohedron
Icohedron Implement HLSL mul function
2491daa6
llvmbot llvmbot added backend:X86
llvmbot llvmbot added clang:frontend
llvmbot llvmbot added clang:headers
llvmbot llvmbot added clang:codegen
llvmbot llvmbot added backend:DirectX
llvmbot llvmbot added HLSL
llvmbot
farzonl
farzonl commented on 2026-03-05
Icohedron Split mul into header and builtin implementations
4a105410
Icohedron Remove redundant mul definitions. Make mul documentation comment cons…
41612f30
Icohedron Icohedron changed the title [HLSL] Implement HLSL `mul` function [HLSL][DirectX] Implement HLSL `mul` function and DXIL lowering of `llvm.matrix.multiply` 9 days ago
Icohedron Icohedron requested a review from farzonl farzonl 9 days ago
github-actions
github-actions
Icohedron Merge remote-tracking branch 'upstream/main' into mul
9613b6d9
Icohedron Relax CHECKs for double vector x double vector mul test
64f025eb
farzonl
farzonl approved these changes on 2026-03-05
Icohedron
Icohedron commented on 2026-03-05
Icohedron Make vector x vector case be implemented by the mul builtin
04e744f4
github-actions
Icohedron Apply clang-format
904d3079
alsepkow
alsepkow commented on 2026-03-06
Icohedron Relax CHECKs for double vector x double vector mul codegen test
f0c2d715
farzonl
farzonl commented on 2026-03-06
farzonl
Icohedron Revert "Relax CHECKs for double vector x double vector mul codegen test"
3e2700bf
Icohedron Revert "Apply clang-format"
90320457
Icohedron Revert "Make vector x vector case be implemented by the mul builtin"
f4e14d37
Icohedron Use __builtin_hlsl_mad for double vector-vector mul
6a8e3bd3
Icohedron Remove TODO for row-major indexing since it is no longer planned in t…
e86abe39
farzonl farzonl requested a review from farzonl farzonl 8 days ago
s-perron
s-perron commented on 2026-03-06
Icohedron Adjust comments and logic of mul to be more clear
93b3cc32
farzonl
farzonl commented on 2026-03-06
Icohedron Use mad instead of builtin_hlsl_mad
0c988039
Icohedron Use fmuladd when lowering double matrix multiply
fb067300
s-perron
s-perron approved these changes on 2026-03-06
Icohedron Icohedron merged 06f7cd43 into main 8 days ago
llvm-ci

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone