aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2013-11-10 02:16:47 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2013-11-10 02:16:47 +0000
commit9c410777d16818d207d8da280a75875e716b1746 (patch)
tree557cbeb0f4890f42828b02530445a5170d7dc6c1 /test/Transforms
parentee4f5eae1c416eddbecbb2d742e2bb8dc0032bf6 (diff)
downloadexternal_llvm-9c410777d16818d207d8da280a75875e716b1746.zip
external_llvm-9c410777d16818d207d8da280a75875e716b1746.tar.gz
external_llvm-9c410777d16818d207d8da280a75875e716b1746.tar.bz2
Resolve TODO in test now that filecheck has multiple check prefixes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194344 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r--test/Transforms/SimplifyCFG/switch_create.ll8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/Transforms/SimplifyCFG/switch_create.ll b/test/Transforms/SimplifyCFG/switch_create.ll
index caacf7e..e1e9157 100644
--- a/test/Transforms/SimplifyCFG/switch_create.ll
+++ b/test/Transforms/SimplifyCFG/switch_create.ll
@@ -1,7 +1,5 @@
; RUN: opt -S -simplifycfg < %s | FileCheck -check-prefix=CHECK %s
-; RUN: opt -S -default-data-layout="p:32:32-p1:16:16" -simplifycfg < %s | FileCheck -check-prefix=DL %s
-
-; TODO: Other tests should also have check lines with datalayout
+; RUN: opt -S -default-data-layout="p:32:32-p1:16:16" -simplifycfg < %s | FileCheck -check-prefix=CHECK -check-prefix=DL %s
declare void @foo1()
@@ -36,7 +34,7 @@ T: ; preds = %0
F: ; preds = %0
call void @foo2( )
ret void
-; DL-LABEL: @test1_ptr(
+; CHECK-LABEL: @test1_ptr(
; DL: %magicptr = ptrtoint i32* %V to i32
; DL: switch i32 %magicptr, label %F [
; DL: i32 17, label %T
@@ -55,7 +53,7 @@ T: ; preds = %0
F: ; preds = %0
call void @foo2( )
ret void
-; DL-LABEL: @test1_ptr_as1(
+; CHECK-LABEL: @test1_ptr_as1(
; DL: %magicptr = ptrtoint i32 addrspace(1)* %V to i16
; DL: switch i16 %magicptr, label %F [
; DL: i16 17, label %T