Logo
Explore Help
Sign In
shylie/llvm-project
1
0
Fork 0
You've already forked llvm-project
Code Issues Pull Requests Actions 6 Packages Projects Releases Wiki Activity
llvm-project/mlir/test/Dialect/Math
History
Christopher Bate a92e3df300
[mlir][math] Fix math.powf expansion case for pow(x, 0) (#119015)
Lowering `math.powf` to `llvm.intr.powf` will result in `pow(x, 0) =
1`, even for `x=0`. When using the Math dialect expansion patterns,
`pow(0, 0)` will result in `-nan`, however, This change adds two
additional instructions to the lowering to ensure the `pow(x, 0)` case
lowers to to `1` regardless of the value of `x`.

Resolves https://github.com/llvm/llvm-project/issues/118945.
2024-12-09 14:52:55 -07:00
..
algebraic-simplification.mlir
[mlir][Transforms] GreedyPatternRewriteDriver: Do not CSE constants during iterations (#75897)
2024-01-05 09:22:18 +01:00
canonicalize_ipowi.mlir
[mlir][vector] add result type to vector.extract assembly format (#66499)
2023-09-28 11:11:16 +01:00
canonicalize.mlir
…
depends-on-arith.mlir
…
expand-math.mlir
[mlir][math] Fix math.powf expansion case for pow(x, 0) (#119015)
2024-12-09 14:52:55 -07:00
extend-to-supported-types-f16.mlir
[mlir] Refactor LegalizeToF32 to specify extra supported float types and target type as arguments (#108815)
2024-09-27 10:02:16 -05:00
extend-to-supported-types.mlir
[mlir] Refactor LegalizeToF32 to specify extra supported float types and target type as arguments (#108815)
2024-09-27 10:02:16 -05:00
ops.mlir
…
polynomial-approximation.mlir
[mlir][Math] Fix 0-rank support for PolynomialApproximation (#114826)
2024-11-05 09:40:52 +00:00
uplift-to-fma.mlir
…
Powered by Gitea Version: 1.23.1 Page: 1025ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API