[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 03:48:42 PST 2024
================
@@ -10,12 +10,11 @@ target triple = "x86_64-unknown-linux-gnu"
; Check that everything still works when debuginfo is present, and that it is reasonably propagated.
-; CHECK: remark: <stdin>:6:1: Formed a call to llvm.memcpy.p0.p0.i64() intrinsic from load and store instruction in test6_dest_align function{{$}}
+; CHECK: remark: <unknown>:0:0: Formed a call to llvm.memcpy.p0.p0.i64() intrinsic from load and store instruction in test6_dest_align function{{$}}
----------------
Apochens wrote:
Ok, I've already changed the optimization remark to refer to `TheStore`'s DebugLoc and reverted the change in this check.
https://github.com/llvm/llvm-project/pull/82608
More information about the llvm-commits
mailing list