mirror of https://github.com/m-labs/artiq.git
compiler: fix send_message after stackrestore
This commit is contained in:
parent
502204cab2
commit
849b77fbf2
|
@ -1717,9 +1717,9 @@ class LLVMIRGenerator:
|
|||
llargcount = ll.Constant(lli8, len(args))
|
||||
|
||||
llisreturn = ll.Constant(lli1, False)
|
||||
self.llbuilder.call(self.llbuiltin("llvm.stackrestore"), [llstackptr])
|
||||
return self.llbuilder.call(self.llbuiltin("subkernel_send_message"),
|
||||
self.llbuilder.call(self.llbuiltin("subkernel_send_message"),
|
||||
[llid, llisreturn, lldest, llargcount, lltagptr, llargs])
|
||||
return self.llbuilder.call(self.llbuiltin("llvm.stackrestore"), [llstackptr])
|
||||
|
||||
def _build_subkernel_return(self, insn):
|
||||
# builds a remote return.
|
||||
|
|
Loading…
Reference in New Issue