AMDGPU: Don't required structured CFG
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 6 Dec 2016 01:02:51 +0000 (01:02 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 6 Dec 2016 01:02:51 +0000 (01:02 +0000)
commitad55ee58691b58f3ac36e688fc90808d5cf71e7f
tree712b24af2cc28eb96613647ee32d130ba02f8d03
parent9642b36e91c28b888db018ebec8998b5bee33338
AMDGPU: Don't required structured CFG

The structured CFG is just an aid to inserting exec
mask modification instructions, once that is done
we don't really need it anymore. We also
do not analyze blocks with terminators that
modify exec, so this should only be impacting
true branches.

llvm-svn: 288744
llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
llvm/test/CodeGen/AMDGPU/basic-branch.ll
llvm/test/CodeGen/AMDGPU/br_cc.f16.ll
llvm/test/CodeGen/AMDGPU/branch-relaxation.ll
llvm/test/CodeGen/AMDGPU/indirect-addressing-si.ll
llvm/test/CodeGen/AMDGPU/lds-m0-init-in-loop.ll
llvm/test/CodeGen/AMDGPU/sgpr-control-flow.ll
llvm/test/CodeGen/AMDGPU/sgpr-copy.ll
llvm/test/CodeGen/AMDGPU/skip-if-dead.ll
llvm/test/CodeGen/AMDGPU/uniform-cfg.ll