From: Zack Rusin Date: Wed, 7 Apr 2010 00:27:17 +0000 (-0400) Subject: draw llvm: disable printing of the LLVM ir X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1570760a9756234978ff56a9db4c781a630fe6ce;p=mesa.git draw llvm: disable printing of the LLVM ir --- diff --git a/src/gallium/auxiliary/draw/draw_llvm.c b/src/gallium/auxiliary/draw/draw_llvm.c index 26f756c6f8a..121cce3d717 100644 --- a/src/gallium/auxiliary/draw/draw_llvm.c +++ b/src/gallium/auxiliary/draw/draw_llvm.c @@ -666,13 +666,13 @@ draw_llvm_generate(struct draw_llvm *llvm, struct draw_llvm_variant *variant) LLVMRunFunctionPassManager(llvm->pass, variant->function); - if (1) { + if (0) { LLVMDumpValue(variant->function); debug_printf("\n"); } variant->jit_func = (draw_jit_vert_func)LLVMGetPointerToGlobal(llvm->draw->engine, variant->function); - if (1) + if (0) lp_disassemble(variant->jit_func); }