diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2016-11-29 00:46:46 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2016-11-29 00:46:46 +0000 |
commit | 0bc688116c95d74a1b72a650607eab1f8fdc2a33 (patch) | |
tree | 241502224e7feda1d8e6409af6202a7cd76884a4 /llvm/test/CodeGen/AMDGPU/loop_break.ll | |
parent | 3666e9c54b61a5b90387213d586c6a0751462178 (diff) | |
download | bcm5719-llvm-0bc688116c95d74a1b72a650607eab1f8fdc2a33.tar.gz bcm5719-llvm-0bc688116c95d74a1b72a650607eab1f8fdc2a33.zip |
AMDGPU/SI: Avoid moving PHIs to VALU when phi values are defined in scalar branches
Reviewers: arsenm
Subscribers: arsenm, llvm-commits, kzhuravl
Differential Revision: https://reviews.llvm.org/D23417
llvm-svn: 288095
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/loop_break.ll')
-rw-r--r-- | llvm/test/CodeGen/AMDGPU/loop_break.ll | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/loop_break.ll b/llvm/test/CodeGen/AMDGPU/loop_break.ll index 25f1123df4e..82564b8bb28 100644 --- a/llvm/test/CodeGen/AMDGPU/loop_break.ll +++ b/llvm/test/CodeGen/AMDGPU/loop_break.ll @@ -27,9 +27,8 @@ ; GCN: [[LOOP_ENTRY:BB[0-9]+_[0-9]+]]: ; %bb1 ; GCN: s_or_b64 [[MASK:s\[[0-9]+:[0-9]+\]]], exec, [[INITMASK]] -; GCN: v_cmp_lt_i32_e32 vcc, -; GCN: s_and_b64 vcc, exec, vcc -; GCN-NEXT: s_cbranch_vccnz [[FLOW:BB[0-9]+_[0-9]+]] +; GCN: s_cmp_gt_i32 s{{[0-9]+}}, -1 +; GCN-NEXT: s_cbranch_scc1 [[FLOW:BB[0-9]+_[0-9]+]] ; GCN: ; BB#2: ; %bb4 ; GCN: buffer_load_dword |