diff options
| author | Amara Emerson <aemerson@apple.com> | 2019-06-13 22:15:35 +0000 |
|---|---|---|
| committer | Amara Emerson <aemerson@apple.com> | 2019-06-13 22:15:35 +0000 |
| commit | fb0a40f0648dca2986a5fa54eb6d7ad5a1fcf6d6 (patch) | |
| tree | b30cf70837aa8a0351ad8f2e64d9d01de11dfedb /llvm/test/DebugInfo/AArch64 | |
| parent | cf34a2bd5d6ec941e755d85e49525712453b0777 (diff) | |
| download | bcm5719-llvm-fb0a40f0648dca2986a5fa54eb6d7ad5a1fcf6d6.tar.gz bcm5719-llvm-fb0a40f0648dca2986a5fa54eb6d7ad5a1fcf6d6.zip | |
[GlobalISel][IRTranslator] Add debug loc with line 0 to constants emitted into the entry block.
Constants, including G_GLOBAL_VALUE, are all emitted into the entry block which
lets us use the vreg def assuming it dominates all other users. However, it can
cause jumpy debug behaviour since the DebugLoc attached to these MIs are from
a user instruction that could be in a different block.
Fixes PR40887.
Differential Revision: https://reviews.llvm.org/D63286
llvm-svn: 363331
Diffstat (limited to 'llvm/test/DebugInfo/AArch64')
| -rw-r--r-- | llvm/test/DebugInfo/AArch64/cfi-eof-prologue.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/DebugInfo/AArch64/cfi-eof-prologue.ll b/llvm/test/DebugInfo/AArch64/cfi-eof-prologue.ll index f6b0e142a9a..fd44580bd76 100644 --- a/llvm/test/DebugInfo/AArch64/cfi-eof-prologue.ll +++ b/llvm/test/DebugInfo/AArch64/cfi-eof-prologue.ll @@ -14,7 +14,7 @@ ; The location of the prologue_end marker should not be affected by the presence ; of CFI instructions. -; RUN: llc -O0 -filetype=asm < %s | FileCheck %s +; RUN: llc -fast-isel -O0 -filetype=asm < %s | FileCheck %s ; ModuleID = 'test1.cpp' target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128" |

