[all-commits] [llvm/llvm-project] 5a5199: [RISCV] Call combineSelectToBinOp before generic s...
Craig Topper via All-commits
all-commits at lists.llvm.org
Tue Aug 1 12:10:05 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5a519961c8113c4ddcb3627c2366c2291c97624f
https://github.com/llvm/llvm-project/commit/5a519961c8113c4ddcb3627c2366c2291c97624f
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-08-01 (Tue, 01 Aug 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
M llvm/test/CodeGen/RISCV/select-binop-identity.ll
M llvm/test/CodeGen/RISCV/xaluo.ll
Log Message:
-----------
[RISCV] Call combineSelectToBinOp before generic select expansion for Zicond.
This handles logical ops of setccs and optimizes when the true or
false value is -1.
Reviewed By: asb, wangpc
Differential Revision: https://reviews.llvm.org/D156810
More information about the All-commits
mailing list