summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/wqm.ll
diff options
context:
space:
mode:
authorRhys Perry <pendingchaos02@gmail.com>2019-04-17 16:31:52 +0000
committerRhys Perry <pendingchaos02@gmail.com>2019-04-17 16:31:52 +0000
commitc2814e12e7fd1d51caa3c14a7053dedadd99152c (patch)
treec86a0d3ef817a9392abab9b107c4b3cb2b774f4d /llvm/test/CodeGen/AMDGPU/wqm.ll
parent00f2ab1c2f014ffc790c59fc0e9fa1bc8647cba2 (diff)
downloadbcm5719-llvm-c2814e12e7fd1d51caa3c14a7053dedadd99152c.tar.gz
bcm5719-llvm-c2814e12e7fd1d51caa3c14a7053dedadd99152c.zip
AMDGPU: Force skip over SMRD, VMEM and s_waitcnt instructions
Summary: This fixes a large Dawn of War 3 performance regression with RADV from Mesa 19.0 to master which was caused by creating less code in some branches. Reviewers: arsen, nhaehnle Reviewed By: nhaehnle Subscribers: arsenm, kzhuravl, jvesely, wdng, nhaehnle, yaxunl, dstuttard, tpr, t-tye, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D60824 llvm-svn: 358592
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/wqm.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/wqm.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/wqm.ll b/llvm/test/CodeGen/AMDGPU/wqm.ll
index 3d181836848..842cf257f3a 100644
--- a/llvm/test/CodeGen/AMDGPU/wqm.ll
+++ b/llvm/test/CodeGen/AMDGPU/wqm.ll
@@ -423,6 +423,7 @@ END:
;CHECK-NEXT: s_and_b64 [[SAVED]], exec, [[SAVED]]
;CHECK-NEXT: s_xor_b64 exec, exec, [[SAVED]]
;CHECK-NEXT: mask branch [[END_BB:BB[0-9]+_[0-9]+]]
+;CHECK-NEXT: s_cbranch_execz [[END_BB]]
;CHECK-NEXT: BB{{[0-9]+_[0-9]+}}: ; %ELSE
;CHECK: store_dword
;CHECK: [[END_BB]]: ; %END
OpenPOWER on IntegriCloud