Compilation error with current LLVM git (createLoopSinkPass)
Compiling Mesa with current LLVM git runs into the following error:
../mesa/src/amd/llvm/ac_llvm_helper.cpp: In function ‘LLVMOpaquePassManager* ac_create_passmgr(LLVMTargetLibraryInfoRef, bool)’:
../mesa/src/amd/llvm/ac_llvm_helper.cpp:311:28: error: ‘createLoopSinkPass’ was not declared in this scope
311 | unwrap(passmgr)->add(createLoopSinkPass());
This LLVM commit removed createLoopSinkPass.