Skip to content

Commit c17698c

Browse files
committed
Address review comments
1 parent b359a7f commit c17698c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7061,7 +7061,9 @@ static void emitTargetCall(
70617061
SmallVectorImpl<Value *> &Args,
70627062
OpenMPIRBuilder::GenMapInfoCallbackTy GenMapInfoCB,
70637063
SmallVector<llvm::OpenMPIRBuilder::DependData> Dependencies = {}) {
7064-
// emitKernelLaunch
7064+
// Generate a function call to the host fallback implementation of the target
7065+
// region. This is called by the host when no offload entry was generated for
7066+
// the target region and when the offloading call fails at runtime.
70657067
auto &&EmitTargetCallFallbackCB =
70667068
[&](OpenMPIRBuilder::InsertPointTy IP) -> OpenMPIRBuilder::InsertPointTy {
70677069
Builder.restoreIP(IP);

0 commit comments

Comments
 (0)