[llvm] r265837 - Add trailing colons to labels in a test.
James Y Knight via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 8 12:49:04 PDT 2016
Author: jyknight
Date: Fri Apr 8 14:49:03 2016
New Revision: 265837
URL: http://llvm.org/viewvc/llvm-project?rev=265837&view=rev
Log:
Add trailing colons to labels in a test.
This will avoid matching on the FILENAME if it happened to contain, say,
"f4" anywhere in the file path.
Modified:
llvm/trunk/test/CodeGen/ARM/smul.ll
Modified: llvm/trunk/test/CodeGen/ARM/smul.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/smul.ll?rev=265837&r1=265836&r2=265837&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/smul.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/smul.ll Fri Apr 8 14:49:03 2016
@@ -6,7 +6,7 @@
@y = weak global i16 0 ; <i16*> [#uses=0]
define i32 @f1(i32 %y) {
-; CHECK: f1
+; CHECK-LABEL: f1:
; CHECK: smulbt
%tmp = load i16, i16* @x ; <i16> [#uses=1]
%tmp1 = add i16 %tmp, 2 ; <i16> [#uses=1]
@@ -17,7 +17,7 @@ define i32 @f1(i32 %y) {
}
define i32 @f2(i32 %x, i32 %y) {
-; CHECK: f2
+; CHECK-LABEL: f2:
; CHECK: smultt
%tmp1 = ashr i32 %x, 16 ; <i32> [#uses=1]
%tmp3 = ashr i32 %y, 16 ; <i32> [#uses=1]
@@ -26,7 +26,7 @@ define i32 @f2(i32 %x, i32 %y) {
}
define i32 @f3(i32 %a, i16 %x, i32 %y) {
-; CHECK: f3
+; CHECK-LABEL: f3:
; CHECK: smlabt
%tmp = sext i16 %x to i32 ; <i32> [#uses=1]
%tmp2 = ashr i32 %y, 16 ; <i32> [#uses=1]
@@ -36,7 +36,7 @@ define i32 @f3(i32 %a, i16 %x, i32 %y) {
}
define i32 @f4(i32 %a, i32 %x, i32 %y) {
-; CHECK-LABEL: f4
+; CHECK-LABEL: f4:
; CHECK: smlatt
%tmp1 = ashr i32 %x, 16
%tmp3 = ashr i32 %y, 16
@@ -46,7 +46,7 @@ define i32 @f4(i32 %a, i32 %x, i32 %y) {
}
define i32 @f5(i32 %a, i16 %x, i16 %y) {
-; CHECK-LABEL: f5
+; CHECK-LABEL: f5:
; CHECK: smlabb
%tmp1 = sext i16 %x to i32
%tmp3 = sext i16 %y to i32
@@ -56,7 +56,7 @@ define i32 @f5(i32 %a, i16 %x, i16 %y) {
}
define i32 @f6(i32 %a, i16 %x, i32 %y) {
-; CHECK-LABEL: f6
+; CHECK-LABEL: f6:
; CHECK: smlabt
%tmp1 = sext i16 %x to i32
%tmp3 = ashr i32 %y, 16
@@ -66,7 +66,7 @@ define i32 @f6(i32 %a, i16 %x, i32 %y) {
}
define i32 @f7(i32 %a, i32 %b, i32 %c) {
-; CHECK-LABEL: f7
+; CHECK-LABEL: f7:
; CHECK: smlawb
%shl = shl i32 %b, 16
%shr = ashr exact i32 %shl, 16
@@ -80,7 +80,7 @@ define i32 @f7(i32 %a, i32 %b, i32 %c) {
}
define i32 @f8(i32 %a, i16 signext %b, i32 %c) {
-; CHECK-LABEL: f8
+; CHECK-LABEL: f8:
; CHECK: smlawb
%conv = sext i32 %a to i64
%conv1 = sext i16 %b to i64
@@ -92,7 +92,7 @@ define i32 @f8(i32 %a, i16 signext %b, i
}
define i32 @f9(i32 %a, i32 %b, i32 %c) {
-; CHECK-LABEL: f9
+; CHECK-LABEL: f9:
; CHECK: smlawt
%conv = sext i32 %a to i64
%shr = ashr i32 %b, 16
@@ -105,7 +105,7 @@ define i32 @f9(i32 %a, i32 %b, i32 %c) {
}
define i32 @f10(i32 %a, i32 %b, i32 %c) {
-; CHECK-LABEL: f10
+; CHECK-LABEL: f10:
; CHECK: smulwb
%shl = shl i32 %b, 16
%shr = ashr exact i32 %shl, 16
@@ -118,7 +118,7 @@ define i32 @f10(i32 %a, i32 %b, i32 %c)
}
define i32 @f11(i32 %a, i16 signext %b, i32 %c) {
-; CHECK-LABEL: f11
+; CHECK-LABEL: f11:
; CHECK: smulwb
%conv = sext i32 %a to i64
%conv1 = sext i16 %b to i64
@@ -129,7 +129,7 @@ define i32 @f11(i32 %a, i16 signext %b,
}
define i32 @f12(i32 %a, i32 %b, i32 %c) {
-; CHECK-LABEL: f12
+; CHECK-LABEL: f12:
; CHECK: smulwt
%conv = sext i32 %a to i64
%shr = ashr i32 %b, 16
More information about the llvm-commits
mailing list