gallivm: add InstSimplify pass
authorRoland Scheidegger <sroland@vmware.com>
Wed, 2 Sep 2020 02:04:50 +0000 (04:04 +0200)
committerRoland Scheidegger <rscheidegger_lists@hispeed.ch>
Fri, 4 Sep 2020 18:19:07 +0000 (18:19 +0000)
commit1d018bc7fde744b5fc71108887a51e5bfaff8776
tree27a923fe384b285e4a60537b08baf38fe88b08c7
parent64b0b7c274c321b44e58ff0f48b444c3799c0833
gallivm: add InstSimplify pass

This is the recommended replacement for the removed ConstantPropagation
pass, and llvm now added c binding for it.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6585>
src/gallium/auxiliary/gallivm/lp_bld_init.c