Skip to content

Commit

Permalink
Fix generating types like float44 and float88 (apache#5722)
Browse files Browse the repository at this point in the history
  • Loading branch information
abergeron authored and Trevor Morris committed Jun 18, 2020
1 parent 0cc4a26 commit b69d61b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/target/source/codegen_c.cc
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ void CodeGenC::PrintVecElemLoadExpr(DataType t, int i, const std::string& value,
if (i == 0) {
os << "((";
PrintType(t, os);
os << t.lanes() << ")(";
os << ")(";
}
os << value;
if (i != t.lanes() - 1) {
Expand Down

0 comments on commit b69d61b

Please sign in to comment.