[all-commits] [llvm/llvm-project] a1e786: [mlir][complex] Canonicalize re/im(neg(create))
Lei Zhang via All-commits
all-commits at lists.llvm.org
Mon May 29 17:54:21 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a1e78615fb331484e07c2201433ba1e683348c47
https://github.com/llvm/llvm-project/commit/a1e78615fb331484e07c2201433ba1e683348c47
Author: Lei Zhang <antiagainst at gmail.com>
Date: 2023-05-29 (Mon, 29 May 2023)
Changed paths:
M mlir/include/mlir/Dialect/Complex/IR/ComplexOps.td
M mlir/lib/Dialect/Complex/IR/ComplexOps.cpp
M mlir/test/Dialect/Complex/canonicalize.mlir
Log Message:
-----------
[mlir][complex] Canonicalize re/im(neg(create))
When can just convert this to arith.negf.
Reviewed By: kuhar
Differential Revision: https://reviews.llvm.org/D151633
More information about the All-commits
mailing list