From bed62349d22d9f7e4c44ff480d414521d4e2fc20 Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 15 Jan 2016 23:58:04 +0000 Subject: [PATCH] transforms.llvm_ir_generator: i64 doesn't need sret (fixes #228). --- artiq/compiler/transforms/llvm_ir_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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