[all-commits] [llvm/llvm-project] 6fa26f: [mlir][arith] Fold on extension of FP constants us...

vic via All-commits all-commits at lists.llvm.org
Thu Feb 23 04:40:23 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6fa26f60c55d4d7ba0bfc5353a8f7583da9d4b9a
      https://github.com/llvm/llvm-project/commit/6fa26f60c55d4d7ba0bfc5353a8f7583da9d4b9a
  Author: Victor Perez <victor.perez at codeplay.com>
  Date:   2023-02-23 (Thu, 23 Feb 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Arith/IR/ArithOps.td
    M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
    M mlir/test/Dialect/Arith/canonicalize.mlir

  Log Message:
  -----------
  [mlir][arith] Fold on extension of FP constants using arith.extf

It is safe to fold when extending, as we will not lose precision.

Differential Revision: https://reviews.llvm.org/D144251




More information about the All-commits mailing list