Changeset View
Changeset View
Standalone View
Standalone View
clang/test/CodeGen/arm-bf16-params-returns.c
Context not available. | |||||
__bf16 test_ret_bf16(__bf16 v) { | __bf16 test_ret_bf16(__bf16 v) { | ||||
return v; | return v; | ||||
} | } | ||||
// CHECK32-HARD: define arm_aapcs_vfpcc bfloat @test_ret_bf16(bfloat returned %v) {{.*}} { | // CHECK32-HARD: define arm_aapcs_vfpcc noundef bfloat @test_ret_bf16(bfloat noundef returned %v) {{.*}} { | ||||
// CHECK32-HARD: ret bfloat %v | // CHECK32-HARD: ret bfloat %v | ||||
// CHECK32-SOFTFP: define bfloat @test_ret_bf16(bfloat returned %v) {{.*}} { | // CHECK32-SOFTFP: define noundef bfloat @test_ret_bf16(bfloat noundef returned %v) {{.*}} { | ||||
// CHECK32-SOFTFP: ret bfloat %v | // CHECK32-SOFTFP: ret bfloat %v | ||||
// CHECK64: define bfloat @test_ret_bf16(bfloat returned %v) {{.*}} { | // CHECK64: define noundef bfloat @test_ret_bf16(bfloat noundef returned %v) {{.*}} { | ||||
// CHECK64: ret bfloat %v | // CHECK64: ret bfloat %v | ||||
bfloat16x4_t test_ret_bf16x4_t(bfloat16x4_t v) { | bfloat16x4_t test_ret_bf16x4_t(bfloat16x4_t v) { | ||||
return v; | return v; | ||||
} | } | ||||
// CHECK32-HARD: define arm_aapcs_vfpcc <4 x bfloat> @test_ret_bf16x4_t(<4 x bfloat> returned %v) {{.*}} { | // CHECK32-HARD: define arm_aapcs_vfpcc noundef <4 x bfloat> @test_ret_bf16x4_t(<4 x bfloat> noundef returned %v) {{.*}} { | ||||
// CHECK32-HARD: ret <4 x bfloat> %v | // CHECK32-HARD: ret <4 x bfloat> %v | ||||
// CHECK32-SOFTFP: define <2 x i32> @test_ret_bf16x4_t(<2 x i32> [[V0:.*]]) {{.*}} { | // CHECK32-SOFTFP: define noundef <2 x i32> @test_ret_bf16x4_t(<2 x i32> [[V0:.*]]) {{.*}} { | ||||
// CHECK32-SOFTFP: ret <2 x i32> %v | // CHECK32-SOFTFP: ret <2 x i32> %v | ||||
// CHECK64: define <4 x bfloat> @test_ret_bf16x4_t(<4 x bfloat> returned %v) {{.*}} { | // CHECK64: define noundef <4 x bfloat> @test_ret_bf16x4_t(<4 x bfloat> noundef returned %v) {{.*}} { | ||||
// CHECK64: ret <4 x bfloat> %v | // CHECK64: ret <4 x bfloat> %v | ||||
Context not available. |