[PATCH] D122891: [X86] Fold AND(SRL(X,Y),1) -> SETCC(BT(X,Y))
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 2 11:07:09 PDT 2022
lebedev.ri added a comment.
What about the case where we want to have the inverse of the bit, https://godbolt.org/z/sEjq9n9Kn
I would presume we can consume any such `not` by inverting the predicate (`b`<->`nb`).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122891/new/
https://reviews.llvm.org/D122891
More information about the llvm-commits
mailing list