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:
921d91f
)
Fix unused variable warning.
author
Adrian Kuegel
<akuegel@google.com>
Tue, 16 Nov 2021 10:17:33 +0000
(11:17 +0100)
committer
Adrian Kuegel
<akuegel@google.com>
Tue, 16 Nov 2021 10:17:33 +0000
(11:17 +0100)
llvm/lib/CodeGen/GlobalISel/LoadStoreOpt.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/CodeGen/GlobalISel/LoadStoreOpt.cpp
b/llvm/lib/CodeGen/GlobalISel/LoadStoreOpt.cpp
index
b9464d5
..
a8d0a8c
100644
(file)
--- a/
llvm/lib/CodeGen/GlobalISel/LoadStoreOpt.cpp
+++ b/
llvm/lib/CodeGen/GlobalISel/LoadStoreOpt.cpp
@@
-397,9
+397,9
@@
bool LoadStoreOpt::doSingleStoreMerge(SmallVectorImpl<GStore *> &Stores) {
}
WideReg = Builder.buildConstant(WideValueTy, WideConst).getReg(0);
LLVM_DEBUG({
- auto NewStore =
- Builder.buildStore(WideReg, FirstStore->getPointerReg(), *WideMMO);
-
dbgs() << "Created merged store: " << *NewStore
;
+ dbgs() << "Created merged store: "
+ << *Builder.buildStore(WideReg, FirstStore->getPointerReg(),
+
*WideMMO)
;
});
NumStoresMerged += Stores.size();