[llvm] [AMDGPU] Fix crash due to assertion failure (PR #123627)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 20 08:44:10 PST 2025
================
@@ -0,0 +1,100 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
+; RUN: llc -mtriple=amdgcn -mcpu=gfx942 -verify-machineinstrs < %s | FileCheck -check-prefix=GFX942 %s
+; RUN: llc -mtriple=amdgcn -mcpu=gfx90a -O0 -verify-machineinstrs < %s | FileCheck -check-prefix=GFX90A %s
+; RUN: llc -mtriple=amdgcn -mcpu=gfx90a -O0 -global-isel=true -verify-machineinstrs < %s | FileCheck -check-prefix=GFX90A-GISEL %s
+
+ at G = global <2 x i32> splat (i32 5)
----------------
arsenm wrote:
```suggestion
@G = hidden global <2 x i32> splat (i32 5)
```
https://github.com/llvm/llvm-project/pull/123627
More information about the llvm-commits
mailing list