Make it possible to pass LLVM options from environment variables.
These options are parsed like commandline options to llc.
This commit is contained in:
parent
397a81d5bd
commit
38d4de35bb
3 changed files with 50 additions and 1 deletions
|
|
@ -2147,7 +2147,8 @@ def inline_function(call):
|
|||
check_is_value(call)
|
||||
return _core.LLVMInlineFunction(call.ptr)
|
||||
|
||||
|
||||
def parse_environment_options(progname, envname):
|
||||
_core.LLVMParseEnvOpts(progname, envname)
|
||||
|
||||
#===----------------------------------------------------------------------===
|
||||
# Initialization
|
||||
|
|
@ -2178,3 +2179,4 @@ if True: # use PTX?
|
|||
except AttributeError:
|
||||
pass
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue