From 90f5d2c6166a172db4123bf22d3e485f5f6295e3 Mon Sep 17 00:00:00 2001 From: Andrey Pavlenko Date: Mon, 8 Dec 2025 22:46:02 +0000 Subject: [PATCH] Add int4 mangling --- third_party/intel/lib/Utils/Mangling.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/third_party/intel/lib/Utils/Mangling.cpp b/third_party/intel/lib/Utils/Mangling.cpp index 12bc147036..1fe83f0422 100644 --- a/third_party/intel/lib/Utils/Mangling.cpp +++ b/third_party/intel/lib/Utils/Mangling.cpp @@ -25,6 +25,8 @@ std::string getTypeMangling(Type ty, bool isUnsigned) { .Case([](Float64Type) -> std::string { return "d"; }) .Case([isUnsigned](IntegerType ty) -> std::string { switch (ty.getWidth()) { + case 4: + return "i"; case 8: return isUnsigned ? "h" : "c"; case 16: