Skip to content

Add support for LLVM 14.x - #68719

Merged
vargaz merged 4 commits into
dotnet:mainfrom
vargaz:llvm14
Apr 30, 2022
Merged

vargaz merged 4 commits into
dotnet:mainfrom
vargaz:llvm14

Conversation

@vargaz

@vargaz vargaz commented Apr 29, 2022

Copy link
Copy Markdown
Contributor

No description provided.

@ghost ghost assigned vargaz Apr 29, 2022
@vargaz
vargaz requested review from fanyang-mono and lateralusX and removed request for SamMonoRT April 29, 2022 19:52
Comment thread src/mono/mono/mini/mini-llvm.c Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

one of the motivations for opaque pointer types in the LLVM docs is that it allows them to get rid of a lot of pointer-to-pointer bitcasts that are just changing the element type.

I'm guessing they probably have a pass that will remove these pretty early on.

Do you think we should try to avoid emitting them at all?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We are still using the non-opaque mode since the opaque mode is experimental afaik in llvm 11.x. So we can remove those after switching to llvm 14.x.

Comment thread src/mono/mono/mini/llvm-intrinsics.h Resolved
@vargaz

vargaz commented Apr 29, 2022

Copy link
Copy Markdown
Contributor Author

/azp run runtime-wasm

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Comment thread src/mono/mono/mini/llvm-intrinsics.h Resolved
@vargaz
vargaz merged commit e938e44 into dotnet:main Apr 30, 2022
@vargaz
vargaz deleted the llvm14 branch April 30, 2022 16:06
@ghost ghost locked as resolved and limited conversation to collaborators May 30, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants