summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 9a744956be6..a8f8d4bcd15 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -4469,8 +4469,7 @@ collectByteProviders(SDValue Op, bool CheckNumberOfUses = false) {
L->getExtensionType() != ISD::NON_EXTLOAD)
return None;
- EVT VT = L->getMemoryVT();
- assert(BitWidth == VT.getSizeInBits() && "sanity");
+ assert(BitWidth == L->getMemoryVT().getSizeInBits() && "sanity");
SmallVector<ByteProvider, 4> Result(ByteWidth);
for (unsigned i = 0; i < ByteWidth; i++)
OpenPOWER on IntegriCloud