Skip to content

Commit

Permalink
Fix memtransfer of anything (#2152)
Browse files Browse the repository at this point in the history
* Fix memtransfer of anything

* fix

* fmt

* Fix

---------

Co-authored-by: Paul Berg <paul@plutojl.org>
  • Loading branch information
wsmoses and Pangoraw committed Nov 5, 2024
1 parent 4025abd commit 9c60724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enzyme/Enzyme/TypeAnalysis/TypeTree.h
Original file line number Diff line number Diff line change
Expand Up @@ -696,8 +696,8 @@ class TypeTree : public std::enable_shared_from_this<TypeTree> {
if ((size_t)pair.first[0] >= len) {
llvm::errs() << str() << "\n";
llvm::errs() << " canonicalizing " << len << "\n";
llvm::report_fatal_error("Canonicalization failed");
}
assert((size_t)pair.first[0] < len);
}
staging[next][pair.second].insert(pair.first[0]);
}
Expand Down

0 comments on commit 9c60724

Please sign in to comment.