We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04b5eb5 commit 8e935f6Copy full SHA for 8e935f6
lib/SILOptimizer/LoopTransforms/LICM.cpp
@@ -346,8 +346,8 @@ hoistSpecialInstruction(std::unique_ptr<LoopNestSummary> &LoopSummary,
346
}
347
LLVM_DEBUG(llvm::errs() << " Successfully hosited and sank pair\n");
348
} else {
349
- auto *REA = static_cast<RefElementAddrInst *>(Inst);
350
- LLVM_DEBUG(llvm::dbgs() << "Hoisted RefElementAddr " << *REA);
+ LLVM_DEBUG(llvm::dbgs() << "Hoisted RefElementAddr "
+ << *static_cast<RefElementAddrInst *>(Inst));
351
352
Changed = true;
353
0 commit comments