Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Unified Diff: tests_lit/llvm2ice_tests/vector-bitcast.ll

Issue 914263005: Subzero: switch from llvm-objdump to objdump for lit tests (for LLVM merge) (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests_lit/llvm2ice_tests/vector-bitcast.ll
diff --git a/tests_lit/llvm2ice_tests/vector-bitcast.ll b/tests_lit/llvm2ice_tests/vector-bitcast.ll
index a91b10773828f614c3d5fd5b2bec63f7882c120a..76a3bf020bfd7061a6822129e971b208dc1402d0 100644
--- a/tests_lit/llvm2ice_tests/vector-bitcast.ll
+++ b/tests_lit/llvm2ice_tests/vector-bitcast.ll
@@ -1,12 +1,9 @@
; This file tests bitcasts of vector type. For most operations, these
; should be lowered to a no-op on -O2.
-; RUN: %p2i -i %s --args -O2 --verbose none \
-; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \
-; RUN: | llvm-objdump -d -symbolize -x86-asm-syntax=intel - | FileCheck %s
-; RUN: %p2i -i %s --args -Om1 --verbose none \
-; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \
-; RUN: | llvm-objdump -d -symbolize -x86-asm-syntax=intel - \
+; RUN: %p2i -i %s --assemble --disassemble --args -O2 --verbose none \
+; RUN: | FileCheck %s
+; RUN: %p2i -i %s --assemble --disassemble --args -Om1 --verbose none \
; RUN: | FileCheck --check-prefix=OPTM1 %s
define <16 x i8> @test_bitcast_v16i8_to_v16i8(<16 x i8> %arg) {
@@ -32,7 +29,7 @@ entry:
%res = bitcast <16 x i8> %arg to <4 x i32>
ret <4 x i32> %res
-; CHECK-LABEL: test_bitcast_v16i8_to_v4i32:
+; CHECK-LABEL: test_bitcast_v16i8_to_v4i32
; CHECK-NEXT: ret
}
@@ -41,7 +38,7 @@ entry:
%res = bitcast <16 x i8> %arg to <4 x float>
ret <4 x float> %res
-; CHECK-LABEL: test_bitcast_v16i8_to_v4f32:
+; CHECK-LABEL: test_bitcast_v16i8_to_v4f32
; CHECK-NEXT: ret
}
@@ -50,7 +47,7 @@ entry:
%res = bitcast <8 x i16> %arg to <16 x i8>
ret <16 x i8> %res
-; CHECK-LABEL: test_bitcast_v8i16_to_v16i8:
+; CHECK-LABEL: test_bitcast_v8i16_to_v16i8
; CHECK-NEXT: ret
}
@@ -59,7 +56,7 @@ entry:
%res = bitcast <8 x i16> %arg to <8 x i16>
ret <8 x i16> %res
-; CHECK-LABEL: test_bitcast_v8i16_to_v8i16:
+; CHECK-LABEL: test_bitcast_v8i16_to_v8i16
; CHECK-NEXT: ret
}
@@ -68,7 +65,7 @@ entry:
%res = bitcast <8 x i16> %arg to <4 x i32>
ret <4 x i32> %res
-; CHECK-LABEL: test_bitcast_v8i16_to_v4i32:
+; CHECK-LABEL: test_bitcast_v8i16_to_v4i32
; CHECK-NEXT: ret
}
@@ -77,7 +74,7 @@ entry:
%res = bitcast <8 x i16> %arg to <4 x float>
ret <4 x float> %res
-; CHECK-LABEL: test_bitcast_v8i16_to_v4f32:
+; CHECK-LABEL: test_bitcast_v8i16_to_v4f32
; CHECK-NEXT: ret
}
@@ -86,7 +83,7 @@ entry:
%res = bitcast <4 x i32> %arg to <16 x i8>
ret <16 x i8> %res
-; CHECK-LABEL: test_bitcast_v4i32_to_v16i8:
+; CHECK-LABEL: test_bitcast_v4i32_to_v16i8
; CHECK-NEXT: ret
}
@@ -95,7 +92,7 @@ entry:
%res = bitcast <4 x i32> %arg to <8 x i16>
ret <8 x i16> %res
-; CHECK-LABEL: test_bitcast_v4i32_to_v8i16:
+; CHECK-LABEL: test_bitcast_v4i32_to_v8i16
; CHECK-NEXT: ret
}
@@ -104,7 +101,7 @@ entry:
%res = bitcast <4 x i32> %arg to <4 x i32>
ret <4 x i32> %res
-; CHECK-LABEL: test_bitcast_v4i32_to_v4i32:
+; CHECK-LABEL: test_bitcast_v4i32_to_v4i32
; CHECK-NEXT: ret
}
@@ -113,7 +110,7 @@ entry:
%res = bitcast <4 x i32> %arg to <4 x float>
ret <4 x float> %res
-; CHECK-LABEL: test_bitcast_v4i32_to_v4f32:
+; CHECK-LABEL: test_bitcast_v4i32_to_v4f32
; CHECK-NEXT: ret
}
@@ -122,7 +119,7 @@ entry:
%res = bitcast <4 x float> %arg to <16 x i8>
ret <16 x i8> %res
-; CHECK-LABEL: test_bitcast_v4f32_to_v16i8:
+; CHECK-LABEL: test_bitcast_v4f32_to_v16i8
; CHECK-NEXT: ret
}
@@ -131,7 +128,7 @@ entry:
%res = bitcast <4 x float> %arg to <8 x i16>
ret <8 x i16> %res
-; CHECK-LABEL: test_bitcast_v4f32_to_v8i16:
+; CHECK-LABEL: test_bitcast_v4f32_to_v8i16
; CHECK-NEXT: ret
}
@@ -140,7 +137,7 @@ entry:
%res = bitcast <4 x float> %arg to <4 x i32>
ret <4 x i32> %res
-; CHECK-LABEL: test_bitcast_v4f32_to_v4i32:
+; CHECK-LABEL: test_bitcast_v4f32_to_v4i32
; CHECK-NEXT: ret
}
@@ -149,7 +146,7 @@ entry:
%res = bitcast <4 x float> %arg to <4 x float>
ret <4 x float> %res
-; CHECK-LABEL: test_bitcast_v4f32_to_v4f32:
+; CHECK-LABEL: test_bitcast_v4f32_to_v4f32
; CHECK-NEXT: ret
}
@@ -158,10 +155,11 @@ entry:
%res = bitcast <8 x i1> %arg to i8
ret i8 %res
-; CHECK-LABEL: test_bitcast_v8i1_to_i8:
-; CHECK: call Sz_bitcast_v8i1_to_i8
+; CHECK-LABEL: test_bitcast_v8i1_to_i8
+; CHECK: call
+; CHECK-NEXT: R_{{.*}} Sz_bitcast_v8i1_to_i8
-; OPTM1-LABEL: test_bitcast_v8i1_to_i8:
+; OPTM1-LABEL: test_bitcast_v8i1_to_i8
; OPMT1: call -4
}
@@ -170,10 +168,11 @@ entry:
%res = bitcast <16 x i1> %arg to i16
ret i16 %res
-; CHECK-LABEL: test_bitcast_v16i1_to_i16:
-; CHECK: call Sz_bitcast_v16i1_to_i16
+; CHECK-LABEL: test_bitcast_v16i1_to_i16
+; CHECK: call
+; CHECK-NEXT: R_{{.*}} Sz_bitcast_v16i1_to_i16
-; OPTM1-LABEL: test_bitcast_v16i1_to_i16:
+; OPTM1-LABEL: test_bitcast_v16i1_to_i16
; OPMT1: call -4
}
@@ -183,10 +182,11 @@ entry:
%res = bitcast i8 %arg.trunc to <8 x i1>
ret <8 x i1> %res
-; CHECK-LABEL: test_bitcast_i8_to_v8i1:
-; CHECK: call Sz_bitcast_i8_to_v8i1
+; CHECK-LABEL: test_bitcast_i8_to_v8i1
+; CHECK: call
+; CHECK-NEXT: R_{{.*}} Sz_bitcast_i8_to_v8i1
-; OPTM1-LABEL: test_bitcast_i8_to_v8i1:
+; OPTM1-LABEL: test_bitcast_i8_to_v8i1
; OPTM1: call Sz_bitcast_i8_to_v8i1
}
@@ -196,9 +196,10 @@ entry:
%res = bitcast i16 %arg.trunc to <16 x i1>
ret <16 x i1> %res
-; CHECK-LABEL: test_bitcast_i16_to_v16i1:
-; CHECK: call Sz_bitcast_i16_to_v16i1
+; CHECK-LABEL: test_bitcast_i16_to_v16i1
+; CHECK: call
+; CHECK-NEXT: R_{{.*}} Sz_bitcast_i16_to_v16i1
-; OPTM1-LABEL: test_bitcast_i16_to_v16i1:
+; OPTM1-LABEL: test_bitcast_i16_to_v16i1
; OPTM1: call Sz_bitcast_i16_to_v16i1
}

Powered by Google App Engine
This is Rietveld 408576698