diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2024-09-09 11:07:38 -0700 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2024-09-09 16:19:26 -0700 |
commit | 88bd507dc2dd9c235b54d718cf84e4ef80d94bc9 (patch) | |
tree | d5ba244fb24438f219178eb42fe81d1eb0657a10 /libcxx/src | |
parent | d148a1a40461ed27863f4b17ac2bd5914499f413 (diff) | |
download | llvm-88bd507dc2dd9c235b54d718cf84e4ef80d94bc9.zip llvm-88bd507dc2dd9c235b54d718cf84e4ef80d94bc9.tar.gz llvm-88bd507dc2dd9c235b54d718cf84e4ef80d94bc9.tar.bz2 |
[X86] Handle shifts + and in `LowerSELECTWithCmpZero`
shifts are the same as sub where rhs == 0 is identity.
and is the inverted case where:
`SELECT (AND(X,1) == 0), (AND Y, Z), Y`
-> `(AND Y, (OR NEG(AND(X, 1)), Z))`
With -1 as the identity.
Closes #107910
Diffstat (limited to 'libcxx/src')
0 files changed, 0 insertions, 0 deletions