diff --git a/artiq/compiler/transforms/llvm_ir_generator.py b/artiq/compiler/transforms/llvm_ir_generator.py index 23ead974e..940240b39 100644 --- a/artiq/compiler/transforms/llvm_ir_generator.py +++ b/artiq/compiler/transforms/llvm_ir_generator.py @@ -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