Skip to content

Commit 3530e1d

Browse files
committed
Improve debug infomation for LowerWGScope pass.
1 parent 6c60344 commit 3530e1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/SYCLLowerIR/LowerWGScope.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,7 @@ PreservedAnalyses SYCLLowerWGScopePass::run(Function &F,
740740
FunctionAnalysisManager &FAM) {
741741
if (!F.getMetadata(WG_SCOPE_MD))
742742
return PreservedAnalyses::all();
743+
LLVM_DEBUG(llvm::dbgs() << "Function name: " << F.getName() << "\n");
743744
const auto &TT = llvm::Triple(F.getParent()->getTargetTriple());
744745
// Ranges of "side effect" instructions
745746
SmallVector<InstrRange, 16> Ranges;

0 commit comments

Comments
 (0)