[llvm] [LV] Move check if any vector insts will be generated to VPlan. (PR #96622)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 6 04:39:00 PDT 2024


================
@@ -4795,9 +4783,92 @@ static void emitInvalidCostRemarks(SmallVector<InstructionVFPair> InvalidCosts,
   } while (!Tail.empty());
 }
 
+static bool willGenerateVectorInstructions(VPlan &Plan, ElementCount VF,
----------------
fhahn wrote:

Adjusted, thanks!

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


More information about the llvm-commits mailing list