[Mlir-commits] [mlir] [mlir][spir] Add floating point dot product (PR #73466)
Ivan Butygin
llvmlistbot at llvm.org
Sun Nov 26 15:34:29 PST 2023
================
@@ -763,10 +794,15 @@ void mlir::populateVectorToSPIRVPatterns(SPIRVTypeConverter &typeConverter,
VectorReductionFloatMinMax<GL_FLOAT_MAX_MIN_OPS>, VectorShapeCast,
VectorInsertStridedSliceOpConvert, VectorShuffleOpConvert,
VectorSplatPattern, VectorLoadOpConverter, VectorStoreOpConverter>(
- typeConverter, patterns.getContext());
+ typeConverter, patterns.getContext(), PatternBenefit(1));
+
+ // Make sure that the more specialized dot produce pattern has higher benefit
----------------
Hardcode84 wrote:
nit: dot product
https://github.com/llvm/llvm-project/pull/73466
More information about the Mlir-commits
mailing list