diff options
author | Artur Pilipenko <apilipenko@azulsystems.com> | 2016-12-13 14:55:31 +0000 |
---|---|---|
committer | Artur Pilipenko <apilipenko@azulsystems.com> | 2016-12-13 14:55:31 +0000 |
commit | 79d1255e26a3ce270e6227a73f1bb549ba496b7e (patch) | |
tree | 3a96109af60d163347309dec418e899ccbc6b86a | |
parent | 50d4ec66d4dbc8920d4ecacb557093cc500fcb8f (diff) | |
download | bcm5719-llvm-79d1255e26a3ce270e6227a73f1bb549ba496b7e.tar.gz bcm5719-llvm-79d1255e26a3ce270e6227a73f1bb549ba496b7e.zip |
Fix a buildbot failure introduced by r289538
Build failed because of unused variable in product mode.
llvm-svn: 289540
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 3 |
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++) |