diff options
Diffstat (limited to 'llvm/test/CodeGen/WebAssembly/simd-conversions.ll')
-rw-r--r-- | llvm/test/CodeGen/WebAssembly/simd-conversions.ll | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/simd-conversions.ll b/llvm/test/CodeGen/WebAssembly/simd-conversions.ll index 532e3e626b2..9c3f80fa16a 100644 --- a/llvm/test/CodeGen/WebAssembly/simd-conversions.ll +++ b/llvm/test/CodeGen/WebAssembly/simd-conversions.ll @@ -9,8 +9,7 @@ target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: convert_s_v4f32: ; NO-SIMD128-NOT: i32x4 -; SIMD128-NEXT: .param v128{{$}} -; SIMD128-NEXT: .result v128{{$}} +; SIMD128-NEXT: .functype convert_s_v4f32 (v128) -> (v128){{$}} ; SIMD128-NEXT: f32x4.convert_s/i32x4 $push[[R:[0-9]+]]=, $0 ; SIMD128-NEXT: return $pop[[R]] define <4 x float> @convert_s_v4f32(<4 x i32> %x) { @@ -20,8 +19,7 @@ define <4 x float> @convert_s_v4f32(<4 x i32> %x) { ; CHECK-LABEL: convert_u_v4f32: ; NO-SIMD128-NOT: i32x4 -; SIMD128-NEXT: .param v128{{$}} -; SIMD128-NEXT: .result v128{{$}} +; SIMD128-NEXT: .functype convert_u_v4f32 (v128) -> (v128){{$}} ; SIMD128-NEXT: f32x4.convert_u/i32x4 $push[[R:[0-9]+]]=, $0 ; SIMD128-NEXT: return $pop[[R]] define <4 x float> @convert_u_v4f32(<4 x i32> %x) { @@ -32,8 +30,7 @@ define <4 x float> @convert_u_v4f32(<4 x i32> %x) { ; CHECK-LABEL: convert_s_v2f64: ; NO-SIMD128-NOT: i64x2 ; SIMD128-VM-NOT: f64x2.convert_s/i64x2 -; SIMD128-NEXT: .param v128{{$}} -; SIMD128-NEXT: .result v128{{$}} +; SIMD128-NEXT: .functype convert_s_v2f64 (v128) -> (v128){{$}} ; SIMD128-NEXT: f64x2.convert_s/i64x2 $push[[R:[0-9]+]]=, $0 ; SIMD128-NEXT: return $pop[[R]] define <2 x double> @convert_s_v2f64(<2 x i64> %x) { @@ -44,8 +41,7 @@ define <2 x double> @convert_s_v2f64(<2 x i64> %x) { ; CHECK-LABEL: convert_u_v2f64: ; NO-SIMD128-NOT: i64x2 ; SIMD128-VM-NOT: f64x2.convert_u/i64x2 -; SIMD128-NEXT: .param v128{{$}} -; SIMD128-NEXT: .result v128{{$}} +; SIMD128-NEXT: .functype convert_u_v2f64 (v128) -> (v128){{$}} ; SIMD128-NEXT: f64x2.convert_u/i64x2 $push[[R:[0-9]+]]=, $0 ; SIMD128-NEXT: return $pop[[R]] define <2 x double> @convert_u_v2f64(<2 x i64> %x) { @@ -55,8 +51,7 @@ define <2 x double> @convert_u_v2f64(<2 x i64> %x) { ; CHECK-LABEL: trunc_sat_s_v4i32: ; NO-SIMD128-NOT: f32x4 -; SIMD128-NEXT: .param v128{{$}} -; SIMD128-NEXT: .result v128{{$}} +; SIMD128-NEXT: .functype trunc_sat_s_v4i32 (v128) -> (v128){{$}} ; SIMD128-NEXT: i32x4.trunc_sat_s/f32x4 $push[[R:[0-9]+]]=, $0 ; SIMD128-NEXT: return $pop[[R]] define <4 x i32> @trunc_sat_s_v4i32(<4 x float> %x) { @@ -66,8 +61,7 @@ define <4 x i32> @trunc_sat_s_v4i32(<4 x float> %x) { ; CHECK-LABEL: trunc_sat_u_v4i32: ; NO-SIMD128-NOT: f32x4 -; SIMD128-NEXT: .param v128{{$}} -; SIMD128-NEXT: .result v128{{$}} +; SIMD128-NEXT: .functype trunc_sat_u_v4i32 (v128) -> (v128){{$}} ; SIMD128-NEXT: i32x4.trunc_sat_u/f32x4 $push[[R:[0-9]+]]=, $0 ; SIMD128-NEXT: return $pop[[R]] define <4 x i32> @trunc_sat_u_v4i32(<4 x float> %x) { @@ -78,8 +72,7 @@ define <4 x i32> @trunc_sat_u_v4i32(<4 x float> %x) { ; CHECK-LABEL: trunc_sat_s_v2i64: ; NO-SIMD128-NOT: f64x2 ; SIMD128-VM-NOT: i64x2.trunc_sat_s/f64x2 -; SIMD128-NEXT: .param v128{{$}} -; SIMD128-NEXT: .result v128{{$}} +; SIMD128-NEXT: .functype trunc_sat_s_v2i64 (v128) -> (v128){{$}} ; SIMD128-NEXT: i64x2.trunc_sat_s/f64x2 $push[[R:[0-9]+]]=, $0 ; SIMD128-NEXT: return $pop[[R]] define <2 x i64> @trunc_sat_s_v2i64(<2 x double> %x) { @@ -90,8 +83,7 @@ define <2 x i64> @trunc_sat_s_v2i64(<2 x double> %x) { ; CHECK-LABEL: trunc_sat_u_v2i64: ; NO-SIMD128-NOT: f64x2 ; SIMD128-VM-NOT: i64x2.trunc_sat_u/f64x2 -; SIMD128-NEXT: .param v128{{$}} -; SIMD128-NEXT: .result v128{{$}} +; SIMD128-NEXT: .functype trunc_sat_u_v2i64 (v128) -> (v128){{$}} ; SIMD128-NEXT: i64x2.trunc_sat_u/f64x2 $push[[R:[0-9]+]]=, $0 ; SIMD128-NEXT: return $pop[[R]] define <2 x i64> @trunc_sat_u_v2i64(<2 x double> %x) { |