[llvm] [NVPTX] Support BFloat Store Parameter (PR #137074)

Artem Belevich via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 24 14:44:41 PDT 2025


================
@@ -1868,7 +1868,7 @@ bool NVPTXDAGToDAGISel::tryStoreParam(SDNode *N) {
     case 1: {
       MVT::SimpleValueType MemTy = Mem->getMemoryVT().getSimpleVT().SimpleTy;
       SDValue Imm = Ops[0];
-      if (MemTy != MVT::f16 && MemTy != MVT::v2f16 &&
+      if (MemTy != MVT::f16 && MemTy != MVT::bf16 &&
----------------
Artem-B wrote:

Was `v2f16` removed intentionally?

We do have some corner cases where we have vectors of vectors, specifically for 16-bit FP types.

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


More information about the llvm-commits mailing list