[mono] Run runtime-llvm and runtime-ioslike on Mono LLVM PRs by matouskozak · Pull Request #111614 · dotnet/runtime · GitHub
Skip to content

[mono] Run runtime-llvm and runtime-ioslike on Mono LLVM PRs#111614

Merged
matouskozak merged 2 commits into
dotnet:mainfrom
matouskozak:enable-mono-pipelines-on-PRs
Jan 22, 2025
Merged

[mono] Run runtime-llvm and runtime-ioslike on Mono LLVM PRs#111614
matouskozak merged 2 commits into
dotnet:mainfrom
matouskozak:enable-mono-pipelines-on-PRs

Conversation

@matouskozak

@matouskozak matouskozak commented Jan 20, 2025

Copy link
Copy Markdown
Member

This PR enables running of runtime-llvm and runtime-ioslike pipelines, by default, on PRs touching the following code:

  • src/mono/mono/mini/aot-*.*
  • src/mono/mono/mini/llvm-*.*
  • src/mono/mono/mini/mini-llvm-*.*
  • src/mono/mono/mini/intrinsics.c
  • src/mono/mono/mini/simd-*.*
  • src/mono/mono/mini/decompose.c
  • src/mono/mono/mini/method-to-ir.c
  • src/mono/mono/mini/mini.c

This is to ensure that we have proper coverage over Mono AOT-llvm when changes are made as we don't test these scenarios as part of the runtime pipeline.

Note: we need to enable runtime-ioslike in addition to runtime-llvm because we are currently missing coverage for arm64 AOT Linux scenario (#90427). runtime-ioslike provides coverage over arm64-based TvOS devices which run AOT-llvm by default.


Follow-up: Remove the setting in the AzDO pipeline settings to trigger on comments only

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

@matouskozak

Copy link
Copy Markdown
Member Author

@tannergooding @lateralusX are there any other critical files that when modified, should trigger the Mono LLVM pipelines?

@lateralusX

lateralusX commented Jan 21, 2025

Copy link
Copy Markdown
Member

We have the llvmonly-*, but they are only interesting on platforms running using llvmonly mode, so not sure the current runtime-llvm or runtime-ioslike pipelines will use anything using triggering llvmonly codegen.

Any file under mini that would affect code generation could also be affecting LLVM code generation when changed that could in theory break LLVM AOT compilation/runtime, but if we are going to pick something additional, then maybe method-to-ir.c, decompose.c and mini.c.

@matouskozak

Copy link
Copy Markdown
Member Author

We have the llvmonly-*, but they are only interesting on platforms running using llvmonly mode, so not sure the current runtime-llvm or runtime-ioslike pipelines will use anything using triggering llvmonly codegen.

I don't think anything there runs in llvmonly mode. We used to have llvmonly on watchOS but that is no longer tested/supported.

then maybe method-to-ir.c, decompose.c and mini.c.

Thank you, I'll add those.

@matouskozak

Copy link
Copy Markdown
Member Author

/backport to release/9.0-staging

@github-actions

Copy link
Copy Markdown
Contributor

Started backporting to release/9.0-staging: https://github.com/dotnet/runtime/actions/runs/12925542809

@matouskozak

Copy link
Copy Markdown
Member Author

/backport to release/8.0-staging

@github-actions

Copy link
Copy Markdown
Contributor

Started backporting to release/8.0-staging: https://github.com/dotnet/runtime/actions/runs/12926487412

@github-actions

Copy link
Copy Markdown
Contributor

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.

5 participants