MLIR 22.0.0git
FoldAddIntoDest.cpp File Reference

Go to the source code of this file.

Classes

struct  FoldAddIntoDest
 Replace a linalg.add with one operand the single user of a contraction, which has a zero-filled, "identity-mapped" destination and is dominated by the other operand, by the contraction with other as its dest. More...

Functions

static bool isDefinedAsZero (Value val)

Function Documentation

◆ isDefinedAsZero()