Skip to content

Commit

Permalink
[IFRT] Add log message to CHECK in compile_atom_program_pass to aid w…
Browse files Browse the repository at this point in the history
…ith debugging

PiperOrigin-RevId: 726157929
  • Loading branch information
ICGog authored and Google-ML-Automation committed Feb 12, 2025
1 parent df9764a commit 648cf17
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,9 @@ void IfrtCompileAtomProgramPass::runOnOperation() {
CHECK(atom_executable_map_
->try_emplace(compile_result->name,
std::move(compile_result->executable))
.second);
.second)
<< "Failed to insert atom executable to map. Executable `"
<< compile_result->name << "` already exists";
}

// Generate CallLoadedExecutableOp.
Expand Down

0 comments on commit 648cf17

Please sign in to comment.