ac/llvm: set target features per function instead of per target machine
This is a cleanup that allows the removal of the wave32 target machine and the wave32 pass manager. Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10813>
This commit is contained in:
@@ -107,6 +107,7 @@ create_llvm_function(struct ac_llvm_context *ctx, LLVMModuleRef module, LLVMBuil
|
||||
}
|
||||
|
||||
ac_llvm_set_workgroup_size(main_function, max_workgroup_size);
|
||||
ac_llvm_set_target_features(main_function, ctx);
|
||||
|
||||
return main_function;
|
||||
}
|
||||
|
Reference in New Issue
Block a user