[PATCH] D128192: [GlobalISel][DebugInfo] Propagate debug location for localized constants

Vladislav Dzhidzhoev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 8 15:05:35 PDT 2022


dzhidzhoev marked an inline comment as done.
dzhidzhoev added inline comments.


================
Comment at: llvm/test/CodeGen/AArch64/GlobalISel/localizer-propagate-debug-loc.mir:13-36
+    %1 = alloca i32, align 4
+    br i1 false, label %2, label %4
+
+  2:                                                ; preds = %0
+    %3 = load i32, ptr @A, align 4, !dbg !10
+    store volatile i32 %3, ptr %1, align 4
+    br label %9
----------------
arsenm wrote:
> Don't really need the function body if you remove the block names
volatile seems to be ignored without it


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128192/new/

https://reviews.llvm.org/D128192



More information about the llvm-commits mailing list