[llvm] [RISCV] Add TSFlag for reading past VL behaviour. NFCI (PR #149704)

Pengcheng Wang via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 21 01:13:24 PDT 2025


================
@@ -1315,7 +1287,8 @@ RISCVVLOptimizer::getMinimumVLForUser(const MachineOperand &UserOp) const {
     return std::nullopt;
   }
 
-  if (mayReadPastVL(UserMI)) {
+  if (RISCVII::readsPastVL(
----------------
wangpc-pp wrote:

Can we add this bit to RVVPseudo so that we don't need to convert the opcode to MC opcode first?

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


More information about the llvm-commits mailing list