[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:35 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]]
+
+; ModuleID = 'reduced.ll'
+source_filename = "orig.ll"
+target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64"
+target triple = "thumbv7m-arm-none-eabi"
----------------
nikic wrote:

Remove these four lines.

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


More information about the llvm-commits mailing list