summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.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/SelectionDAGISel.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/SelectionDAGISel.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 9d06a4f64be..3958b7ba0f5 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -3491,7 +3491,7 @@ void SelectionDAGISel::SelectCodeCommon(SDNode *NodeToMatch,
NodeToMatch->getValueType(i) == MVT::iPTR ||
Res.getValueType() == MVT::iPTR ||
NodeToMatch->getValueType(i).getSizeInBits() ==
- Res.getValueType().getSizeInBits()) &&
+ Res.getValueSizeInBits()) &&
"invalid replacement");
CurDAG->ReplaceAllUsesOfValueWith(SDValue(NodeToMatch, i), Res);
}
OpenPOWER on IntegriCloud