summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2014-08-12 01:07:53 +0000
committerAdrian Prantl <aprantl@apple.com>2014-08-12 01:07:53 +0000
commit9724b5c9a45326a51d730bc6449230f5545ef56a (patch)
treed94243ff463f6bd0ef01d9c0b72a0753bc3ac72b /llvm/test/DebugInfo
parent90e0867742ae00e66a337234ca2ec087cdb6958f (diff)
downloadbcm5719-llvm-9724b5c9a45326a51d730bc6449230f5545ef56a.tar.gz
bcm5719-llvm-9724b5c9a45326a51d730bc6449230f5545ef56a.zip
DebugLocEntry: Restore the comparison predicate from before the
refactoring in 215384. This way it can unique multiple entries describing the same piece even if they don't have the exact same location. (The same piece may get merged in and be added from OpenRanges). There ought to be a more elegant solution for this, though. llvm-svn: 215418
Diffstat (limited to 'llvm/test/DebugInfo')
-rw-r--r--llvm/test/DebugInfo/X86/pieces-3.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/DebugInfo/X86/pieces-3.ll b/llvm/test/DebugInfo/X86/pieces-3.ll
index cc5ead9194a..4ce7bea351d 100644
--- a/llvm/test/DebugInfo/X86/pieces-3.ll
+++ b/llvm/test/DebugInfo/X86/pieces-3.ll
@@ -44,6 +44,7 @@ define i32 @foo(i64 %outer.coerce0, i64 %outer.coerce1) #0 {
call void @llvm.dbg.value(metadata !{i32 %outer.sroa.1.8.extract.trunc}, i64 0, metadata !34), !dbg !33
%outer.sroa.1.12.extract.shift = lshr i64 %outer.coerce1, 32, !dbg !33
%outer.sroa.1.12.extract.trunc = trunc i64 %outer.sroa.1.12.extract.shift to i32, !dbg !33
+ call void @llvm.dbg.value(metadata !{i64 %outer.sroa.1.12.extract.shift}, i64 0, metadata !34), !dbg !33
call void @llvm.dbg.value(metadata !{i32 %outer.sroa.1.12.extract.trunc}, i64 0, metadata !34), !dbg !33
call void @llvm.dbg.declare(metadata !{null}, metadata !34), !dbg !33
ret i32 %outer.sroa.1.8.extract.trunc, !dbg !36
OpenPOWER on IntegriCloud