[llvm] [AMDGPU] Generate s_lshl?_add_u32 (PR #167032)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 7 20:08:46 PST 2025


================
@@ -0,0 +1,90 @@
+; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 6
+; RUN: llc -mtriple=amdgcn -mcpu=gfx1200 -stop-after=si-fix-sgpr-copies < %s | FileCheck %s
+
+define amdgpu_kernel void @lshl1_add(ptr addrspace(5) %alloca) {
----------------
arsenm wrote:

Not an alloca (and it's likely this may be made a verifier error some day), so can you use a different pointer 

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


More information about the llvm-commits mailing list