Skip to content

Commit

Permalink
[metal] support int64 (apache#7105)
Browse files Browse the repository at this point in the history
  • Loading branch information
antinucleon authored and Tushar Dey committed Jan 20, 2021
1 parent 7245a62 commit 163cb5d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/target/source/codegen_metal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ void CodeGenMetal::PrintType(DataType t, std::ostream& os) { // NOLINT(*)
case 32:
os << "float";
break;
case 64:
os << "double";
break;
default:
fail = true;
break;
Expand Down Expand Up @@ -208,6 +211,9 @@ void CodeGenMetal::PrintType(DataType t, std::ostream& os) { // NOLINT(*)
case 32:
os << "int";
break;
case 64:
os << "long";
break;
case 1:
os << "bool";
break;
Expand Down

0 comments on commit 163cb5d

Please sign in to comment.