draw llvm: disable printing of the LLVM ir
authorZack Rusin <zackr@vmware.com>
Wed, 7 Apr 2010 00:27:17 +0000 (20:27 -0400)
committerZack Rusin <zackr@vmware.com>
Wed, 7 Apr 2010 02:30:22 +0000 (22:30 -0400)
src/gallium/auxiliary/draw/draw_llvm.c

index 26f756c6f8a1fd6b605be3c911229dcafda83937..121cce3d717dbfeb083f73ee0d6d87a2ff277474 100644 (file)
@@ -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);
 }