diff options
author | William S. Moses <gh@wsmoses.com> | 2022-01-03 00:38:41 -0500 |
---|---|---|
committer | William S. Moses <gh@wsmoses.com> | 2022-01-03 01:25:30 -0500 |
commit | 834cf3be222d2acebc82b2a022f3db8918a2bfe9 (patch) | |
tree | 6b4db7e62afa1474c6016ed18eaa7a0abb629e34 /llvm/unittests/Support/BinaryStreamTest.cpp | |
parent | 78389de4d396ee180aa87174b78996d4a83ae819 (diff) | |
download | llvm-834cf3be222d2acebc82b2a022f3db8918a2bfe9.zip llvm-834cf3be222d2acebc82b2a022f3db8918a2bfe9.tar.gz llvm-834cf3be222d2acebc82b2a022f3db8918a2bfe9.tar.bz2 |
[MLIR][Arith] Canonicalize and/or with ext
Replace and(ext(a),ext(b)) with ext(and(a,b)). This both reduces one instruction, and results in the computation (and/or) being done on a smaller type.
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D116519
Diffstat (limited to 'llvm/unittests/Support/BinaryStreamTest.cpp')
0 files changed, 0 insertions, 0 deletions