draw/llvm: Add additional llvm optimization passes
authorStéphane Marchesin <marcheu@chromium.org>
Sun, 5 May 2013 11:34:40 +0000 (04:34 -0700)
committerStéphane Marchesin <marcheu@chromium.org>
Thu, 9 May 2013 05:05:54 +0000 (22:05 -0700)
commit1c56fc1025e14827b69e4dd354aea4c9e487c0dd
treefdc79747a2a82935f452fc72d4ea0ee5b4b3eeb0
parent0b0d6f97cfac75524470c895be686b69d67f050f
draw/llvm: Add additional llvm optimization passes

It helps a bit with vertex shader performance on i915g
(a couple percent faster with openarena).

I have tried most other passes, and they weren't showing
any measurable improvement. Note that my vertex shaders
didn't have loops, so maybe the loop optimizations could
still be useful in the future.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_init.c