[llvm] [AArch64][SVE] Lower scalar FP converts to SVE when Neon is unavailable  (PR #112564)
    Benjamin Maxwell via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Oct 24 04:28:02 PDT 2024
    
    
  
================
@@ -4550,9 +4550,10 @@ SDValue AArch64TargetLowering::LowerVectorFP_TO_INT(SDValue Op,
   EVT VT = Op.getValueType();
 
   if (VT.isScalableVector()) {
-    unsigned Opcode = Op.getOpcode() == ISD::FP_TO_UINT
-                          ? AArch64ISD::FCVTZU_MERGE_PASSTHRU
-                          : AArch64ISD::FCVTZS_MERGE_PASSTHRU;
+    unsigned Opc = Op.getOpcode();
+    bool IsSigned = Opc == ISD::FP_TO_SINT || Opc == ISD::STRICT_FP_TO_SINT;
----------------
MacDue wrote:
Removed :+1: 
https://github.com/llvm/llvm-project/pull/112564
    
    
More information about the llvm-commits
mailing list