Its possible for C2 to have set bits that are known not-needed
(zeroable). See: D140858
+ will overflow here, | will get the right logic.
Differential D141089
[InstCombine] Fix potentially buggy code in `((%x & C) == 0) --> %x u< (-C)` transform goldstein.w.n on Jan 5 2023, 2:24 PM. Authored by
Details Its possible for C2 to have set bits that are known not-needed + will overflow here, | will get the right logic.
Diff Detail
Event TimelineComment Actions If you don't have commit access, can you please share the "Name <email>" to use for the commit? See also https://llvm.org/docs/DeveloperPolicy.html#obtaining-commit-access for requesting commit access. Comment Actions I don't, email: goldstein.w.n@gmail.com. Thank you :)
Will do, although if its all the same, wouldn't mind getting a bit more familiar |