[llvm] [AMDGPU] Fix llvm.amdgcn.fcmp.bf16 (PR #166877)

Changpeng Fang via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 6 22:22:10 PST 2025


================
@@ -0,0 +1,297 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc -mtriple=amdgcn -mcpu=gfx1200 < %s | FileCheck -check-prefix=GFX12 %s
+
+declare i32 @llvm.amdgcn.fcmp.bf16(bfloat, bfloat, i32)
----------------
changpeng wrote:

> Yes, but that doesn't have a bfloat version

Right, and also does not have a half version. However, when you mentioned "deprecated", I think you meant types other than bfloat.   I think amdgcn_fcmp is not necessary and thus deprecated, no matter what types. 

https://github.com/llvm/llvm-project/pull/166877


More information about the llvm-commits mailing list