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

codegen: Avoid some uses of PointerType::getElementType() #43721

Merged
merged 1 commit into from
Jan 11, 2022

Conversation

dnadlinger
Copy link
Member

@dnadlinger dnadlinger commented Jan 8, 2022

getElementType() will eventually go away with the LLVM switch to opaque pointers.

The assertion in gen_cfun_wrapper is still checked within CreateAlignedLoad.

As suggested by @vtjnash in #43628. More work will need to be done to completely remove PointerType::getElementType() from our codebase, e.g. using getWithSamePointeeType for the address space passes, etc.

@dnadlinger dnadlinger force-pushed the avoid-getelementtype branch 2 times, most recently from fb14795 to e4a1e7b Compare January 9, 2022 00:21
getElementType() will eventually go away with the LLVM switch
to opaque pointers.

The assertion in gen_cfun_wrapper is still checked within
CreateAlignedLoad.
@dnadlinger
Copy link
Member Author

dnadlinger commented Jan 9, 2022

The buildbot/tester_linuxaarch64 failure is unrelated – seems like this might be more or less the same issue that is also plaguing Darwin (see #43664).

@dnadlinger
Copy link
Member Author

The buildbot/tester_linux64 failure also seems like a flaky Distributed test, but I don't have permission to trigger a rebuild.

@vchuravy
Copy link
Member

The buildbot/tester_linux64 failure also seems like a flaky Distributed test, but I don't have permission to trigger a rebuild.

Actually it is in FileWatching.jl

@dnadlinger
Copy link
Member Author

Actually it is in FileWatching.jl

You are right, of course – I was looking at the wrong part of the backtrace.

@vtjnash vtjnash merged commit 3b5f985 into JuliaLang:master Jan 11, 2022
@dnadlinger dnadlinger deleted the avoid-getelementtype branch January 11, 2022 22:27
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Feb 22, 2022
…43721)

getElementType() will eventually go away with the LLVM switch
to opaque pointers.

The assertion in gen_cfun_wrapper is still checked within
CreateAlignedLoad.
LilithHafner pushed a commit to LilithHafner/julia that referenced this pull request Mar 8, 2022
…43721)

getElementType() will eventually go away with the LLVM switch
to opaque pointers.

The assertion in gen_cfun_wrapper is still checked within
CreateAlignedLoad.
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