Skip to content

Commit 53d95f3

Browse files
authored
AMDGPU: Rename fail.llvm.fptrunc.round.ll to llvm.fptrunc.round.err.ll (#106452)
Also correct the suffix of the intrinsic
1 parent 0281339 commit 53d95f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/test/CodeGen/AMDGPU/fail.llvm.fptrunc.round.ll renamed to llvm/test/CodeGen/AMDGPU/llvm.fptrunc.round.err.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
define amdgpu_gs void @test_fptrunc_round_f64(double %a, ptr addrspace(1) %out) {
55
; SDAG-FAIL: LLVM ERROR: Cannot select
66
; GISEL-FAIL: unable to legalize instruction
7-
%res = call half @llvm.fptrunc.round.f64(double %a, metadata !"round.upward")
7+
%res = call half @llvm.fptrunc.round.f16.f64(double %a, metadata !"round.upward")
88
store half %res, ptr addrspace(1) %out, align 4
99
ret void
1010
}
1111

12-
declare half @llvm.fptrunc.round.f64(double, metadata)
12+
declare half @llvm.fptrunc.round.f16.f64(double, metadata)

0 commit comments

Comments
 (0)