Skip to content

Preserve types on reverse cache reloads - #3156

Open
vimarsh6739 wants to merge 2 commits into
EnzymeAD:mainfrom
vimarsh6739:vim/julia13-tape-types
Open

Preserve types on reverse cache reloads#3156
vimarsh6739 wants to merge 2 commits into
EnzymeAD:mainfrom
vimarsh6739:vim/julia13-tape-types

Conversation

@vimarsh6739

Copy link
Copy Markdown
Member

Reverse cache reloads created by lookupM dropped the original TypeTree. Preserve it as enzyme_type metadata so nested differentiation can classify cached integer loop indices.

Adds a focused check to bsearch2.ll. Tracks EnzymeAD/Enzyme.jl#3472.

Attach the original TypeTree to values restored from reverse caches so nested differentiation can classify cached integer loop indices.

Assisted-by: OpenAI Codex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants