Skip to content

Commit

Permalink
Whoops only loads allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanradanov committed Mar 8, 2025
1 parent 179795f commit 912b565
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/enzyme_ad/jax/Passes/AffineToStableHLORaising.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -521,8 +521,6 @@ bool isSafeToSpeculativelyExecuteAtScope(Operation *scope, Operation *op) {
MemRefType ty = nullptr;
if (auto read = dyn_cast<affine::AffineReadOpInterface>(op))
ty = read.getMemRefType();
else if (auto write = dyn_cast<affine::AffineWriteOpInterface>(op))
ty = write.getMemRefType();
if (!ty)
return false;

Expand Down

0 comments on commit 912b565

Please sign in to comment.