[clang] [llvm] [RFC][AMDGPU] Use `bf16` instead of `i16` for bfloat (PR #80908)

Stanislav Mekhanoshin via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 15 13:09:40 PST 2024


================
@@ -0,0 +1,8 @@
+# RUN: llvm-mc -triple=amdgcn -mcpu=gfx1100 -disassemble -show-encoding < %s | FileCheck %s
+# RUN: llvm-mc -triple=amdgcn -mcpu=gfx1200 -disassemble -show-encoding < %s | FileCheck %s
+
+# CHECK: v_dot2_bf16_bf16 v5, v1, v2, 0x42c8
----------------
rampitec wrote:

Add encoding to the check lines. Currently it is broken and encoded value is different from decoded one.

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


More information about the cfe-commits mailing list