[llvm] [RISCV] Add branch+c.mv macrofusion for sifive-p450. (PR #76169)
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 21 11:01:19 PST 2023
================
@@ -6908,7 +6908,8 @@ static SDValue combineSelectToBinOp(SDNode *N, SelectionDAG &DAG,
MVT VT = N->getSimpleValueType(0);
SDLoc DL(N);
- if (!Subtarget.hasShortForwardBranchOpt()) {
+ if (!Subtarget.hasShortForwardBranchOpt() &&
----------------
preames wrote:
Is it the case that all machines with ShortForwardBranch also implement the new fusion? If so, we could adjust the flag checks here a bit.
https://github.com/llvm/llvm-project/pull/76169
More information about the llvm-commits
mailing list