summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/AMDILInstrInfo.td
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-08-28 15:25:35 -0400
committerTom Stellard <[email protected]>2012-09-17 21:09:43 +0000
commitbfd55711c1eb32ffbfceb9d566abae98f0015f23 (patch)
treedb80e06a376175080bd0362dec090027e4309672 /src/gallium/drivers/radeon/AMDILInstrInfo.td
parentef0d7e13d7633b2d855e95dc7de2bb833592ec70 (diff)
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.
Diffstat (limited to 'src/gallium/drivers/radeon/AMDILInstrInfo.td')
-rw-r--r--src/gallium/drivers/radeon/AMDILInstrInfo.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/AMDILInstrInfo.td b/src/gallium/drivers/radeon/AMDILInstrInfo.td
index f8771afa180..050a5bd874f 100644
--- a/src/gallium/drivers/radeon/AMDILInstrInfo.td
+++ b/src/gallium/drivers/radeon/AMDILInstrInfo.td
@@ -211,7 +211,7 @@ include "AMDILIntrinsics.td"
// Custom Inserter for Branches and returns, this eventually will be a
// seperate pass
//===---------------------------------------------------------------------===//
-let isTerminator = 1, usesCustomInserter = 1 in {
+let isTerminator = 1, usesCustomInserter = 1, isBranch = 1, isBarrier = 1 in {
def BRANCH : ILFormat<(outs), (ins brtarget:$target),
"; Pseudo unconditional branch instruction",
[(br bb:$target)]>;