IR if statements WIP

This commit is contained in:
Andrew Kelley committed 2016-10-11 23:45:33 -04:00
1 parent 77ae3442ef
commit ce3c52471d
5 files changed
+1601 -1350

No files matched your search

+2
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();