[PATCH] D74632: [AArch64][SVE] Add initial backend support for FP splat_vector

Cameron McInally via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 18 13:58:31 PST 2020


cameron.mcinally marked an inline comment as done.
cameron.mcinally added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:878
+
+    setOperationAction(ISD::ConstantFP, MVT::f16, Legal);
+
----------------
efriedma wrote:
> I think `setOperationAction(ISD::ConstantFP, MVT::f16, Legal)` is going to cause a fatal error for some FP constants. Not that they would be impossible to lower appropriately, but I don't think we have the necessary patterns.
Ah, good call. That was also from D71712, but yeah, there are probably missing f16 patterns.

Are we're ok with not folding the f16 constants for now? Or I could wait on this patch too. Any preference?





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

https://reviews.llvm.org/D74632





More information about the llvm-commits mailing list