Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 24, 2024
1 parent a014854 commit f848f65
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion taichi/ir/control_flow_graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,10 @@ Stmt *CFGNode::get_store_forwarding_data(Stmt *var, int position) const {
if (!result) {
// The UD-chain is empty.
auto offending_load = block->statements[position].get();
ErrorEmitter(TaichiIrWarning(), offending_load, fmt::format("Loading variable {} before anything is stored to it.", var->id));
ErrorEmitter(
TaichiIrWarning(), offending_load,
fmt::format("Loading variable {} before anything is stored to it.",
var->id));
return nullptr;
}
if (!result_visible) {
Expand Down

0 comments on commit f848f65

Please sign in to comment.