diff options
author | Sanjay Patel <spatel@rotateright.com> | 2020-04-06 11:40:45 -0400 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2020-04-06 11:51:59 -0400 |
commit | fbb1b43f135a1af24cecbc7243d52fe6f85b7082 (patch) | |
tree | 7018e4dadd8d5ae6f8a4ba404eeadb765837b85f /lldb/source/Plugins/ScriptInterpreter/Python | |
parent | 2aa593be5486a9c5d3092647f2576273f84f3159 (diff) | |
download | llvm-fbb1b43f135a1af24cecbc7243d52fe6f85b7082.zip llvm-fbb1b43f135a1af24cecbc7243d52fe6f85b7082.tar.gz llvm-fbb1b43f135a1af24cecbc7243d52fe6f85b7082.tar.bz2 |
[ValueTracking] enhance matching of umin/umax with 'not' operands
The cmyk test is based on the known regression that resulted from:
rGf2fbdf76d8d0
This improves on the equivalent signed min/max change:
rG867f0c3c4d8c
The underlying icmp equivalence is:
~X pred ~Y --> Y pred X
For an icmp with constant, canonicalization results in a swapped pred:
~X < C --> X > ~C
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions