Skip to content

Commit f71c8bc

Browse files
stepasitewsmoses
authored andcommitted
fix for llvm-16 (#10)
* fix typo * fix
1 parent 524bcd0 commit f71c8bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enzyme/Enzyme/FunctionUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -941,7 +941,7 @@ Function *CreateMPIWrapper(Function *F) {
941941
#if LLVM_VERSION_MAJOR >= 16
942942
W->addFnAttr(Attribute::getWithMemoryEffects(
943943
F->getContext(),
944-
MemoryEffects::inaccessibleOrArgMemOnly()));
944+
MemoryEffects::inaccessibleMemOnly()));
945945
#endif
946946
#if LLVM_VERSION_MAJOR >= 14
947947
W->addFnAttr(Attribute::get(F->getContext(), "enzyme_inactive"));

0 commit comments

Comments
 (0)