diff options
author | William S. Moses <gh@wsmoses.com> | 2022-01-02 23:49:29 -0500 |
---|---|---|
committer | William S. Moses <gh@wsmoses.com> | 2022-01-03 01:26:28 -0500 |
commit | 93c791839a42cb5d81dc198452ef486fa712a860 (patch) | |
tree | 97bc6ff570b78e8b1b49e8eb36f984186584601b /llvm/unittests/Support/VirtualFileSystemTest.cpp | |
parent | 834cf3be222d2acebc82b2a022f3db8918a2bfe9 (diff) | |
download | llvm-93c791839a42cb5d81dc198452ef486fa712a860.zip llvm-93c791839a42cb5d81dc198452ef486fa712a860.tar.gz llvm-93c791839a42cb5d81dc198452ef486fa712a860.tar.bz2 |
[MLIR] Canonicalize/fold select %x, 1, 0 to extui
Two canonicalizations for select %x, 1, 0
If the return type is i1, return simply the condition %x, otherwise extui %x to the return type.
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D116517
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions