[llvm] [PowerPC] Replace vspltisw+vadduwm instructions with xxleqv+vsubuwm for adding the vector {1, 1, 1, 1} (PR #160882)

Tony Varghese via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 16 21:46:10 PDT 2025


================
@@ -19208,13 +19208,54 @@ static SDValue combineADDToMAT_PCREL_ADDR(SDNode *N, SelectionDAG &DAG,
   return MatPCRel;
 }
 
----------------
tonykuttai wrote:

Add a comment block explaining what this function is doing.

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


More information about the llvm-commits mailing list