aco: use ac_is_llvm_processor_supported() for checking LLVM asm support
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 13 May 2022 09:19:21 +0000 (11:19 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 17 May 2022 17:14:21 +0000 (17:14 +0000)
commit8510d5daa3d6d5ea5bd081a06c74a2076a785135
tree11060d23819a81eca3b205f8ff4bd8788b6a7577
parent07eba9a15a06ceda3469892822e8b539effc6788
aco: use ac_is_llvm_processor_supported() for checking LLVM asm support

It seems more universal but it's needed to create a temporary TM.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16494>
src/amd/compiler/aco_print_asm.cpp
src/amd/llvm/ac_llvm_util.c
src/amd/llvm/ac_llvm_util.h