Skip to content

Commit

Permalink
Handle batch ffi abi (#1390)
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses authored Aug 29, 2023
1 parent 8a24100 commit 1d62f3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enzyme/Enzyme/AdjointGenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -7507,7 +7507,7 @@ class AdjointGenerator
: BuilderZ.CreateExtractValue(augmentcall,
{(unsigned)drval},
call.getName() + "'ac");
assert(newip->getType() == call.getType());
assert(newip->getType() == placeholder->getType());
placeholder->replaceAllUsesWith(newip);
if (placeholder == &*BuilderZ.GetInsertPoint()) {
BuilderZ.SetInsertPoint(placeholder->getNextNode());
Expand Down

0 comments on commit 1d62f3f

Please sign in to comment.