Skip to content

Commit 83824ed

Browse files
authored
Update offload/tools/offload-tblgen/EntryPointGen.cpp
1 parent a2a8339 commit 83824ed

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

offload/tools/offload-tblgen/EntryPointGen.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,8 @@ static void EmitEntryPointFunc(const FunctionRec &F, raw_ostream &OS) {
102102
// Emit post-call prints
103103
OS << TAB_1 "if (llvm::offload::isTracingEnabled()) {\n";
104104
// postponed pre-call print for olInit
105-
if (F.getName() == "olInit") {
105+
if (F.getName() == "olInit")
106106
OS << formatv(TAB_2 "llvm::errs() << \"---> {0}\";\n", F.getName());
107-
}
108107

109108
if (F.getParams().size() > 0) {
110109
OS << formatv(TAB_2 "{0} Params = {{", F.getParamStructName());

0 commit comments

Comments
 (0)