summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2015-03-16 17:59:07 +0000
committerSanjay Patel <spatel@rotateright.com>2015-03-16 17:59:07 +0000
commita8ec726bb6a248b17f4fa8ef6568253e3c742f28 (patch)
treeeda29f848e066da85f4d3b4583989907be827c97
parent152b6376820021154a8b6c782aec93c4b64c8f69 (diff)
downloadbcm5719-llvm-a8ec726bb6a248b17f4fa8ef6568253e3c742f28.tar.gz
bcm5719-llvm-a8ec726bb6a248b17f4fa8ef6568253e3c742f28.zip
add CHECK-LABELs for more reliable testing
llvm-svn: 232391
-rw-r--r--llvm/test/CodeGen/X86/avx-cast.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/avx-cast.ll b/llvm/test/CodeGen/X86/avx-cast.ll
index 32d450cac9f..b48370b20fa 100644
--- a/llvm/test/CodeGen/X86/avx-cast.ll
+++ b/llvm/test/CodeGen/X86/avx-cast.ll
@@ -1,5 +1,6 @@
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=corei7-avx -mattr=+avx | FileCheck %s
+; CHECK-LABEL: castA:
; CHECK: vxorps
; CHECK-NEXT: vinsertf128 $0
define <8 x float> @castA(<4 x float> %m) nounwind uwtable readnone ssp {
@@ -8,6 +9,7 @@ entry:
ret <8 x float> %shuffle.i
}
+; CHECK-LABEL: castB:
; CHECK: vxorps
; CHECK-NEXT: vinsertf128 $0
define <4 x double> @castB(<2 x double> %m) nounwind uwtable readnone ssp {
@@ -16,6 +18,7 @@ entry:
ret <4 x double> %shuffle.i
}
+; CHECK-LABEL: castC:
; CHECK: vxorps
; CHECK-NEXT: vinsertf128 $0
define <4 x i64> @castC(<2 x i64> %m) nounwind uwtable readnone ssp {
@@ -24,6 +27,7 @@ entry:
ret <4 x i64> %shuffle.i
}
+; CHECK-LABEL: castD:
; CHECK-NOT: vextractf128 $0
define <4 x float> @castD(<8 x float> %m) nounwind uwtable readnone ssp {
entry:
@@ -31,6 +35,7 @@ entry:
ret <4 x float> %shuffle.i
}
+; CHECK-LABEL: castE:
; CHECK-NOT: vextractf128 $0
define <2 x i64> @castE(<4 x i64> %m) nounwind uwtable readnone ssp {
entry:
@@ -38,6 +43,7 @@ entry:
ret <2 x i64> %shuffle.i
}
+; CHECK-LABEL: castF:
; CHECK-NOT: vextractf128 $0
define <2 x double> @castF(<4 x double> %m) nounwind uwtable readnone ssp {
entry:
OpenPOWER on IntegriCloud