Skip to content

Commit

Permalink
[AIR][AMD-AIE] Remove unused variable (Xilinx#480)
Browse files Browse the repository at this point in the history
-- This commit trivially removes an unused variable in
   AIRDependencyScheduleOpt.cpp.

Signed-off-by: Abhishek Varma <[email protected]>
  • Loading branch information
Abhishek-Varma authored Mar 7, 2024
1 parent 0525a39 commit 1dff131
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mlir/lib/Transform/AIRDependencyScheduleOpt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2161,10 +2161,6 @@ struct BroadcastDetection {
.getType()
.cast<MemRefType>()
.getMemorySpaceAsInt();
int dst_memspace = dma_op.getDstMemref()
.getType()
.cast<MemRefType>()
.getMemorySpaceAsInt();
auto externalOffsets = src_memspace == (int)air::MemorySpace::L1
? dma_op.getDstOffsets()
: dma_op.getSrcOffsets();
Expand Down

0 comments on commit 1dff131

Please sign in to comment.