IR: add minValue, maxValue, and negation

This commit is contained in:
Andrew Kelley
2016-12-07 01:23:38 -05:00
parent 5e4ee659a6
commit 0ad580f001
6 changed files with 239 additions and 82 deletions

View File

@@ -1821,6 +1821,8 @@ static LLVMValueRef ir_render_instruction(CodeGen *g, IrExecutable *executable,
case IrInstructionIdStaticEval:
case IrInstructionIdImport:
case IrInstructionIdContainerInitFields:
case IrInstructionIdMinValue:
case IrInstructionIdMaxValue:
zig_unreachable();
case IrInstructionIdReturn:
return ir_render_return(g, executable, (IrInstructionReturn *)instruction);