[llvm] [NFC][LoopVectorize] Introduce new getEstimatedRuntimeVF function (PR #116247)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 15 03:21:38 PST 2024


================
@@ -4300,6 +4300,17 @@ getVScaleForTuning(const Loop *L, const TargetTransformInfo &TTI) {
   return TTI.getVScaleForTuning();
 }
 
+static unsigned getEstimatedRuntimeVF(const Loop *L,
----------------
fhahn wrote:

Would be gerat if you could add a comment here to document exactly what we mean by estimated runtime VF here

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


More information about the llvm-commits mailing list