llvm-project
da17ced1 - [DirectX] Use scalar arguments for @llvm.dx.dot intrinsics (#134570)

Commit
343 days ago
[DirectX] Use scalar arguments for @llvm.dx.dot intrinsics (#134570) The `dx.dot2`, `dot3`, and `dot4` intrinsics exist purely to lower `dx.fdot`, and they map exactly to the DXIL ops of the same name. Using vectors for their arguments adds unnecessary complexity and causes us to have vector operations that are not trivial to lower post-scalarizer. Similarly, the `dx.dot2add` intrinsic is overly generic for something that only needs to lower to a single `dot2AddHalf` DXIL op. Update its signature to match the operation it lowers to. Fixes #134569.
Author
Parents
Loading