[llvm] [SeparateConstOffsetFromGEP] Support GEP reordering for different types (PR #90802)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu May 2 12:55:38 PDT 2024


================
@@ -173,3 +173,432 @@ end:
   call void asm sideeffect "; use $0", "v"(ptr addrspace(3) %idx3)
   ret void
 }
+
+
+define protected amdgpu_kernel void @reorder_expand(ptr addrspace(3) %in.ptr, i32 %in.idx0, i32 %in.idx1) {
----------------
arsenm wrote:

Don't need protected (or amdgpu_kernel if IR only, or maybe at all)

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


More information about the llvm-commits mailing list