Skip to content

Commit 384cfde

Browse files
committed
fixup! fixup! Address reviewer's comments
1 parent 9111bcf commit 384cfde

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/lib/Target/RISCV/RISCVInstrInfo.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1692,6 +1692,9 @@ bool RISCVInstrInfo::areRVVInstsReassociable(const MachineInstr &MI1,
16921692
};
16931693

16941694
// PassThru
1695+
// TODO: Potentially we can loosen the condition to consider Root (MI1) to be
1696+
// associable with Prev (MI2) if Root has NoReg as passthru. In which case we
1697+
// also need to loosen the condition on vector policies between these.
16951698
if (!checkRegOperand(1))
16961699
return false;
16971700

0 commit comments

Comments
 (0)