[clang] [llvm] [HLSL][DXIL][SPIRV] Create llvm dot intrinsic and use for HLSL (PR #102872)
Thorsten Schütt via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 16 11:05:15 PDT 2024
================
@@ -303,6 +303,14 @@ SPIRVLegalizerInfo::SPIRVLegalizerInfo(const SPIRVSubtarget &ST) {
getActionDefinitionsBuilder(G_FPOWI).legalForCartesianProduct(
allFloatScalarsAndVectors, allIntScalarsAndVectors);
+ getActionDefinitionsBuilder(G_FDOTPROD)
+ .legalForCartesianProduct(allFloatScalarsAndVectors,
----------------
tschuett wrote:
I am not convinced that this is correct. Are you ruling out vectors for the sum type?
https://github.com/llvm/llvm-project/pull/102872
More information about the cfe-commits
mailing list