Skip to content

Commit

Permalink
Fix unused variable warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
akuegel committed Nov 16, 2021
1 parent 921d91f commit a062e2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions llvm/lib/CodeGen/GlobalISel/LoadStoreOpt.cpp
Expand Up @@ -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();

Expand Down

0 comments on commit a062e2a

Please sign in to comment.