diff --git a/src/tilde/tb.h b/src/tilde/tb.h index 6b1521914..c1f1fb2a8 100644 --- a/src/tilde/tb.h +++ b/src/tilde/tb.h @@ -336,7 +336,7 @@ typedef enum TB_NodeTypeEnum { // they don't alias there's no ordering guarentee. TB_MERGEMEM, // (Split, Memory...) -> Memory // LOAD and STORE are standard memory accesses, they can be folded away. - TB_LOAD, // (Control?, Memory, Ptr) -> Data + TB_LOAD, // (Control?, Memory, Ptr) -> Data TB_STORE, // (Control, Memory, Ptr, Data) -> Memory // bulk memory ops. TB_MEMCPY, // (Control, Memory, Ptr, Ptr, Size) -> Memory @@ -381,7 +381,7 @@ typedef enum TB_NodeTypeEnum { TB_ZERO_EXT, TB_UINT2FLOAT, TB_FLOAT2UINT, - TB_TAG_INT2FLOAT, + TB_INT2FLOAT, TB_FLOAT2INT, TB_BITCAST, @@ -396,6 +396,7 @@ typedef enum TB_NodeTypeEnum { // Unary operations TB_NEG, + TB_FNEG, // Integer arithmatic TB_AND, @@ -1511,9 +1512,6 @@ TB_API TB_FunctionOutput* tb_codegen(TB_Function* f, TB_Worklist* ws, TB_Arena* // interprocedural optimizer iter TB_API bool tb_module_ipo(TB_Module* m); -// the user_data is expected to be a valid FILE* -TB_API void tb_default_print_callback(void* user_data, const char* fmt, ...); - //////////////////////////////// // IR access //////////////////////////////// diff --git a/src/tilde/tb.lib b/src/tilde/tb.lib index b2025b627..4c3219c9d 100644 Binary files a/src/tilde/tb.lib and b/src/tilde/tb.lib differ