summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objdump/AMDGPU/source-lines.ll
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2018-06-25 17:06:18 +0000
committerVedant Kumar <vsk@apple.com>2018-06-25 17:06:18 +0000
commitb725c69f123a8c7b437d8508d43c0d5d5244ed50 (patch)
tree1fbede4707d66d8696675d199cf2756160145580 /llvm/test/tools/llvm-objdump/AMDGPU/source-lines.ll
parentdea343d2b3248901e51cd5cbbd7584969f308b3f (diff)
downloadbcm5719-llvm-b725c69f123a8c7b437d8508d43c0d5d5244ed50.tar.gz
bcm5719-llvm-b725c69f123a8c7b437d8508d43c0d5d5244ed50.zip
[SelectionDAG] Remove debug locations from ConstantSD(FP)Nodes
This removes debug locations from ConstantSDNode and ConstantSDFPNode. When this kind of node is materialized we no longer create a line table entry which jumps back to the constant's first point of use. This makes single-stepping behavior smoother, and it matches the model used by IR, where Constants have no locations. See this thread for more context: http://lists.llvm.org/pipermail/llvm-dev/2018-June/124164.html I'd like to handle constant BuildVectorSDNodes and to try to eliminate passing SDLocs to SelectionDAG::getConstant*() in follow-up commits. Differential Revision: https://reviews.llvm.org/D48468 llvm-svn: 335497
Diffstat (limited to 'llvm/test/tools/llvm-objdump/AMDGPU/source-lines.ll')
-rw-r--r--llvm/test/tools/llvm-objdump/AMDGPU/source-lines.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/tools/llvm-objdump/AMDGPU/source-lines.ll b/llvm/test/tools/llvm-objdump/AMDGPU/source-lines.ll
index 6498a120043..464606d6975 100644
--- a/llvm/test/tools/llvm-objdump/AMDGPU/source-lines.ll
+++ b/llvm/test/tools/llvm-objdump/AMDGPU/source-lines.ll
@@ -7,10 +7,10 @@
; LINE: source_lines_test:
; LINE-NEXT: ; {{.*}}source-lines.cl:1
; Kernel.
-; LINE: ; {{.*}}source-lines.cl:2
; LINE: v_mov_b32_e32 v{{[0-9]+}}, 0x777
-; LINE: ; {{.*}}source-lines.cl:3
+; LINE: ; {{.*}}source-lines.cl:2
; LINE: v_mov_b32_e32 v{{[0-9]+}}, 0x888
+; LINE: ; {{.*}}source-lines.cl:3
; LINE: ; {{.*}}source-lines.cl:4
; LINE: v_add_u32_e32
; LINE: ; {{.*}}source-lines.cl:5
@@ -23,10 +23,10 @@
; SOURCE: source_lines_test:
; SOURCE-NEXT: ; kernel void source_lines_test(global int *Out) {
; Kernel.
-; SOURCE: ; int var0 = 0x777;
; SOURCE: v_mov_b32_e32 v{{[0-9]+}}, 0x777
-; SOURCE: ; int var1 = 0x888;
+; SOURCE: ; int var0 = 0x777;
; SOURCE: v_mov_b32_e32 v{{[0-9]+}}, 0x888
+; SOURCE: ; int var1 = 0x888;
; SOURCE: ; int var2 = var0 + var1;
; SOURCE: v_add_u32_e32
; SOURCE: ; *Out = var2;
OpenPOWER on IntegriCloud