From 094637408b806bb17c02daba2027f39eb73bb98a Mon Sep 17 00:00:00 2001 From: Manman Ren Date: Thu, 22 Aug 2013 17:11:18 +0000 Subject: [Debug Info Tests] Update testing cases. A single metadata will not span multiple lines. This also helps me with my script to automatic update the testing cases. A debug info testing case should have a llvm.dbg.cu. Do not use hard-coded id for debug nodes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189033 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/SLPVectorizer/X86/debug_info.ll | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/Transforms/SLPVectorizer/X86') diff --git a/test/Transforms/SLPVectorizer/X86/debug_info.ll b/test/Transforms/SLPVectorizer/X86/debug_info.ll index b408913..f4129e3 100644 --- a/test/Transforms/SLPVectorizer/X86/debug_info.ll +++ b/test/Transforms/SLPVectorizer/X86/debug_info.ll @@ -13,13 +13,13 @@ target triple = "x86_64-apple-macosx10.7.0" ; } ;CHECK: @depth -;CHECK: getelementptr inbounds {{.*}}, !dbg !24 -;CHECK: bitcast double* {{.*}}, !dbg !24 -;CHECK: load <2 x double>* {{.*}}, !dbg !24 -;CHECK: store <2 x double> {{.*}}, !dbg !26 +;CHECK: getelementptr inbounds {{.*}}, !dbg ![[LOC:[0-9]+]] +;CHECK: bitcast double* {{.*}}, !dbg ![[LOC]] +;CHECK: load <2 x double>* {{.*}}, !dbg ![[LOC]] +;CHECK: store <2 x double> {{.*}}, !dbg ![[LOC2:[0-9]+]] ;CHECK: ret -;CHECK: !24 = metadata !{i32 4, i32 0, -;CHECK: !26 = metadata !{i32 7, i32 0, +;CHECK: ![[LOC]] = metadata !{i32 4, i32 0, +;CHECK: ![[LOC2]] = metadata !{i32 7, i32 0, define i32 @depth(double* nocapture %A, i32 %m) #0 { entry: -- cgit v1.1