diff options
author | Julian Nagele <j.nagele@apple.com> | 2025-03-14 16:34:04 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-14 16:34:04 +0000 |
commit | beb4a482973d429ce73cbcba51f3199f7955f8ba (patch) | |
tree | 388bf02fbdc619a566b05082ce0c5163b49c0f68 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | cd54d581b506accf10435778219b647313cb493d (diff) | |
download | llvm-beb4a482973d429ce73cbcba51f3199f7955f8ba.zip llvm-beb4a482973d429ce73cbcba51f3199f7955f8ba.tar.gz llvm-beb4a482973d429ce73cbcba51f3199f7955f8ba.tar.bz2 |
[InstCombine] Use known bits to simplify mask in foldSelectICmpAnd (#128741)
Make use of known bits when trying to decompose a select/icmp bittest and folding it into an and. This means we can fold when additional information, for instance via a range attribute or metadata, allows us to conclude that the resulting mask is in fact a power of two.
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions