diff options
author | Luke Lau <luke@igalia.com> | 2025-08-22 07:59:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-22 07:59:14 +0800 |
commit | c97c6869b6a6a33378f22971d626586d4850bac6 (patch) | |
tree | 734f8bffd27848170bec6b45b7dc9b4946fcb3ec /llvm/utils/TableGen/DecoderEmitter.cpp | |
parent | e6d095e89c0d762c4b71dc8f6c99481893df07a9 (diff) | |
download | llvm-c97c6869b6a6a33378f22971d626586d4850bac6.zip llvm-c97c6869b6a6a33378f22971d626586d4850bac6.tar.gz llvm-c97c6869b6a6a33378f22971d626586d4850bac6.tar.bz2 |
[VPlan] Allow folding not (cmp eq) -> icmp ne with other select users (#154497)
Currently we only allow folding not (cmp eq) -> icmp ne if the not is
the only user of the compare.
However a common scenario is that some select might also use the
compare. We can still fold the not if we also swizzle the arms of the
selects.
This helps avoid regressions in #150368
Diffstat (limited to 'llvm/utils/TableGen/DecoderEmitter.cpp')
0 files changed, 0 insertions, 0 deletions