diff options
author | Sanjay Patel <spatel@rotateright.com> | 2016-09-14 15:21:00 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2016-09-14 15:21:00 +0000 |
commit | bd6fca14190e9693933d96361a9fef5a19fc0981 (patch) | |
tree | 941a026af5476382aa96b7b6ace5534f59d4fb21 /llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | |
parent | fa5f767a38be412f75e4b1426356263c65291ec6 (diff) | |
download | bcm5719-llvm-bd6fca14190e9693933d96361a9fef5a19fc0981.tar.gz bcm5719-llvm-bd6fca14190e9693933d96361a9fef5a19fc0981.zip |
getScalarType().getSizeInBits() -> getScalarSizeInBits() ; NFCI
llvm-svn: 281489
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index 9c560541d13..f452d629dcf 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -2942,8 +2942,8 @@ bool SelectionDAGLegalize::ExpandNode(SDNode *Node) { EVT ShiftAmountTy = TLI.getShiftAmountTy(VT, DAG.getDataLayout()); if (VT.isVector()) ShiftAmountTy = VT; - unsigned BitsDiff = VT.getScalarType().getSizeInBits() - - ExtraVT.getScalarType().getSizeInBits(); + unsigned BitsDiff = VT.getScalarSizeInBits() - + ExtraVT.getScalarSizeInBits(); SDValue ShiftCst = DAG.getConstant(BitsDiff, dl, ShiftAmountTy); Tmp1 = DAG.getNode(ISD::SHL, dl, Node->getValueType(0), Node->getOperand(0), ShiftCst); |