[llvm] [AMDGPU][SDAG] Legalise v2i32 or/xor/and instructions to make use of 64-bit wide instructions (PR #140694)

Chris Jackson via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 21 07:33:45 PDT 2025


================
@@ -4189,6 +4234,53 @@ SDValue AMDGPUTargetLowering::performSrlCombine(SDNode *N,
   SDLoc SL(N);
   unsigned RHSVal;
 
+  // When the shl64_reduce optimisation code is passed through vector
----------------
chrisjbris wrote:

I've factored this into one function and added an explanation in the comments.

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


More information about the llvm-commits mailing list