[all-commits] [llvm/llvm-project] 1e39d3: [MLIR] Add OrOp folding rule for constant one operand
Uday Bondhugula via All-commits
all-commits at lists.llvm.org
Wed Oct 6 19:38:49 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1e39d32c5a119c8f49eb56e2cdd9707022fa06ab
https://github.com/llvm/llvm-project/commit/1e39d32c5a119c8f49eb56e2cdd9707022fa06ab
Author: Uday Bondhugula <uday at polymagelabs.com>
Date: 2021-10-07 (Thu, 07 Oct 2021)
Changed paths:
M mlir/lib/Dialect/StandardOps/IR/Ops.cpp
M mlir/test/Transforms/canonicalize.mlir
Log Message:
-----------
[MLIR] Add OrOp folding rule for constant one operand
Add folding rule for std.or op when an operand has all bits set.
or(x, <all bits set>) -> <all bits set>
Differential Revision: https://reviews.llvm.org/D111206
More information about the All-commits
mailing list