[all-commits] [llvm/llvm-project] b80da0: [mlir] Add FPToSIOp to Standard dialect.

Han-Chung Wang via All-commits all-commits at lists.llvm.org
Mon May 11 01:26:36 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b80da04b4457b45103357b1836426385b38ec974
      https://github.com/llvm/llvm-project/commit/b80da04b4457b45103357b1836426385b38ec974
  Author: Hanhan Wang <hanchung at google.com>
  Date:   2020-05-11 (Mon, 11 May 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
    M mlir/lib/Dialect/StandardOps/IR/Ops.cpp
    M mlir/test/IR/core-ops.mlir

  Log Message:
  -----------
  [mlir] Add FPToSIOp to Standard dialect.

Summary:
Cast from a value interpreted as floating-point to the corresponding signed
integer value. Similar to an element-wise `static_cast` in C++, performs an
element-wise conversion operation.

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




More information about the All-commits mailing list