[llvm] [RISCV] Reorganize select lowering to pull binop expansion early (PR #156974)

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 4 15:09:39 PDT 2025


preames wrote:

> It isn't quite NFC because it undoes the arithmetic lowering for the select c, simm12, 0 cases for a processor with both conditional move forwarding and zicond.

@topperc It's not really clear what I should do for the configuration mentioned above.  Do you actually have such a processor?  If so, how do you want the codegen to look for this case?

https://github.com/llvm/llvm-project/pull/156974


More information about the llvm-commits mailing list