[all-commits] [llvm/llvm-project] 10a57f: [mlir][math] Expand powfI operation for constant p...
Prashant Kumar via All-commits
all-commits at lists.llvm.org
Mon Apr 1 00:48:50 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 10a57f3aff34be6ab43106dc1e45ace3f6da881c
https://github.com/llvm/llvm-project/commit/10a57f3aff34be6ab43106dc1e45ace3f6da881c
Author: Prashant Kumar <pk5561 at gmail.com>
Date: 2024-04-01 (Mon, 01 Apr 2024)
Changed paths:
M mlir/include/mlir/Dialect/Math/Transforms/Passes.h
M mlir/lib/Dialect/Math/Transforms/ExpandPatterns.cpp
M mlir/test/Dialect/Math/expand-math.mlir
M mlir/test/lib/Dialect/Math/TestExpandMath.cpp
Log Message:
-----------
[mlir][math] Expand powfI operation for constant power operand. (#87081)
-- Convert `math.fpowi` to a series of `arith.mulf` operations.
-- If the power is negative, we divide the result by 1.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list