forked from OSchip/llvm-project
Fix unused variable warning in LoadStoreOpt.cpp with (void)
This commit is contained in:
parent
2bceb7c8da
commit
3f3d4e8a15
|
@ -398,6 +398,7 @@ bool LoadStoreOpt::doSingleStoreMerge(SmallVectorImpl<GStore *> &Stores) {
|
|||
WideReg = Builder.buildConstant(WideValueTy, WideConst).getReg(0);
|
||||
auto NewStore =
|
||||
Builder.buildStore(WideReg, FirstStore->getPointerReg(), *WideMMO);
|
||||
(void) NewStore;
|
||||
LLVM_DEBUG(dbgs() << "Created merged store: " << *NewStore);
|
||||
NumStoresMerged += Stores.size();
|
||||
|
||||
|
|
Loading…
Reference in New Issue