-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Labels
Description
Function argument passed to autodiff cannot be proven readonly.
If the the function argument cannot contain derivative data, instead call autodiff(Mode, Const(f), ...)
See https://enzyme.mit.edu/index.fcgi/julia/stable/faq/#Activity-of-temporary-storage for more information.
The potentially writing call is store {} addrspace(10)* %.fca.0.1.extract, {} addrspace(10)** %.fca.0.1.gep, align 8, !dbg !9, !noalias !21, using %.fca.0.1.gep = getelementptr inbounds { { {} addrspace(10)*, {} addrspace(10)*, {} addrspace(10)*, {} addrspace(10)*, double }, [1 x i8] }, { { {} addrspace(10)*, {} addrspace(10)*, {} addrspace(10)*, {} addrspace(10)*, double }, [1 x i8] }* %.innerparm, i64 0, i32 0, i32 1, !dbg !9
Seen in multiple CIs. Any clue as to where this is coming from? Was there a recent breaking change in Enzyme?
Reactions are currently unavailable