[llvm] [DebugInfo] Fix #76058: missing debug location in processSDiv function (PR #76118)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 21 00:53:36 PST 2023


================
@@ -0,0 +1,50 @@
+; RUN: opt -passes=correlated-propagation -S < %s | FileCheck %s
+; CHECK: %{{[a-zA-Z0-9_]*}} = udiv i8 %x.nonneg, %y, !dbg ![[DBGLOC:[0-9]+]]
+; CHECK-NEXT: %{{[a-zA-Z0-9_]*}}.neg = sub i8 0, %rem1, !dbg ![[DBGLOC]]
----------------
nikic wrote:

Please move these check lines lower (e.g. directly above the function).

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


More information about the llvm-commits mailing list