[llvm] AMDGPU: Rename fail.llvm.fptrunc.round.ll to llvm.fptrunc.round.err.ll (PR #106452)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 28 13:51:49 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-amdgpu
Author: Changpeng Fang (changpeng)
<details>
<summary>Changes</summary>
Also correct the suffix of the intrinsic
---
Full diff: https://github.com/llvm/llvm-project/pull/106452.diff
1 Files Affected:
- (renamed) llvm/test/CodeGen/AMDGPU/llvm.fptrunc.round.err.ll (+2-2)
``````````diff
diff --git a/llvm/test/CodeGen/AMDGPU/fail.llvm.fptrunc.round.ll b/llvm/test/CodeGen/AMDGPU/llvm.fptrunc.round.err.ll
similarity index 77%
rename from llvm/test/CodeGen/AMDGPU/fail.llvm.fptrunc.round.ll
rename to llvm/test/CodeGen/AMDGPU/llvm.fptrunc.round.err.ll
index 9fa3eb22a554a8..4bcd0cf5e6a0e5 100644
--- a/llvm/test/CodeGen/AMDGPU/fail.llvm.fptrunc.round.ll
+++ b/llvm/test/CodeGen/AMDGPU/llvm.fptrunc.round.err.ll
@@ -4,9 +4,9 @@
define amdgpu_gs void @test_fptrunc_round_f64(double %a, ptr addrspace(1) %out) {
; SDAG-FAIL: LLVM ERROR: Cannot select
; GISEL-FAIL: unable to legalize instruction
- %res = call half @llvm.fptrunc.round.f64(double %a, metadata !"round.upward")
+ %res = call half @llvm.fptrunc.round.f16.f64(double %a, metadata !"round.upward")
store half %res, ptr addrspace(1) %out, align 4
ret void
}
-declare half @llvm.fptrunc.round.f64(double, metadata)
+declare half @llvm.fptrunc.round.f16.f64(double, metadata)
``````````
</details>
https://github.com/llvm/llvm-project/pull/106452
More information about the llvm-commits
mailing list