[llvm] [LV, VPlan] Check if plan is compatible to EVL transform (PR #92092)

Shih-Po Hung via llvm-commits llvm-commits at lists.llvm.org
Thu May 23 20:08:55 PDT 2024


================
@@ -1306,7 +1306,16 @@ void VPlanTransforms::addActiveLaneMask(
 /// %NextEVLIV = add IVSize (cast i32 %VPEVVL to IVSize), %EVLPhi
 /// ...
 ///
-void VPlanTransforms::addExplicitVectorLength(VPlan &Plan) {
+bool VPlanTransforms::addExplicitVectorLength(VPlan &Plan) {
+  // EVL transform doesn't support backends where EVL diffs from RuntimeVF
----------------
arcbbb wrote:

Fixed. Thanks!

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


More information about the llvm-commits mailing list