summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2016-09-14 16:37:15 +0000
committerSanjay Patel <spatel@rotateright.com>2016-09-14 16:37:15 +0000
commit1ed771f5d7e68c868807f3b59e18f36dd50b0fbf (patch)
tree34e0f93dcb6c1ef93d20f2b037cb470f8634215c /llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
parentd10a5ea19ece4b5d77fb548c04b782966de873a7 (diff)
downloadbcm5719-llvm-1ed771f5d7e68c868807f3b59e18f36dd50b0fbf.tar.gz
bcm5719-llvm-1ed771f5d7e68c868807f3b59e18f36dd50b0fbf.zip
getVectorElementType().getSizeInBits() -> getScalarSizeInBits() ; NFCI
llvm-svn: 281495
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp b/llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
index 9ec5800e910..41ae785054a 100644
--- a/llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
+++ b/llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp
@@ -1309,7 +1309,7 @@ void SystemZDAGToDAGISel::Select(SDNode *Node) {
case ISD::INSERT_VECTOR_ELT: {
EVT VT = Node->getValueType(0);
- unsigned ElemBitSize = VT.getVectorElementType().getSizeInBits();
+ unsigned ElemBitSize = VT.getScalarSizeInBits();
if (ElemBitSize == 32) {
if (tryGather(Node, SystemZ::VGEF))
return;
OpenPOWER on IntegriCloud