[llvm] [AArch64] Improve bf16 fp_extend lowering. (PR #118966)

Nashe Mncube via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 9 05:20:34 PST 2024


================
@@ -753,6 +753,14 @@ AArch64TargetLowering::AArch64TargetLowering(const TargetMachine &TM,
     setOperationAction(Op, MVT::v8bf16, Expand);
   }
 
+  // For bf16, fpextend is custom lowered to optionally expanded into shifts.
----------------
nasherm wrote:

Nit: typo I think. `lowered to optionally` -> `lowered to be optionally`

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


More information about the llvm-commits mailing list