Skip to content

Commit

Permalink
Fix unused variable warning in LoadStoreOpt.cpp with (void)
Browse files Browse the repository at this point in the history
  • Loading branch information
frgossen committed Nov 16, 2021
1 parent 2bceb7c commit 3f3d4e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/lib/CodeGen/GlobalISel/LoadStoreOpt.cpp
Expand Up @@ -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();

Expand Down

0 comments on commit 3f3d4e8

Please sign in to comment.