[llvm] [DebugInfo][LoopIdiomRecognize] Fix #82582: Wrong debug location update in processLoopStoreOfLoopLoad (PR #82608)

Shan Huang via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 23 18:35:00 PST 2024


================
@@ -0,0 +1,100 @@
+; RUN: opt < %s -passes=loop-idiom -S | FileCheck %s
+
+; Function Attrs: noinline nounwind uwtable
+define dso_local void @fun(ptr noalias noundef %a, ptr noalias noundef %b) #0 !dbg !10 {
+
+; CHECK-LABEL: entry:
+; CHECK: call void @llvm.memcpy.p0.p0.i64{{\(.*\)$}}
----------------
Apochens wrote:

Thanks, I add the comment to explain why and what it checks.

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


More information about the llvm-commits mailing list