Skip to content

Commit

Permalink
[AIE2] Remove unnecessary cast to AIEScheduleDAGMI
Browse files Browse the repository at this point in the history
If cast is necessary, MaxLatencyFinder will do it anyway.
  • Loading branch information
andcarminati committed Jun 11, 2024
1 parent bb11e1e commit 831ac27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/AIE/AIEBaseSubtarget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ class RegionEndEdges : public ScheduleDAGMutation {
}
}
void apply(ScheduleDAGInstrs *DAG) override {
AIE::MaxLatencyFinder MaxLatency(static_cast<AIEScheduleDAGMI *>(DAG));
AIE::MaxLatencyFinder MaxLatency(DAG);

// Default edges to ExitSU are conservative, and can't be shrunk.
// We really should know what we're doing here, so just remove and
Expand Down

0 comments on commit 831ac27

Please sign in to comment.