forked from M-Labs/artiq
compiler: emit verbose assembly via ARTIQ_DUMP_ASM.
This commit is contained in:
parent
d9dd7df3b2
commit
df8018f0be
@ -83,9 +83,11 @@ class Target:
|
||||
|
||||
def target_machine(self):
|
||||
lltarget = llvm.Target.from_triple(self.triple)
|
||||
return lltarget.create_target_machine(
|
||||
llmachine = lltarget.create_target_machine(
|
||||
features=",".join(["+{}".format(f) for f in self.features]),
|
||||
reloc="pic", codemodel="default")
|
||||
llmachine.set_verbose(True)
|
||||
return llmachine
|
||||
|
||||
def optimize(self, llmodule):
|
||||
llmachine = self.target_machine()
|
||||
|
Loading…
Reference in New Issue
Block a user