[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
Wed May 21 02:33:55 PDT 2025


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

Fixed by making rotr v2i32 custom.

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


More information about the llvm-commits mailing list