radeon/llvm: Inital flow control support for SI
authorTom Stellard <thomas.stellard@amd.com>
Tue, 28 Aug 2012 19:25:35 +0000 (15:25 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 17 Sep 2012 21:09:43 +0000 (21:09 +0000)
commitbfd55711c1eb32ffbfceb9d566abae98f0015f23
treedb80e06a376175080bd0362dec090027e4309672
parentef0d7e13d7633b2d855e95dc7de2bb833592ec70
radeon/llvm: Inital flow control support for SI

This adds basic flow control support for If-Then-Else blocks using
predicates (stored in the EXEC register) and a predicate stack for
nested flow control.
src/gallium/drivers/radeon/AMDGPU.h
src/gallium/drivers/radeon/AMDGPUTargetMachine.cpp
src/gallium/drivers/radeon/AMDILCFGStructurizer.cpp
src/gallium/drivers/radeon/AMDILInstrInfo.td
src/gallium/drivers/radeon/Makefile.sources
src/gallium/drivers/radeon/SIISelLowering.cpp
src/gallium/drivers/radeon/SILowerFlowControl.cpp [new file with mode: 0644]