[PATCH] D23640: AMDGPU: Split SILowerControlFlow into two pieces
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 17 19:28:39 PDT 2016
arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Herald added subscribers: kzhuravl, arsenm.
Do most of the lowering in a pre-RA pass. Keep the skip jump
insertion late, plus a few other things that require more
work to move out.
One concern I have is now there may be COPY instructions
which do not have the necessary implicit exec uses
f they will be lowered to v_mov_b32.
This has a positive effect on SGPR usage in shader-db: https://ghostbin.com/paste/rvn5x
https://reviews.llvm.org/D23640
Files:
lib/Target/AMDGPU/AMDGPU.h
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
lib/Target/AMDGPU/CMakeLists.txt
lib/Target/AMDGPU/SIInsertSkips.cpp
lib/Target/AMDGPU/SIInstructions.td
lib/Target/AMDGPU/SILowerControlFlow.cpp
test/CodeGen/AMDGPU/else.ll
test/CodeGen/AMDGPU/valu-i1.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23640.68475.patch
Type: text/x-patch
Size: 37895 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160818/0690eb50/attachment.bin>
More information about the llvm-commits
mailing list