[llvm] [SPARC] Use hardware byteswapper when we have V9 (PR #191720)

via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 18 22:03:48 PDT 2026


================
@@ -3218,13 +3255,109 @@ SDValue SparcTargetLowering::PerformBITCASTCombine(SDNode *N,
   return SDValue();
 }
 
+SDValue SparcTargetLowering::PerformBSWAPCombine(SDNode *N,
+                                                 DAGCombinerInfo &DCI) const {
----------------
koachan wrote:

Can something similar be done in STORECombine too or this is specific to here?

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


More information about the llvm-commits mailing list