[PATCH] D23584: AMDGPU: Don't required structured CFG

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 16 15:55:37 PDT 2016


arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Herald added subscribers: kzhuravl, arsenm.

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.

https://reviews.llvm.org/D23584

Files:
  lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  test/CodeGen/AMDGPU/basic-branch.ll
  test/CodeGen/AMDGPU/indirect-addressing-si.ll
  test/CodeGen/AMDGPU/sgpr-control-flow.ll
  test/CodeGen/AMDGPU/sgpr-copy.ll
  test/CodeGen/AMDGPU/skip-if-dead.ll
  test/CodeGen/AMDGPU/uniform-cfg.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23584.68274.patch
Type: text/x-patch
Size: 11258 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160816/c18a824b/attachment.bin>


More information about the llvm-commits mailing list