[llvm] AArch64: Select FCANONICALIZE (PR #104429)

David Green via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 10 02:47:10 PDT 2024


================
@@ -1362,6 +1364,10 @@ AArch64TargetLowering::AArch64TargetLowering(const TargetMachine &TM,
         for (MVT Ty : {MVT::v4f16, MVT::v8f16})
           setOperationAction(Op, Ty, Legal);
     }
+    if (!Subtarget->hasFullFP16()) {
+      setOperationPromotedToType(ISD::FCANONICALIZE, MVT::v4f16, MVT::v4f32);
----------------
davemgreen wrote:

Can these be moved close to the existing setOperationPromotedToType around line 810?

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


More information about the llvm-commits mailing list