[llvm] [AMDGPU] Make rotr illegal (PR #166558)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 21 06:48:12 PST 2025


================
@@ -353,16 +353,17 @@ define hidden void @shuffle5341ud2(ptr addrspace(1) %in0, ptr addrspace(1) %out0
 ; GFX10-NEXT:    s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
 ; GFX10-NEXT:    global_load_dword v0, v[0:1], off
 ; GFX10-NEXT:    s_waitcnt vmcnt(0)
-; GFX10-NEXT:    v_alignbit_b32 v0, v0, v0, 16
+; GFX10-NEXT:    v_perm_b32 v0, v0, v0, 0x5040706
----------------
jayfoad wrote:

I reinstated the check for recreating the same FSHR node.

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


More information about the llvm-commits mailing list