[PATCH] D158976: [RISCV] Add isCommutable for pseudos without merge operand
Michael Maitland via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 28 07:46:48 PDT 2023
michaelmaitland added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td:3059
SchedBinary<"WriteVICALUV", "ReadVICALUV", "ReadVICALUV", mx, forceMasked=1,
forceMergeOpRead=true>;
defm "" : VPseudoBinaryV_XM<m, CarryOut=1, CarryIn=1, Constraint=Constraint>,
----------------
michaelmaitland wrote:
> The description says:
>
> > there is no merge operand for their pseudos
>
> but it looks like we are forcing a merge operand. It looks like `VPseudoBinaryV_VM` defines `VPseudoBinaryCarryIn` which does not have a merge operand. Maybe we should not set forceMergeOpRead here?
typo: looks like we are forcing a merge operand SchedRead
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158976/new/
https://reviews.llvm.org/D158976
More information about the llvm-commits
mailing list