llvm.org GIT mirror llvm / 39210ac
R600: Add some missing CF instruction definitions to the .td files. reviewed-by: Vincent Lejeune <vljn at ovi.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199841 91177308-0d34-0410-b5e6-96231b3b80d8 Tom Stellard 6 years ago
1 changed file(s) with 7 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
641641 def CF_ALU : ALU_CLAUSE<8, "ALU">;
642642 def CF_ALU_PUSH_BEFORE : ALU_CLAUSE<9, "ALU_PUSH_BEFORE">;
643643 def CF_ALU_POP_AFTER : ALU_CLAUSE<10, "ALU_POP_AFTER">;
644 def CF_ALU_CONTINUE : ALU_CLAUSE<13, "ALU_CONTINUE">;
645 def CF_ALU_BREAK : ALU_CLAUSE<14, "ALU_BREAK">;
646 def CF_ALU_ELSE_AFTER : ALU_CLAUSE<15, "ALU_ELSE_AFTER">;
644647
645648 def FETCH_CLAUSE : AMDGPUInst <(outs),
646649 (ins i32imm:$addr), "Fetch clause starting at $addr:", [] > {
12351238 }
12361239 def CF_JUMP_R600 : CF_CLAUSE_R600<10, (ins i32imm:$ADDR, i32imm:$POP_COUNT),
12371240 "JUMP @$ADDR POP:$POP_COUNT"> {
1241 let CNT = 0;
1242 }
1243 def CF_PUSH_ELSE_R600 : CF_CLAUSE_R600<12, (ins i32imm:$ADDR),
1244 "PUSH_ELSE @$ADDR"> {
12381245 let CNT = 0;
12391246 }
12401247 def CF_ELSE_R600 : CF_CLAUSE_R600<13, (ins i32imm:$ADDR, i32imm:$POP_COUNT),