EnzymeAD / rust

A rust fork to work towards Enzyme integration
https://www.rust-lang.org
Other
53 stars 7 forks source link

type of copy #51

Closed ZuseZ4 closed 3 months ago

ZuseZ4 commented 10 months ago

Here we go again. Small update to the latest faer version:

error: <unknown>:0:0: in function preprocess__ZN8rust_msa8f_energy17h679628f42d5cf744E float (ptr, ptr, ptr): Enzyme: Cannot deduce type of copy   call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(264) %6, ptr noundef nonnull align 4 dereferenceable(264) %4, i64 264, i1 false) #127, !noalias !4

Let's give this one more special case for now?

ZuseZ4 commented 10 months ago

Also not blocking, ENZYME_STRICT_ALIASING=1 for the rescue