Skip to content

Commit

Permalink
remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Feb 8, 2025
1 parent e3b0a81 commit e0a9314
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/enzyme_ad/jax/Passes/LLVMToAffineAccess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ struct ConvertToTypedMemref
rewriter.setInsertionPoint(store);
auto newMap = AffineMap::get(map.getNumDims(), map.getNumSymbols(),
{expr.floorDiv(size)}, store.getContext());
auto newStore = rewriter.create<affine::AffineStoreOp>(
store.getLoc(), value, getNewMemref(), newMap,
store.getMapOperands());
rewriter.create<affine::AffineStoreOp>(store.getLoc(), value,
getNewMemref(), newMap,
store.getMapOperands());
toErase.push_back(store);
toErase.push_back(user);
} else {
Expand Down

0 comments on commit e0a9314

Please sign in to comment.