From dc5daafd46b9f387c61c6df4dfc8fef639b5dc73 Mon Sep 17 00:00:00 2001 From: Rot127 Date: Sun, 14 Jan 2024 09:32:39 -0500 Subject: [PATCH] Add maxargs to cc --- LLVMImporter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LLVMImporter.py b/LLVMImporter.py index 9c6d4297..681d5cb2 100755 --- a/LLVMImporter.py +++ b/LLVMImporter.py @@ -761,10 +761,10 @@ def build_cc_hexagon_32_sdb_txt( "Could not assign register {} to a specific return" " value.".format(reg) ) - f.write("default.cc=hexagon\n\nhexagon=cc\n") + f.write("default.cc=hexagon\n\nhexagon=cc\ncc.hexagon.maxargs=6\n") for k, v in cc_dict.items(): f.write(k + "=" + v + "\n") - f.write("\nhvx=cc\ncc.hvx.name=hvx\n") + f.write("\nhvx=cc\ncc.hvx.name=hvx\ncc.hvx.maxargs=16\n") cc_dict = dict() for reg in HexagonArchInfo.CC_REGS["HVX_args"]: