[llvm] [AMDGPU] PromoteAlloca: reject known out-of-bounds index (PR #139700)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed May 21 02:11:32 PDT 2025


================
@@ -16,6 +15,18 @@ define amdgpu_kernel void @out_of_bounds() {
   ret void
 }
 
+define amdgpu_kernel void @partially_out_of_bounds() {
----------------
arsenm wrote:

```suggestion
define amdgpu_kernel void @memcpy_partially_out_of_bounds() {
```

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


More information about the llvm-commits mailing list