================
@@ -1153,8 +1159,7 @@ DemandedVL 
RISCVVLOptimizerImpl::getMinimumVLForUser(const MachineInstr &UserMI,
   if (RISCV::isVLKnownLE(*MRI, DemandedVLs.lookup(&UserMI).VL, VLOp))
     MinimumVL = DemandedVLs.lookup(&UserMI);
 
-  if ((IsVUNZIP && UserOp.getOperandNo() == 2) ||
-      (IsVZIP && UserOp.getOperandNo() == 4))
+  if (IsVUNZIP && UserOp.getOperandNo() == 2)
----------------
renndong wrote:

It's a good idea to halve the demanded vl and I think it's possible. I have 
implement this in new commit.

https://github.com/llvm/llvm-project/pull/210603
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to