[PATCH] D144911: adding bf16 support to NVPTX

Artem Belevich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 22 11:29:50 PDT 2023


tra added inline comments.


================
Comment at: llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp:315-318
-    } else if (RC == &NVPTX::BFloat16RegsRegClass) {
-      Ret = (9 << 28);
-    } else if (RC == &NVPTX::BFloat16x2RegsRegClass) {
-      Ret = (10 << 28);
----------------
There's still something odd with the patch. It appears that it's a diff vs a previous set of the changes which did introduce BFloat16RegsRegClass.

Can you please update the diff to be vs the recent LLVM tree HEAD?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144911/new/

https://reviews.llvm.org/D144911



More information about the llvm-commits mailing list