[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
Fri Jun 6 05:40:30 PDT 2025


================
@@ -18,8 +18,8 @@ define amdgpu_kernel void @or_v2i32(ptr addrspace(1) %out, ptr addrspace(1) %in)
 ; GFX6-NEXT:    s_mov_b32 s4, s0
 ; GFX6-NEXT:    s_mov_b32 s5, s1
 ; GFX6-NEXT:    s_waitcnt vmcnt(0)
----------------
chrisjbris wrote:

Again, i can create them if "-amdgpu-scalarize-global-loads=false" is disabled. But I don't understand the historical reasons for setting that flag in some bitwise op tests and not others.

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


More information about the llvm-commits mailing list