diff options
author | Nikita Popov <npopov@redhat.com> | 2024-08-22 09:47:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-22 09:47:35 +0200 |
commit | de2b6cb6ab6472a13c68ddcd963aa2f25e298772 (patch) | |
tree | 5d7913f1e4b218a199cc174621444045107d1d33 /lldb/source/Plugins/ScriptInterpreter/Python | |
parent | 67d3ef74b31e1517d4f679e754cc2b3041c95901 (diff) | |
download | llvm-de2b6cb6ab6472a13c68ddcd963aa2f25e298772.zip llvm-de2b6cb6ab6472a13c68ddcd963aa2f25e298772.tar.gz llvm-de2b6cb6ab6472a13c68ddcd963aa2f25e298772.tar.bz2 |
[InstCombine] Fold icmp over select of cmp more aggressively (#105536)
When folding an icmp into a select, treat an icmp of a constant with a
one-use ucmp/scmp intrinsic as a simplification. These comparisons will
reduce down to an icmp.
This addresses a regression seen in Rust and also in llvm-opt-benchmark.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions