[llvm] [AMDGPU] Fix a crash when a bool variable is used in inline asm (PR #171004)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 7 13:58:41 PST 2025


================
@@ -0,0 +1,15 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
+; RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx942 %s -o - | FileCheck %s
+; RUN: llc -global-isel=1 -mtriple=amdgcn-amd-amdhsa -mcpu=gfx942 %s -o - | FileCheck %s
+
+define void @test(ptr %p, i1 %b) {
----------------
arsenm wrote:

Add to one of the existing asm tests 

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


More information about the llvm-commits mailing list