17 lines · plain
1; RUN: not llc -mcpu=gfx1100 -mtriple=amdgcn-amd-amdhsa -stress-regalloc=4 -amdgpu-enable-rewrite-partial-reg-uses=0 -filetype=null -verify-machineinstrs %s 2>&1 | FileCheck %s2 3; CHECK: error: <unknown>:0:0: ran out of registers during register allocation in function 'f'4; CHECK-NOT: Bad machine code5 6define <16 x half> @f(i1 %LGV2, <16 x half> %0) {7BB:8 br i1 %LGV2, label %SW_C3, label %SW_C9 10SW_C: ; preds = %BB11 %B1 = fmul <16 x half> %0, zeroinitializer12 ret <16 x half> %B113 14SW_C3: ; preds = %BB15 ret <16 x half> <half 0xH0000, half poison, half poison, half poison, half poison, half poison, half poison, half poison, half poison, half poison, half poison, half poison, half poison, half poison, half poison, half poison>16}17