It is safe to fold when extending, as we will not lose precision.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D144251
[mlir][arith] Fold on extension of FP constants using arith.extf ClosedPublic Authored by victor-eds on Feb 17 2023, 2:20 AM.
Details Summary It is safe to fold when extending, as we will not lose precision.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 21 2023, 11:58 AM Closed by commit rG6fa26f60c55d: [mlir][arith] Fold on extension of FP constants using arith.extf (authored by victor-eds). · Explain WhyFeb 23 2023, 4:40 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 498294 mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
mlir/lib/Dialect/Arith/IR/ArithOps.cpp
mlir/test/Dialect/Arith/canonicalize.mlir
|