Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround breakage in llvm.jl #1497

Merged
merged 3 commits into from
Jun 6, 2024
Merged

Workaround breakage in llvm.jl #1497

merged 3 commits into from
Jun 6, 2024

Conversation

wsmoses
Copy link
Member

@wsmoses wsmoses commented Jun 6, 2024

No description provided.

@wsmoses wsmoses requested a review from vchuravy June 6, 2024 15:45
src/api.jl Outdated Show resolved Hide resolved
src/api.jl Outdated Show resolved Hide resolved
@vchuravy
Copy link
Member

vchuravy commented Jun 6, 2024

x-ref: JuliaLLVM/LLVM.jl#414

@wsmoses
Copy link
Member Author

wsmoses commented Jun 6, 2024

@vchuravy apparenrlt we need to backported to 11 too see slack

@maleadt
Copy link

maleadt commented Jun 6, 2024

I pushed & tagged a deprecation, so this should be fixed for users.

I would recommend pirating internals like that though. It's also not clear to me why you're overriding the function in the first place, https://github.com/EnzymeAD/Enzyme/blob/79e829910a63618e1bb5843b8564031a8345305c/enzyme/Enzyme/CApi.cpp#L913-L919 seems wrong (metadata can be attached to function values, not only instructions).

@wsmoses
Copy link
Member Author

wsmoses commented Jun 6, 2024 via email

@vchuravy
Copy link
Member

vchuravy commented Jun 6, 2024

apparenrlt we need to backported to 11 too see slack

Enzyme.jl 0.11 only ever supported LLVM.jl v6 so no?

@vchuravy vchuravy merged commit f8427ca into main Jun 6, 2024
39 of 49 checks passed
@vchuravy vchuravy deleted the imd branch June 6, 2024 17:13
@wsmoses
Copy link
Member Author

wsmoses commented Jun 6, 2024 via email

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.

3 participants