ac: refactor visit_load_buffer
authorRhys Perry <pendingchaos02@gmail.com>
Wed, 5 Dec 2018 13:42:47 +0000 (13:42 +0000)
committerRhys Perry <pendingchaos02@gmail.com>
Sun, 16 Dec 2018 14:56:10 +0000 (14:56 +0000)
commit12dc7cb202a35e59e836b20a0f3510f257d1e0b0
treea8282e952ec80c69306f728eb2afc6da418d1848
parented4020fabe7c5b9d5f152ece64a2b4bb9b73c2bc
ac: refactor visit_load_buffer

This is so that we can split different types of loads more easily.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/common/ac_llvm_build.c
src/amd/common/ac_nir_to_llvm.c