[llvm] [LLVM][CodeGen] Add lowering for scalable vector bfloat operations. (PR #109803)

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 25 09:35:05 PDT 2024


================
@@ -1070,13 +1071,21 @@ void VectorLegalizer::Expand(SDNode *Node, SmallVectorImpl<SDValue> &Results) {
     break;
   case ISD::FMINNUM:
   case ISD::FMAXNUM:
+    if (SDValue Expanded = ExpandBF16Arith(Node)) {
----------------
paulwalker-arm wrote:

I was a little unsure how generic `expandFMINNUM_FMAXNUM` actually is.  The description seemed pretty specific alongside a use in SIISelLowering, so wasn't sure if I could just add the splitting code into it.

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


More information about the llvm-commits mailing list