st/vdpau: remove vlCreateHTAB from surface functions
[mesa.git] / src / gallium / auxiliary / gallivm / lp_bld_init.c
index 1153411dd5255caf65efc4a42c85e4bb4ffcef2b..4a428ee02ade6432e5eb1c698135715982d77417 100644 (file)
@@ -79,6 +79,7 @@ static const struct debug_named_value lp_bld_debug_flags[] = {
    { "nopt",   GALLIVM_DEBUG_NO_OPT, NULL },
    { "perf",   GALLIVM_DEBUG_PERF, NULL },
    { "no_brilinear", GALLIVM_DEBUG_NO_BRILINEAR, NULL },
+   { "no_rho_approx", GALLIVM_DEBUG_NO_RHO_APPROX, NULL },
    { "gc",     GALLIVM_DEBUG_GC, NULL },
    DEBUG_NAMED_VALUE_END
 };
@@ -146,7 +147,10 @@ create_pass_manager(struct gallivm_state *gallivm)
        * but there are more on SVN.
        * TODO: Add more passes.
        */
+      LLVMAddScalarReplAggregatesPass(gallivm->passmgr);
+      LLVMAddLICMPass(gallivm->passmgr);
       LLVMAddCFGSimplificationPass(gallivm->passmgr);
+      LLVMAddReassociatePass(gallivm->passmgr);
 
       if (HAVE_LLVM >= 0x207 && sizeof(void*) == 4) {
          /* For LLVM >= 2.7 and 32-bit build, use this order of passes to