IR: start a new passing self hosted test suite

This commit is contained in:
Andrew Kelley
2016-12-19 00:41:37 -05:00
parent 09c34352f8
commit 6b2d06710c
16 changed files with 420 additions and 611 deletions

View File

@@ -2286,9 +2286,11 @@ static LLVMValueRef ir_render_instruction(CodeGen *g, IrExecutable *executable,
case IrInstructionIdEnumTag:
return ir_render_enum_tag(g, executable, (IrInstructionEnumTag *)instruction);
case IrInstructionIdSwitchVar:
zig_panic("TODO render switch var instruction to LLVM");
case IrInstructionIdContainerInitList:
zig_panic("TODO render container init list instruction to LLVM");
case IrInstructionIdStructInit:
zig_panic("TODO render more IR instructions to LLVM");
zig_panic("TODO render struct init to LLVM");
}
zig_unreachable();
}