[PATCH] D75195: [mlir][spirv] Add some folders for spv.LogicalAnd/spv.LogicalOr
Lei Zhang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 26 09:51:14 PST 2020
antiagainst created this revision.
antiagainst added a reviewer: denis13.
Herald added subscribers: llvm-commits, bader, Joonsoo, liufengdb, lucyrfox, mgester, arpith-jacob, nicolasvasilache, shauheen, burmako, jpienaar, rriddle, mehdi_amini.
Herald added a reviewer: mravishankar.
Herald added a project: LLVM.
This commit handles folding spv.LogicalAnd/spv.LogicalOr when
one of the operands is constant true/false.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D75195
Files:
mlir/include/mlir/Dialect/SPIRV/SPIRVLogicalOps.td
mlir/lib/Dialect/SPIRV/SPIRVCanonicalization.cpp
mlir/test/Dialect/SPIRV/canonicalize.mlir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75195.246772.patch
Type: text/x-patch
Size: 6354 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200226/3ae9813f/attachment.bin>
More information about the llvm-commits
mailing list