diff options
author | MaheshRavishankar <ravishankarm@google.com> | 2019-12-25 16:29:17 -0800 |
---|---|---|
committer | MaheshRavishankar <ravishankarm@google.com> | 2019-12-27 11:33:17 -0800 |
commit | c3d3569d4ca6d8ca85fa0755b3d5bd659d81e758 (patch) | |
tree | 65f5d15d60e6f589d2073bd8fb64caa0a852c2b2 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | ef7a659c21fb28b20a49912c2bc47b7af6637f85 (diff) | |
download | llvm-c3d3569d4ca6d8ca85fa0755b3d5bd659d81e758.zip llvm-c3d3569d4ca6d8ca85fa0755b3d5bd659d81e758.tar.gz llvm-c3d3569d4ca6d8ca85fa0755b3d5bd659d81e758.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions