mirror of https://github.com/m-labs/artiq.git
transforms.llvm_ir_generator: i64 doesn't need sret (fixes #228).
This commit is contained in:
parent
e0d5b77e27
commit
bed62349d2
|
@ -181,7 +181,7 @@ class LLVMIRGenerator:
|
||||||
def needs_sret(self, lltyp, may_be_large=True):
|
def needs_sret(self, lltyp, may_be_large=True):
|
||||||
if isinstance(lltyp, ll.VoidType):
|
if isinstance(lltyp, ll.VoidType):
|
||||||
return False
|
return False
|
||||||
elif isinstance(lltyp, ll.IntType) and lltyp.width <= 32:
|
elif isinstance(lltyp, ll.IntType):
|
||||||
return False
|
return False
|
||||||
elif isinstance(lltyp, ll.PointerType):
|
elif isinstance(lltyp, ll.PointerType):
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in New Issue