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

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 21 02:30:01 PDT 2025


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

Yeah I think we can do that for the other TSFlags too, I've opened up a separate PR for it: https://github.com/llvm/llvm-project/pull/149785

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


More information about the llvm-commits mailing list