diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-08-22 17:11:18 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-08-22 17:11:18 +0000 |
commit | 094637408b806bb17c02daba2027f39eb73bb98a (patch) | |
tree | 58960a39d342000768d8ecf42936b2de5876eb91 /test/Transforms/SLPVectorizer/X86 | |
parent | 3aa18c23189591112f1d1f52f3e2289c3dd6e6bd (diff) | |
download | external_llvm-094637408b806bb17c02daba2027f39eb73bb98a.zip external_llvm-094637408b806bb17c02daba2027f39eb73bb98a.tar.gz external_llvm-094637408b806bb17c02daba2027f39eb73bb98a.tar.bz2 |
[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
Diffstat (limited to 'test/Transforms/SLPVectorizer/X86')
-rw-r--r-- | test/Transforms/SLPVectorizer/X86/debug_info.ll | 12 |
1 files changed, 6 insertions, 6 deletions
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: |