projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
724beac
)
[CodeGen] Fix -Wunused-private-field warning on lld-x86_64-darwin13.
author
Clement Courbet
<courbet@google.com>
Fri, 27 Oct 2017 13:34:41 +0000
(13:34 +0000)
committer
Clement Courbet
<courbet@google.com>
Fri, 27 Oct 2017 13:34:41 +0000
(13:34 +0000)
llvm-svn: 316765
llvm/lib/CodeGen/CodeGenPrepare.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/CodeGenPrepare.cpp
b/llvm/lib/CodeGen/CodeGenPrepare.cpp
index
346248f
..
1fbe578
100644
(file)
--- a/
llvm/lib/CodeGen/CodeGenPrepare.cpp
+++ b/
llvm/lib/CodeGen/CodeGenPrepare.cpp
@@
-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)),