[llvm] [AMDGPU] Handle bf16 operands the same way as f16. NFC. (PR #77826)

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 12 13:33:27 PST 2024


================
@@ -284,12 +284,17 @@ def SIfptrunc_round_downward : SDNode<"AMDGPUISD::FPTRUNC_ROUND_DOWNWARD",
 // Returns 1 if the source arguments have modifiers, 0 if they do not.
 class isFloatType<ValueType SrcVT> {
   bit ret = !or(!eq(SrcVT.Value, f16.Value),
----------------
rampitec wrote:

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

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


More information about the llvm-commits mailing list