IR if statements WIP

This commit is contained in:
Andrew Kelley
2016-10-11 23:45:33 -04:00
parent 77ae3442ef
commit ce3c52471d
5 changed files with 1601 additions and 1350 deletions

View File

@@ -2808,11 +2808,13 @@ static LLVMValueRef ir_render_instruction(CodeGen *g, IrExecutable *executable,
case IrInstructionIdCast:
return ir_render_cast(g, executable, (IrInstructionCast *)instruction);
case IrInstructionIdCondBr:
case IrInstructionIdBr:
case IrInstructionIdSwitchBr:
case IrInstructionIdPhi:
case IrInstructionIdStoreVar:
case IrInstructionIdCall:
case IrInstructionIdBuiltinCall:
case IrInstructionIdUnOp:
zig_panic("TODO render more IR instructions to LLVM");
}
zig_unreachable();