fix x86 arch type for LLRT
This commit is contained in:
parent
328f88bbd5
commit
d57c4d88c6
1 changed files with 2 additions and 0 deletions
|
|
@ -41,6 +41,8 @@ def load(arch):
|
|||
Creates a new module and optimizes it using the information from
|
||||
the host machine.
|
||||
'''
|
||||
if arch != 'x86_64':
|
||||
arch = 'x86'
|
||||
path = os.path.join(os.path.dirname(__file__), 'llrt', 'llrt_%s.ll' % arch)
|
||||
with open(path) as fin:
|
||||
lib = lc.Module.from_assembly(fin)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue