diff options
Diffstat (limited to 'test/CodeGen/NVPTX/fp16.ll')
-rw-r--r-- | test/CodeGen/NVPTX/fp16.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/NVPTX/fp16.ll b/test/CodeGen/NVPTX/fp16.ll index 8770399..b85eed0 100644 --- a/test/CodeGen/NVPTX/fp16.ll +++ b/test/CodeGen/NVPTX/fp16.ll @@ -8,7 +8,7 @@ declare i16 @llvm.convert.to.fp16.f64(double) nounwind readnone ; CHECK-LABEL: @test_convert_fp16_to_fp32 ; CHECK: cvt.f32.f16 define void @test_convert_fp16_to_fp32(float addrspace(1)* noalias %out, i16 addrspace(1)* noalias %in) nounwind { - %val = load i16 addrspace(1)* %in, align 2 + %val = load i16, i16 addrspace(1)* %in, align 2 %cvt = call float @llvm.convert.from.fp16.f32(i16 %val) nounwind readnone store float %cvt, float addrspace(1)* %out, align 4 ret void @@ -18,7 +18,7 @@ define void @test_convert_fp16_to_fp32(float addrspace(1)* noalias %out, i16 add ; CHECK-LABEL: @test_convert_fp16_to_fp64 ; CHECK: cvt.f64.f16 define void @test_convert_fp16_to_fp64(double addrspace(1)* noalias %out, i16 addrspace(1)* noalias %in) nounwind { - %val = load i16 addrspace(1)* %in, align 2 + %val = load i16, i16 addrspace(1)* %in, align 2 %cvt = call double @llvm.convert.from.fp16.f64(i16 %val) nounwind readnone store double %cvt, double addrspace(1)* %out, align 4 ret void @@ -28,7 +28,7 @@ define void @test_convert_fp16_to_fp64(double addrspace(1)* noalias %out, i16 ad ; CHECK-LABEL: @test_convert_fp32_to_fp16 ; CHECK: cvt.rn.f16.f32 define void @test_convert_fp32_to_fp16(i16 addrspace(1)* noalias %out, float addrspace(1)* noalias %in) nounwind { - %val = load float addrspace(1)* %in, align 2 + %val = load float, float addrspace(1)* %in, align 2 %cvt = call i16 @llvm.convert.to.fp16.f32(float %val) nounwind readnone store i16 %cvt, i16 addrspace(1)* %out, align 4 ret void @@ -38,7 +38,7 @@ define void @test_convert_fp32_to_fp16(i16 addrspace(1)* noalias %out, float add ; CHECK-LABEL: @test_convert_fp64_to_fp16 ; CHECK: cvt.rn.f16.f64 define void @test_convert_fp64_to_fp16(i16 addrspace(1)* noalias %out, double addrspace(1)* noalias %in) nounwind { - %val = load double addrspace(1)* %in, align 2 + %val = load double, double addrspace(1)* %in, align 2 %cvt = call i16 @llvm.convert.to.fp16.f64(double %val) nounwind readnone store i16 %cvt, i16 addrspace(1)* %out, align 4 ret void |