Fix generating types like float44 and float88 (#5722)
authorabergeron <abergeron@gmail.com>
Wed, 3 Jun 2020 21:24:27 +0000 (17:24 -0400)
committerGitHub <noreply@github.com>
Wed, 3 Jun 2020 21:24:27 +0000 (14:24 -0700)
src/target/source/codegen_c.cc

index a992851..69dab62 100644 (file)
@@ -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) {