|
MLIR-AIE 1.4.5.dev
|
Pattern to fold an f32 multiply into the add that is its only user, as a vector.fma with bf16 inputs. More...
Public Member Functions | |
| LogicalResult | matchAndRewrite (arith::AddFOp op, PatternRewriter &rewriter) const override |
Pattern to fold an f32 multiply into the add that is its only user, as a vector.fma with bf16 inputs.
Only when both ops allow contraction: the fused result can differ where the product underflows or overflows.
Definition at line 893 of file VectorToVectorConversions.cpp.
|
inlineoverride |
Definition at line 896 of file VectorToVectorConversions.cpp.