projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25b6a7d
)
[globalisel][tablegen] Fix vector element size
author
Igor Breger
<igor.breger@intel.com>
Wed, 26 Apr 2017 15:59:05 +0000
(15:59 +0000)
committer
Igor Breger
<igor.breger@intel.com>
Wed, 26 Apr 2017 15:59:05 +0000
(15:59 +0000)
Summary: Fix vector element size.
Reviewers: dsanders
Reviewed By: dsanders
Subscribers: rovka, llvm-commits, kristof.beyls
Differential Revision: https://reviews.llvm.org/D32537
llvm-svn: 301421
llvm/utils/TableGen/GlobalISelEmitter.cpp
patch
|
blob
|
history
diff --git
a/llvm/utils/TableGen/GlobalISelEmitter.cpp
b/llvm/utils/TableGen/GlobalISelEmitter.cpp
index
e2b120e
..
dcf10ab
100644
(file)
--- a/
llvm/utils/TableGen/GlobalISelEmitter.cpp
+++ b/
llvm/utils/TableGen/GlobalISelEmitter.cpp
@@
-80,7
+80,7
@@
public:
return;
}
if (Ty.isVector()) {
- OS << "LLT::vector(" << Ty.getNumElements() << ", " << Ty.getSizeInBits()
+ OS << "LLT::vector(" << Ty.getNumElements() << ", " << Ty.getS
calarS
izeInBits()
<< ")";
return;
}