summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/cf-loop-on-constant.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/cf-loop-on-constant.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/cf-loop-on-constant.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/cf-loop-on-constant.ll b/llvm/test/CodeGen/AMDGPU/cf-loop-on-constant.ll
index 4872fbfadab..03e7e74c7c2 100644
--- a/llvm/test/CodeGen/AMDGPU/cf-loop-on-constant.ll
+++ b/llvm/test/CodeGen/AMDGPU/cf-loop-on-constant.ll
@@ -105,8 +105,9 @@ for.body:
; GCN: s_cbranch_vccnz [[LOOPBB]]
; GCN-NEXT: ; %bb.2
; GCN-NEXT: s_endpgm
-define amdgpu_kernel void @loop_arg_0(float addrspace(3)* %ptr, i32 %n, i1 %cond) nounwind {
+define amdgpu_kernel void @loop_arg_0(float addrspace(3)* %ptr, i32 %n) nounwind {
entry:
+ %cond = load volatile i1, i1 addrspace(3)* null
br label %for.body
for.exit:
OpenPOWER on IntegriCloud