[llvm] [AMDGPU] Make rotr illegal (PR #166558)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 5 05:47:21 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:
These are just more instances of a problem introduced by #70240 and already noted here: https://github.com/llvm/llvm-project/blob/ba1dbdd44a1db9a5a0912830afc05d7b18cbf666/llvm/test/CodeGen/AMDGPU/permute.ll#L114
https://github.com/llvm/llvm-project/pull/166558
More information about the llvm-commits
mailing list