[Mlir-commits] [mlir] [mlir][math] expand-math pass assumes the static shaped type (PR #128299)
Longsheng Mou
llvmlistbot at llvm.org
Sat Feb 22 00:13:59 PST 2025
================
@@ -222,6 +222,11 @@ static LogicalResult convertFmaFOp(math::FmaOp op, PatternRewriter &rewriter) {
// if (x > y) then incr = 1 else incr = 0
// y = y + incr <= replace this op with the ceilf op.
static LogicalResult convertCeilOp(math::CeilOp op, PatternRewriter &rewriter) {
+ // Creating constants assumes the statis shaped type.
----------------
CoTinker wrote:
The `statis` is a typo.
https://github.com/llvm/llvm-project/pull/128299
More information about the Mlir-commits
mailing list