[llvm] 09cdbd2 - [AArch64] Use AArch64ISD::UADDLP over aarch64_neon_uaddlp. NFC

David Green via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 21 01:26:54 PDT 2024


Author: David Green
Date: 2024-06-21T09:26:45+01:00
New Revision: 09cdbd2a5c2c8f821475d3d7e1741aee9a20d0f0

URL: https://github.com/llvm/llvm-project/commit/09cdbd2a5c2c8f821475d3d7e1741aee9a20d0f0
DIFF: https://github.com/llvm/llvm-project/commit/09cdbd2a5c2c8f821475d3d7e1741aee9a20d0f0.diff

LOG: [AArch64] Use AArch64ISD::UADDLP over aarch64_neon_uaddlp. NFC

Added: 
    

Modified: 
    llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
index 2a82e032c6415..7f821715c910d 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -9815,9 +9815,7 @@ SDValue AArch64TargetLowering::LowerCTPOP_PARITY(SDValue Op,
     EltSize *= 2;
     NumElts /= 2;
     MVT WidenVT = MVT::getVectorVT(MVT::getIntegerVT(EltSize), NumElts);
-    Val = DAG.getNode(
-        ISD::INTRINSIC_WO_CHAIN, DL, WidenVT,
-        DAG.getConstant(Intrinsic::aarch64_neon_uaddlp, DL, MVT::i32), Val);
+    Val = DAG.getNode(AArch64ISD::UADDLP, DL, WidenVT, Val);
   }
 
   return Val;


        


More information about the llvm-commits mailing list