[all-commits] [llvm/llvm-project] c3d356: [mlir] Convert std.and/std.or ops to spv.LogicalAn...
MaheshRavishankar via All-commits
all-commits at lists.llvm.org
Fri Dec 27 11:34:10 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c3d3569d4ca6d8ca85fa0755b3d5bd659d81e758
https://github.com/llvm/llvm-project/commit/c3d3569d4ca6d8ca85fa0755b3d5bd659d81e758
Author: MaheshRavishankar <ravishankarm at google.com>
Date: 2019-12-27 (Fri, 27 Dec 2019)
Changed paths:
M mlir/lib/Conversion/StandardToSPIRV/StandardToSPIRV.td
M mlir/test/Conversion/StandardToSPIRV/std-to-spirv.mlir
Log Message:
-----------
[mlir] Convert std.and/std.or ops to spv.LogicalAnd/spv.LogicalOr
The conversion from std.and/std.or to spv.LogicalAnd/spv.LogicalOr is
only valid for boolean (i1) types. Modify BinaryOpPattern in
StandardToSPIRV.td to allow limiting the type of the operands for
which the pattern is applied.
Differential Revision: https://reviews.llvm.org/D71881
More information about the All-commits
mailing list