This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git
The following commit(s) were added to refs/heads/master by this push:
new 36aa895 Fix generating types like float44 and float88 (#5722)
36aa895 is described below
commit 36aa8950128b5336c89543d9220aeb00c716d791
Author: abergeron <[email protected]>
AuthorDate: Wed Jun 3 17:24:27 2020 -0400
Fix generating types like float44 and float88 (#5722)
---
src/target/source/codegen_c.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/target/source/codegen_c.cc b/src/target/source/codegen_c.cc
index a992851..69dab62 100644
--- a/src/target/source/codegen_c.cc
+++ b/src/target/source/codegen_c.cc
@@ -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) {