summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/avx2-vector-shifts.ll
diff options
context:
space:
mode:
authorStephen Lin <stephenwlin@gmail.com>2013-07-13 20:38:47 +0000
committerStephen Lin <stephenwlin@gmail.com>2013-07-13 20:38:47 +0000
commitb4dc0233c9f70e8cf946822811f233bb613a02e9 (patch)
tree6cb47482e15d250ae95e5c6c96abd2afb56f6fca /test/CodeGen/X86/avx2-vector-shifts.ll
parentae4e1a94e3fb7d1d2d0eec6eb7d04b74326c8453 (diff)
downloadllvm-b4dc0233c9f70e8cf946822811f233bb613a02e9.tar.gz
llvm-b4dc0233c9f70e8cf946822811f233bb613a02e9.tar.bz2
llvm-b4dc0233c9f70e8cf946822811f233bb613a02e9.tar.xz
Convert CodeGen/*/*.ll tests to use the new CHECK-LABEL for easier debugging. No functionality change and all tests pass after conversion.
This was done with the following sed invocation to catch label lines demarking function boundaries: sed -i '' "s/^;\( *\)\([A-Z0-9_]*\):\( *\)test\([A-Za-z0-9_-]*\):\( *\)$/;\1\2-LABEL:\3test\4:\5/g" test/CodeGen/*/*.ll which was written conservatively to avoid false positives rather than false negatives. I scanned through all the changes and everything looks correct. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186258 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/avx2-vector-shifts.ll')
-rw-r--r--test/CodeGen/X86/avx2-vector-shifts.ll48
1 files changed, 24 insertions, 24 deletions
diff --git a/test/CodeGen/X86/avx2-vector-shifts.ll b/test/CodeGen/X86/avx2-vector-shifts.ll
index ca18a60b3c..a978d93fc5 100644
--- a/test/CodeGen/X86/avx2-vector-shifts.ll
+++ b/test/CodeGen/X86/avx2-vector-shifts.ll
@@ -8,7 +8,7 @@ entry:
ret <16 x i16> %shl
}
-; CHECK: test_sllw_1:
+; CHECK-LABEL: test_sllw_1:
; CHECK: vpsllw $0, %ymm0, %ymm0
; CHECK: ret
@@ -18,7 +18,7 @@ entry:
ret <16 x i16> %shl
}
-; CHECK: test_sllw_2:
+; CHECK-LABEL: test_sllw_2:
; CHECK: vpaddw %ymm0, %ymm0, %ymm0
; CHECK: ret
@@ -28,7 +28,7 @@ entry:
ret <16 x i16> %shl
}
-; CHECK: test_sllw_3:
+; CHECK-LABEL: test_sllw_3:
; CHECK: vxorps %ymm0, %ymm0, %ymm0
; CHECK: ret
@@ -38,7 +38,7 @@ entry:
ret <8 x i32> %shl
}
-; CHECK: test_slld_1:
+; CHECK-LABEL: test_slld_1:
; CHECK: vpslld $0, %ymm0, %ymm0
; CHECK: ret
@@ -48,7 +48,7 @@ entry:
ret <8 x i32> %shl
}
-; CHECK: test_slld_2:
+; CHECK-LABEL: test_slld_2:
; CHECK: vpaddd %ymm0, %ymm0, %ymm0
; CHECK: ret
@@ -58,7 +58,7 @@ entry:
ret <8 x i32> %shl
}
-; CHECK: test_slld_3:
+; CHECK-LABEL: test_slld_3:
; CHECK: vxorps %ymm0, %ymm0, %ymm0
; CHECK: ret
@@ -68,7 +68,7 @@ entry:
ret <4 x i64> %shl
}
-; CHECK: test_sllq_1:
+; CHECK-LABEL: test_sllq_1:
; CHECK: vpsllq $0, %ymm0, %ymm0
; CHECK: ret
@@ -78,7 +78,7 @@ entry:
ret <4 x i64> %shl
}
-; CHECK: test_sllq_2:
+; CHECK-LABEL: test_sllq_2:
; CHECK: vpaddq %ymm0, %ymm0, %ymm0
; CHECK: ret
@@ -88,7 +88,7 @@ entry:
ret <4 x i64> %shl
}
-; CHECK: test_sllq_3:
+; CHECK-LABEL: test_sllq_3:
; CHECK: vxorps %ymm0, %ymm0, %ymm0
; CHECK: ret
@@ -100,7 +100,7 @@ entry:
ret <16 x i16> %shl
}
-; CHECK: test_sraw_1:
+; CHECK-LABEL: test_sraw_1:
; CHECK: vpsraw $0, %ymm0, %ymm0
; CHECK: ret
@@ -110,7 +110,7 @@ entry:
ret <16 x i16> %shl
}
-; CHECK: test_sraw_2:
+; CHECK-LABEL: test_sraw_2:
; CHECK: vpsraw $1, %ymm0, %ymm0
; CHECK: ret
@@ -120,7 +120,7 @@ entry:
ret <16 x i16> %shl
}
-; CHECK: test_sraw_3:
+; CHECK-LABEL: test_sraw_3:
; CHECK: vpsraw $16, %ymm0, %ymm0
; CHECK: ret
@@ -130,7 +130,7 @@ entry:
ret <8 x i32> %shl
}
-; CHECK: test_srad_1:
+; CHECK-LABEL: test_srad_1:
; CHECK: vpsrad $0, %ymm0, %ymm0
; CHECK: ret
@@ -140,7 +140,7 @@ entry:
ret <8 x i32> %shl
}
-; CHECK: test_srad_2:
+; CHECK-LABEL: test_srad_2:
; CHECK: vpsrad $1, %ymm0, %ymm0
; CHECK: ret
@@ -150,7 +150,7 @@ entry:
ret <8 x i32> %shl
}
-; CHECK: test_srad_3:
+; CHECK-LABEL: test_srad_3:
; CHECK: vpsrad $32, %ymm0, %ymm0
; CHECK: ret
@@ -162,7 +162,7 @@ entry:
ret <16 x i16> %shl
}
-; CHECK: test_srlw_1:
+; CHECK-LABEL: test_srlw_1:
; CHECK: vpsrlw $0, %ymm0, %ymm0
; CHECK: ret
@@ -172,7 +172,7 @@ entry:
ret <16 x i16> %shl
}
-; CHECK: test_srlw_2:
+; CHECK-LABEL: test_srlw_2:
; CHECK: vpsrlw $1, %ymm0, %ymm0
; CHECK: ret
@@ -182,7 +182,7 @@ entry:
ret <16 x i16> %shl
}
-; CHECK: test_srlw_3:
+; CHECK-LABEL: test_srlw_3:
; CHECK: vxorps %ymm0, %ymm0, %ymm0
; CHECK: ret
@@ -192,7 +192,7 @@ entry:
ret <8 x i32> %shl
}
-; CHECK: test_srld_1:
+; CHECK-LABEL: test_srld_1:
; CHECK: vpsrld $0, %ymm0, %ymm0
; CHECK: ret
@@ -202,7 +202,7 @@ entry:
ret <8 x i32> %shl
}
-; CHECK: test_srld_2:
+; CHECK-LABEL: test_srld_2:
; CHECK: vpsrld $1, %ymm0, %ymm0
; CHECK: ret
@@ -212,7 +212,7 @@ entry:
ret <8 x i32> %shl
}
-; CHECK: test_srld_3:
+; CHECK-LABEL: test_srld_3:
; CHECK: vxorps %ymm0, %ymm0, %ymm0
; CHECK: ret
@@ -222,7 +222,7 @@ entry:
ret <4 x i64> %shl
}
-; CHECK: test_srlq_1:
+; CHECK-LABEL: test_srlq_1:
; CHECK: vpsrlq $0, %ymm0, %ymm0
; CHECK: ret
@@ -232,7 +232,7 @@ entry:
ret <4 x i64> %shl
}
-; CHECK: test_srlq_2:
+; CHECK-LABEL: test_srlq_2:
; CHECK: vpsrlq $1, %ymm0, %ymm0
; CHECK: ret
@@ -242,6 +242,6 @@ entry:
ret <4 x i64> %shl
}
-; CHECK: test_srlq_3:
+; CHECK-LABEL: test_srlq_3:
; CHECK: vxorps %ymm0, %ymm0, %ymm0
; CHECK: ret