mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
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):
|
||||
if isinstance(lltyp, ll.VoidType):
|
||||
return False
|
||||
elif isinstance(lltyp, ll.IntType) and lltyp.width <= 32:
|
||||
elif isinstance(lltyp, ll.IntType):
|
||||
return False
|
||||
elif isinstance(lltyp, ll.PointerType):
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user