[all-commits] [llvm/llvm-project] ca8997: [MLIR] Add constant folder for fptosi and friends

William Moses via All-commits all-commits at lists.llvm.org
Tue Dec 28 20:50:18 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ca8997eb7f6858768c58f538de3a5c85c8fad7ea
  Author: William S. Moses <gh at wsmoses.com>
  Date:   2021-12-28 (Tue, 28 Dec 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/Arithmetic/IR/ArithmeticOps.td
    M mlir/lib/Dialect/Arithmetic/IR/ArithmeticOps.cpp
    M mlir/test/Dialect/Arithmetic/canonicalize.mlir

  Log Message:
  [MLIR] Add constant folder for fptosi and friends

This patch adds constant folds for FPToSI/FPToUI/SIToFP/UIToFP

Reviewed By: mehdi_amini, bondhugula

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

More information about the All-commits mailing list