[llvm] [ARM] Lower BSWAP on Pre-V6 ARM (PR #155113)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 3 01:03:36 PDT 2025


================
@@ -9508,6 +9508,42 @@ static bool isAddSubZExt(SDNode *N, SelectionDAG &DAG) {
   return false;
 }
 
+static SDValue LowerBSWAP(SDValue Op, SelectionDAG &DAG) {
----------------
arsenm wrote:

This is a generic expansion that doesn't belong in target code. Don't we already have this? 

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


More information about the llvm-commits mailing list