aco: don't value-number instructions from within a loop with ones after the loop.
authorDaniel Schürmann <daniel@schuermann.dev>
Tue, 26 Nov 2019 14:28:54 +0000 (15:28 +0100)
committerRhys Perry <pendingchaos02@gmail.com>
Tue, 26 Nov 2019 14:39:27 +0000 (14:39 +0000)
commit7cd548d3523b16a0e8f35c078316388016514d31
tree087d2b60a42a486b2f296b569b1cd2378c483fbd
parent46420dd294933ef191e8a8a705940c7236e44e5a
aco: don't value-number instructions from within a loop with ones after the loop.

Fixes:
Wolfenstein:Youngblood (w/o shader_ballot)
dEQP-VK.descriptor_indexing.combined_image_sampler_in_loop_with_lod

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
src/amd/compiler/aco_opt_value_numbering.cpp