Skip to content

Commit 1c46fef

Browse files
Add int4 mangling (#5627)
Co-authored-by: Andrey Pavlenko <[email protected]>
1 parent 8bbfd21 commit 1c46fef

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

third_party/intel/lib/Utils/Mangling.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ std::string getTypeMangling(Type ty, bool isUnsigned) {
2525
.Case([](Float64Type) -> std::string { return "d"; })
2626
.Case([isUnsigned](IntegerType ty) -> std::string {
2727
switch (ty.getWidth()) {
28+
case 4:
29+
return "i";
2830
case 8:
2931
return isUnsigned ? "h" : "c";
3032
case 16:

0 commit comments

Comments
 (0)