[all-commits] [llvm/llvm-project] 730cb8: [mlir][complex] Canonicalize complex.add zero
Kai Sasaki via All-commits
all-commits at lists.llvm.org
Fri Jul 29 09:04:11 PDT 2022
Author: lewuathe <lewuathe at me.com>
Date: 2022-07-29 (Fri, 29 Jul 2022)
[mlir][complex] Canonicalize complex.add zero
Adding complex value with 0 for real and imaginary part can be ignored.
NOTE: This type of canonicalization can be written in an easy and tidy format using `complex.number` after constant op supports custom attribute.
Differential Revision: https://reviews.llvm.org/D130748
More information about the All-commits