radeon/llvm: add missing cases for BREAK/CONTINUE
Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
This commit is contained in:
parent
e740b60845
commit
e9be193430
|
@ -105,6 +105,7 @@ bool llvm::isFCOp(unsigned opcode)
|
|||
case AMDIL::BREAK_LOGICALZ_f32:
|
||||
case AMDIL::BREAK_LOGICALNZ_i32:
|
||||
case AMDIL::BREAK_LOGICALZ_i32:
|
||||
case AMDIL::BREAK_LOGICALNZ_f32:
|
||||
case AMDIL::CONTINUE_LOGICALNZ_f32:
|
||||
case AMDIL::IF_LOGICALNZ_i32:
|
||||
case AMDIL::IF_LOGICALZ_f32:
|
||||
|
|
|
@ -568,6 +568,7 @@ void R600CodeEmitter::emitFCInstr(MachineInstr &MI)
|
|||
case AMDIL::BREAK_LOGICALZ_f32:
|
||||
instr = FC_BREAK;
|
||||
break;
|
||||
case AMDIL::BREAK_LOGICALNZ_f32:
|
||||
case AMDIL::BREAK_LOGICALNZ_i32:
|
||||
instr = FC_BREAK_NZ_INT;
|
||||
break;
|
||||
|
@ -575,6 +576,7 @@ void R600CodeEmitter::emitFCInstr(MachineInstr &MI)
|
|||
instr = FC_BREAK_Z_INT;
|
||||
break;
|
||||
case AMDIL::CONTINUE_LOGICALNZ_f32:
|
||||
case AMDIL::CONTINUE_LOGICALNZ_i32:
|
||||
instr = FC_CONTINUE;
|
||||
break;
|
||||
/* XXX: This assumes that all IFs will be if (x != 0). If we add
|
||||
|
|
Loading…
Reference in New Issue