summaryrefslogtreecommitdiff
path: root/test/CodeGen/AMDGPU/vccz-corrupt-bug-workaround.mir
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/AMDGPU/vccz-corrupt-bug-workaround.mir')
-rw-r--r--test/CodeGen/AMDGPU/vccz-corrupt-bug-workaround.mir4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/AMDGPU/vccz-corrupt-bug-workaround.mir b/test/CodeGen/AMDGPU/vccz-corrupt-bug-workaround.mir
index 03e473e3a0c01..5e5465800c3a3 100644
--- a/test/CodeGen/AMDGPU/vccz-corrupt-bug-workaround.mir
+++ b/test/CodeGen/AMDGPU/vccz-corrupt-bug-workaround.mir
@@ -1,7 +1,7 @@
# RUN: llc -run-pass si-insert-waits -march=amdgcn -mcpu=tahiti -o - %s | FileCheck %s
--- |
- define void @vccz_corrupt_workaround(float %cond, i32 addrspace(1)* %out) #0 {
+ define amdgpu_kernel void @vccz_corrupt_workaround(float %cond, i32 addrspace(1)* %out) #0 {
entry:
%cmp0 = fcmp oeq float %cond, 0.000000e+00
br i1 %cmp0, label %if, label %else, !structurizecfg.uniform !0, !amdgpu.uniform !0
@@ -20,7 +20,7 @@
ret void
}
- define void @vccz_corrupt_undef_vcc(float %cond, i32 addrspace(1)* %out) #0 {
+ define amdgpu_kernel void @vccz_corrupt_undef_vcc(float %cond, i32 addrspace(1)* %out) #0 {
entry:
br i1 undef, label %if, label %else, !structurizecfg.uniform !0, !amdgpu.uniform !0