================ @@ -19,3 +20,12 @@ entry: %res = bitcast half %val2 to i16 ret i16 %res } + +define <4 x i16> @test_vector_half4(<4 x half> nofpclass(nan inf) %p1) { +entry: + ; CHECK: %[[#arg0:]] = OpFunctionParameter %[[#vec4_float_16]] + ; CHECK: %[[#Res1:]] = OpBitcast %[[#vec4_int_16]] %[[#arg0]] + %0 = bitcast <4 x half> %p1 to <4 x i16> + ;CHECK: OpReturnValue %[[#Res1]] ---------------- V-FEXrt wrote:
nit: ```suggestion ; CHECK: OpReturnValue %[[#Res1]] ``` https://github.com/llvm/llvm-project/pull/131900 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits