[llvm] [LLVM][NVPTX]Add BF16 vector instruction and fix lowering rules (PR #69415)

Han Shen via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 18 23:36:57 PDT 2023


================
@@ -436,6 +436,16 @@ NVPTXTargetLowering::NVPTXTargetLowering(const NVPTXTargetMachine &TM,
       case ISD::FADD:
       case ISD::FMUL:
       case ISD::FSUB:
+      case ISD::SELECT:
+      case ISD::SELECT_CC:
+      case ISD::SETCC:
+      case ISD::FEXP2:
+      // conversion from bf16 to bf16 only support in sm90
----------------
shenh10 wrote:

ok

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


More information about the llvm-commits mailing list