[llvm] [VPlan] Port invalid cost remarks to VPlan. (PR #99322)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 26 05:07:51 PDT 2024


================
@@ -891,10 +892,12 @@ static void debugVectorizationMessage(const StringRef Prefix,
 /// instruction that prevents vectorization.  Otherwise \p TheLoop is used for
 /// the location of the remark.  \return the remark object that can be
 /// streamed to.
-static OptimizationRemarkAnalysis createLVAnalysis(const char *PassName,
-    StringRef RemarkName, Loop *TheLoop, Instruction *I) {
+static OptimizationRemarkAnalysis
+createLVAnalysis(const char *PassName, StringRef RemarkName, Loop *TheLoop,
+                 Instruction *I, DebugLoc DL = {}) {
   Value *CodeRegion = TheLoop->getHeader();
----------------
fhahn wrote:

Adjusted, thanks!

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


More information about the llvm-commits mailing list