amd/llvm: Refactor ac_build_scan.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 27 Nov 2019 22:33:59 +0000 (23:33 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 28 Nov 2019 10:35:11 +0000 (11:35 +0100)
commite09426ad6bea4156a02958c59804263dae8dbf82
treecfdaee06e21b7d5111e446f732c5ade2fb231291
parentd347f2805d8d8c37eb3e50483346bff9583c8e48
amd/llvm: Refactor ac_build_scan.

Split out the logic for exclusive scans into a separate function
that makes clear what it does instead of having this opaque 60
line if.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/llvm/ac_llvm_build.c