[x86] Fix disassembly of callw instruction
[oota-llvm.git] / test / Transforms / InstCombine / trunc.ll
index cbbad7f797770a8d0c57b47975ce7a3d73e14957..ee81cf8c3c5d87e18db375a829d55c73a461d9cf 100644 (file)
@@ -11,7 +11,7 @@ define i64 @test1(i64 %a) {
   %d = zext i32 %c to i64
   call void @use(i32 %b)
   ret i64 %d
-; CHECK: @test1
+; CHECK-LABEL: @test1(
 ; CHECK-NOT: ext
 ; CHECK: ret
 }
@@ -22,7 +22,7 @@ define i64 @test2(i64 %a) {
   %d = sext i32 %q to i64
   call void @use(i32 %b)
   ret i64 %d
-; CHECK: @test2
+; CHECK-LABEL: @test2(
 ; CHECK: shl i64 %a, 36
 ; CHECK: %d = ashr exact i64 {{.*}}, 36
 ; CHECK: ret i64 %d
@@ -33,7 +33,7 @@ define i64 @test3(i64 %a) {
   %d = zext i32 %c to i64
   call void @use(i32 %b)
   ret i64 %d
-; CHECK: @test3
+; CHECK-LABEL: @test3(
 ; CHECK-NOT: ext
 ; CHECK: ret
 }
@@ -44,7 +44,7 @@ define i64 @test4(i64 %a) {
   %d = zext i32 %x to i64
   call void @use(i32 %b)
   ret i64 %d
-; CHECK: @test4
+; CHECK-LABEL: @test4(
 ; CHECK: = and i64 %a, 8
 ; CHECK: = xor i64 {{.*}}, 8
 ; CHECK-NOT: ext
@@ -56,7 +56,7 @@ define i32 @test5(i32 %A) {
   %C = lshr i128 %B, 16
   %D = trunc i128 %C to i32
   ret i32 %D
-; CHECK: @test5
+; CHECK-LABEL: @test5(
 ; CHECK: %C = lshr i32 %A, 16
 ; CHECK: ret i32 %C
 }
@@ -66,7 +66,7 @@ define i32 @test6(i64 %A) {
   %C = lshr i128 %B, 32
   %D = trunc i128 %C to i32
   ret i32 %D
-; CHECK: @test6
+; CHECK-LABEL: @test6(
 ; CHECK: %C = lshr i64 %A, 32
 ; CHECK: %D = trunc i64 %C to i32
 ; CHECK: ret i32 %D
@@ -77,7 +77,7 @@ define i92 @test7(i64 %A) {
   %C = lshr i128 %B, 32
   %D = trunc i128 %C to i92
   ret i92 %D
-; CHECK: @test7
+; CHECK-LABEL: @test7(
 ; CHECK: %B = zext i64 %A to i92
 ; CHECK: %C = lshr i92 %B, 32
 ; CHECK: ret i92 %C
@@ -90,7 +90,7 @@ define i64 @test8(i32 %A, i32 %B) {
   %ins35 = or i128 %tmp33, %tmp38
   %tmp42 = trunc i128 %ins35 to i64
   ret i64 %tmp42
-; CHECK: @test8
+; CHECK-LABEL: @test8(
 ; CHECK:   %tmp38 = zext i32 %A to i64
 ; CHECK:   %tmp32 = zext i32 %B to i64
 ; CHECK:   %tmp33 = shl nuw i64 %tmp32, 32
@@ -102,7 +102,7 @@ define i8 @test9(i32 %X) {
   %Y = and i32 %X, 42
   %Z = trunc i32 %Y to i8
   ret i8 %Z
-; CHECK: @test9
+; CHECK-LABEL: @test9(
 ; CHECK: trunc
 ; CHECK: and
 ; CHECK: ret
@@ -113,7 +113,7 @@ define i8 @test10(i32 %X) {
   %Y = trunc i32 %X to i8
   %Z = and i8 %Y, 42
   ret i8 %Z
-; CHECK: @test10
+; CHECK-LABEL: @test10(
 ; CHECK: trunc
 ; CHECK: and
 ; CHECK: ret