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

Preserve LLVM function attributes during address space removal pass. #49551

Merged
merged 1 commit into from
Apr 28, 2023

Conversation

maleadt
Copy link
Member

@maleadt maleadt commented Apr 28, 2023

Bug introduced in #42395; or maybe CloneFunctionInto has change behavior since? In any case, this addresses JuliaGPU/GPUCompiler.jl#437.

@maleadt maleadt added the compiler:codegen Generation of LLVM IR and native code label Apr 28, 2023
@maleadt maleadt requested a review from vchuravy April 28, 2023 08:10
@maleadt maleadt added backport 1.9 Change should be backported to release-1.9 backport 1.8 Change should be backported to release-1.8 labels Apr 28, 2023
vtjnash added a commit that referenced this pull request May 2, 2023
Improves #49551:
Instead of copying attributes manually, just ensure we always call
CloneFunctionInto, as it does useful work for declarations too.
KristofferC pushed a commit that referenced this pull request May 8, 2023
@KristofferC KristofferC mentioned this pull request May 8, 2023
51 tasks
@KristofferC KristofferC removed the backport 1.9 Change should be backported to release-1.9 label May 28, 2023
kpamnany pushed a commit that referenced this pull request Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 1.8 Change should be backported to release-1.8 compiler:codegen Generation of LLVM IR and native code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants