Skip to content

Conversation

@glou-nes
Copy link
Contributor

I want to test with CI.

src = CC.retrieve_code_info(result.linfo, world)
#dico2[mi]=(CC.copy(src), goto_if_not_protection(src))
@error src
src = goto_if_not_protection(src)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Billy's concern was that since the transformation here happens before inlining, the code that will later get doesn't have the needed conversions inserted.
I'm wondering if you run into this issue?
If so, the idea was to do the transformation by specializing the abstract interpreter.
If that's necessary, the correct place to do it would be InferenceState like I did here:
https://github.com/JuliaLLVM/MLIR.jl/blob/cf22c54222033ed4f5f3d68a620448bcaf766ac4/src/Generate/absint.jl#L151C1-L160C4
based on an old pr from valentin:
JuliaGPU/GPUCompiler.jl#311

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have an example of such a case in mind! I will try with this one firstly (seem easier to handle).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants