summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Breger <igor.breger@intel.com>2017-04-26 15:59:05 +0000
committerIgor Breger <igor.breger@intel.com>2017-04-26 15:59:05 +0000
commit1593a741a4fa973520273ebe0e51f13c2d051e1c (patch)
treed56cc5b95b011387912b5f55f2f85940b817dcb3
parent25b6a7db2fa59eacca01da41b1c9521b0da74fc4 (diff)
downloadbcm5719-llvm-1593a741a4fa973520273ebe0e51f13c2d051e1c.tar.gz
bcm5719-llvm-1593a741a4fa973520273ebe0e51f13c2d051e1c.zip
[globalisel][tablegen] Fix vector element size
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
-rw-r--r--llvm/utils/TableGen/GlobalISelEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/GlobalISelEmitter.cpp b/llvm/utils/TableGen/GlobalISelEmitter.cpp
index e2b120e1347..dcf10ab511d 100644
--- 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.getScalarSizeInBits()
<< ")";
return;
}
OpenPOWER on IntegriCloud