[CodeGen] Fix -Wunused-private-field warning on lld-x86_64-darwin13.
authorClement Courbet <courbet@google.com>
Fri, 27 Oct 2017 13:34:41 +0000 (13:34 +0000)
committerClement Courbet <courbet@google.com>
Fri, 27 Oct 2017 13:34:41 +0000 (13:34 +0000)
llvm-svn: 316765

llvm/lib/CodeGen/CodeGenPrepare.cpp

index 346248f..1fbe578 100644 (file)
@@ -1714,7 +1714,6 @@ class MemCmpExpansion {
   ResultBlock ResBlock;
   const uint64_t Size;
   unsigned MaxLoadSize;
-  uint64_t NumLoads;
   uint64_t NumLoadsNonOneByte;
   const uint64_t NumLoadsPerBlock;
   std::vector<BasicBlock *> LoadCmpBlocks;
@@ -1787,7 +1786,6 @@ MemCmpExpansion::MemCmpExpansion(CallInst *const CI, uint64_t Size,
     : CI(CI),
       Size(Size),
       MaxLoadSize(MaxLoadSize),
-      NumLoads(0),
       NumLoadsNonOneByte(0),
       NumLoadsPerBlock(LoadsPerBlock),
       IsUsedForZeroCmp(isOnlyUsedInZeroEqualityComparison(CI)),