Skip to content

Commit 5b39d1f

Browse files
authored
Correct memset fwd diffe (rust-lang#572)
1 parent b53b148 commit 5b39d1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

enzyme/Enzyme/AdjointGenerator.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2612,6 +2612,7 @@ class AdjointGenerator
26122612
cal->setAttributes(MS.getAttributes());
26132613
cal->setCallingConv(MS.getCallingConv());
26142614
cal->setTailCallKind(MS.getTailCallKind());
2615+
cal->setDebugLoc(gutils->getNewFromOriginal(MS.getDebugLoc()));
26152616
}
26162617
}
26172618

0 commit comments

Comments
 (0)