Add support to Add, Sub, Mul for both Integer and Float types.
authorFeng Liu <fengliuai@google.com>
Wed, 3 Oct 2018 16:43:13 +0000 (09:43 -0700)
committerjpienaar <jpienaar@google.com>
Fri, 29 Mar 2019 20:21:40 +0000 (13:21 -0700)
commit7d016fd352332d702083232b6e9d13f8238e7b6d
tree2fb0fb13b1672b30f57fd248aed4e3851c01de43
parent041817a45e49a914f807b220e1a3b88e3fb45072
Add support to Add, Sub, Mul for both Integer and Float types.

The new operations are registered and also the const folding of them are implemented.

PiperOrigin-RevId: 215575999
mlir/include/mlir/IR/StandardOps.h
mlir/lib/IR/StandardOps.cpp
mlir/test/IR/core-ops.mlir
mlir/test/Transforms/constant-fold.mlir