I tried compiling https://github.com/EnzymeAD/Enzyme/blob/main/enzyme/test/Fortran/ReverseMode/allocatableArraySimple.f90 locally with Flang. I got Flang to emit LLVM but I got an error when applying Enzyme. It appears that Enzyme doesn't handle the assumed shape array properly. It surprised me that this didn't work given that the test is included in the Enzyme repo.
I tried compiling https://github.com/EnzymeAD/Enzyme/blob/main/enzyme/test/Fortran/ReverseMode/allocatableArraySimple.f90 locally with Flang. I got Flang to emit LLVM but I got an error when applying Enzyme. It appears that Enzyme doesn't handle the assumed shape array properly. It surprised me that this didn't work given that the test is included in the Enzyme repo.