summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AMDGPU/uniform-cfg.ll
diff options
context:
space:
mode:
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2017-03-11 00:29:27 +0000
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2017-03-11 00:29:27 +0000
commit79da2a7698ab2e86d6eef12859d879ccfb98f46e (patch)
tree59f6e3745f81cc3221b443b98c5ae1079ba1ad53 /llvm/test/CodeGen/AMDGPU/uniform-cfg.ll
parentee8a4f51c4f01de2eba8a018539905aa674f8dff (diff)
downloadbcm5719-llvm-79da2a7698ab2e86d6eef12859d879ccfb98f46e.tar.gz
bcm5719-llvm-79da2a7698ab2e86d6eef12859d879ccfb98f46e.zip
[AMDGPU] Remove getBidirectionalReasonRank
This method inverts the Reason field of a scheduling candidate. It does right comparison between RegCritical and RegExcess, but everything else is broken. In fact it can prefer less strong reason such as Weak over RegCritical because Weak > -RegCritical. The CandReason enum is properly sorted, so just remove artificial ranking. Differential Revision: https://reviews.llvm.org/D30557 llvm-svn: 297536
Diffstat (limited to 'llvm/test/CodeGen/AMDGPU/uniform-cfg.ll')
-rw-r--r--llvm/test/CodeGen/AMDGPU/uniform-cfg.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/AMDGPU/uniform-cfg.ll b/llvm/test/CodeGen/AMDGPU/uniform-cfg.ll
index 5a7acb950df..44330e68356 100644
--- a/llvm/test/CodeGen/AMDGPU/uniform-cfg.ll
+++ b/llvm/test/CodeGen/AMDGPU/uniform-cfg.ll
@@ -166,7 +166,7 @@ endif:
; GCN-LABEL: {{^}}uniform_if_else_ret:
; GCN: s_cmp_lg_u32 s{{[0-9]+}}, 0
-; GCN-NEXT: s_cbranch_scc0 [[IF_LABEL:[0-9_A-Za-z]+]]
+; GCN: s_cbranch_scc0 [[IF_LABEL:[0-9_A-Za-z]+]]
; GCN: v_mov_b32_e32 [[TWO:v[0-9]+]], 2
; GCN: buffer_store_dword [[TWO]]
OpenPOWER on IntegriCloud