diff options
author | William S. Moses <gh@wsmoses.com> | 2022-01-02 17:44:08 -0500 |
---|---|---|
committer | William S. Moses <gh@wsmoses.com> | 2022-01-02 19:48:52 -0500 |
commit | 1a0a177965e88d61b5d3cd3e7f7f89011f0827c1 (patch) | |
tree | d1f60db4b8d9c2d287123f8620c56c18cd913432 /llvm/unittests/Support/BinaryStreamTest.cpp | |
parent | 9a2120a6e1fcefbfabbe8d25f14e056fadc37f2d (diff) | |
download | llvm-1a0a177965e88d61b5d3cd3e7f7f89011f0827c1.zip llvm-1a0a177965e88d61b5d3cd3e7f7f89011f0827c1.tar.gz llvm-1a0a177965e88d61b5d3cd3e7f7f89011f0827c1.tar.bz2 |
[MLIR] Create fold for cmp of ext
This patch creates folds for cmpi( ext(%x : i1, iN) != 0) -> %x
In essence this matches patterns matching an extension of a boolean, that != 0, which is equivalent to the original condition.
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D116504
Diffstat (limited to 'llvm/unittests/Support/BinaryStreamTest.cpp')
0 files changed, 0 insertions, 0 deletions