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

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 23 12:08:46 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{{\(.*\)$}}
----------------
adrian-prantl wrote:

Same here, can you comment what is being tested?

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


More information about the llvm-commits mailing list