[PATCH] D147266: [AArch64] Sink operands to allow for bitselect instructions
Pranav Kant via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 17 14:54:21 PDT 2023
pranavk closed this revision.
pranavk added a comment.
> I noticed there was another instance of vbsl being reported recently in https://github.com/llvm/llvm-project/issues/62642. Hopefully it can be addresses via extra optimizations too.
This is another InstCombine problem -- as soon as it sees constant, InstCombine runs demanded bits pass/analysis and tries to do clever tricks with sequence of and/and/or. We need to teach InstCombine here to not touch the sequence as we expect it to be vectorized in instruction lowering. I will try to fix this when looking at the other InstCombine problem (https://reviews.llvm.org/D150316) we are talking about.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147266/new/
https://reviews.llvm.org/D147266
More information about the llvm-commits
mailing list