diff options
author | Sanjay Patel <spatel@rotateright.com> | 2021-07-09 11:56:26 -0400 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2021-07-09 12:43:43 -0400 |
commit | 544f2711bb0b80b1c9126a33fb60fe9bb31ea420 (patch) | |
tree | ac1121887d57204fa6e008cf65acbba263532c81 /llvm/lib/IR/Module.cpp | |
parent | e4f66a10556c82e2ebf2469fafc1c26639f15be8 (diff) | |
download | llvm-544f2711bb0b80b1c9126a33fb60fe9bb31ea420.zip llvm-544f2711bb0b80b1c9126a33fb60fe9bb31ea420.tar.gz llvm-544f2711bb0b80b1c9126a33fb60fe9bb31ea420.tar.bz2 |
[SLP] make checks for cmp+select min/max more explicit
This is NFC-intended currently (so no test diffs). The motivation
is to eventually allow matching for poison-safe logical-and and
logical-or (these are in the form of a select-of-bools).
( https://llvm.org/PR41312 )
Those patterns will not have all of the same constraints as min/max
in the form of cmp+sel. We may also end up removing the cmp+sel
min/max matching entirely (if we canonicalize to intrinsics), so
this will make that step easier.
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions