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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue May 20 07:30:51 PDT 2025


================
@@ -2397,6 +2436,20 @@ def : GCNPat <
                           /* clamp */ 0, /* op_sel */ 0)
 >;
 
+def : GCNPat <
+  (rotr v2i32:$src0, v2i32:$src1),
----------------
arsenm wrote:

Shouldn't need manual scalarization again 

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


More information about the llvm-commits mailing list