ac: create the LLVM builder in ac_llvm_context_init
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
@@ -49,6 +49,7 @@ enum {
|
||||
|
||||
struct ac_llvm_flow;
|
||||
struct ac_llvm_compiler;
|
||||
enum ac_float_mode;
|
||||
|
||||
struct ac_llvm_context {
|
||||
LLVMContextRef context;
|
||||
@@ -113,7 +114,7 @@ void
|
||||
ac_llvm_context_init(struct ac_llvm_context *ctx,
|
||||
struct ac_llvm_compiler *compiler,
|
||||
enum chip_class chip_class, enum radeon_family family,
|
||||
unsigned wave_size);
|
||||
enum ac_float_mode float_mode, unsigned wave_size);
|
||||
|
||||
void
|
||||
ac_llvm_context_dispose(struct ac_llvm_context *ctx);
|
||||
|
Reference in New Issue
Block a user