projects
/
platform
/
upstream
/
tvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64ac555
)
Fix generating types like float44 and float88 (#5722)
author
abergeron
<abergeron@gmail.com>
Wed, 3 Jun 2020 21:24:27 +0000
(17:24 -0400)
committer
GitHub
<noreply@github.com>
Wed, 3 Jun 2020 21:24:27 +0000
(14:24 -0700)
src/target/source/codegen_c.cc
patch
|
blob
|
history
diff --git
a/src/target/source/codegen_c.cc
b/src/target/source/codegen_c.cc
index
a992851
..
69dab62
100644
(file)
--- 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) {