[llvm] [LV][RFC] Generating conditional VPBB that will be skip when the mask is inactive in VPlan. (PR #141900)

Elvis Wang via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 2 21:24:11 PDT 2025


================
@@ -146,6 +146,8 @@ class RISCVTTIImpl : public BasicTTIImplBase<RISCVTTIImpl> {
     return false;
   }
 
+  bool preferFlattenControlFlow() const { return false; }
----------------
ElvisWang123 wrote:

Thanks for your comment!

Yeah, I think it will be better to default disable the conditional VPBB and just expose the TTI hook here for future per CPU tuning.

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


More information about the llvm-commits mailing list