summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2016-09-14 16:05:51 +0000
committerSanjay Patel <spatel@rotateright.com>2016-09-14 16:05:51 +0000
commitb1f0a0f4a88641779e2020b214c64aa9f2d225e9 (patch)
tree404cd876bcfbb86e2b7caae5c149e3ca72911886 /llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
parent9bd42810064a6eccbb52f176011b43c7a02c65ef (diff)
downloadbcm5719-llvm-b1f0a0f4a88641779e2020b214c64aa9f2d225e9.tar.gz
bcm5719-llvm-b1f0a0f4a88641779e2020b214c64aa9f2d225e9.zip
getValueType().getSizeInBits() -> getValueSizeInBits() ; NFCI
llvm-svn: 281493
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index f452d629dcf..0f932eb6866 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -1663,7 +1663,7 @@ SDValue SelectionDAGLegalize::EmitStackConvert(SDValue SrcOp, EVT SlotVT,
MachinePointerInfo PtrInfo =
MachinePointerInfo::getFixedStack(DAG.getMachineFunction(), SPFI);
- unsigned SrcSize = SrcOp.getValueType().getSizeInBits();
+ unsigned SrcSize = SrcOp.getValueSizeInBits();
unsigned SlotSize = SlotVT.getSizeInBits();
unsigned DestSize = DestVT.getSizeInBits();
Type *DestType = DestVT.getTypeForEVT(*DAG.getContext());
OpenPOWER on IntegriCloud