diff --git a/artiq/compiler/transforms/llvm_ir_generator.py b/artiq/compiler/transforms/llvm_ir_generator.py index 20aa97c3d..474dbd883 100644 --- a/artiq/compiler/transforms/llvm_ir_generator.py +++ b/artiq/compiler/transforms/llvm_ir_generator.py @@ -569,7 +569,6 @@ class LLVMIRGenerator: if func.is_internal: self.llfunction.linkage = 'private' if func.is_cold: - self.llfunction.calling_convention = 'coldcc' self.llfunction.attributes.add('cold') self.llfunction.attributes.add('noinline') @@ -1322,9 +1321,6 @@ class LLVMIRGenerator: if types.is_c_function(functiontyp) and 'nowrite' in functiontyp.flags: llcall.metadata['tbaa'] = self.tbaa_nowrite_call - if insn.is_cold: - llcall.cconv = 'coldcc' - return llresult def process_Invoke(self, insn): @@ -1358,9 +1354,6 @@ class LLVMIRGenerator: if types.is_c_function(functiontyp) and 'nowrite' in functiontyp.flags: llcall.metadata['tbaa'] = self.tbaa_nowrite_call - if insn.is_cold: - llcall.cconv = 'coldcc' - return llcall def _quote(self, value, typ, path):