[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
parent
b5a9361c
Please register or sign in to comment