567 Commits

Author SHA1 Message Date
Tom Stellard
e49f902358
[workflows] Add scan-build to ci-ubuntu-22.04 container (#94543)
This will be used for a new CI job that runs the static analyzer.
2024-06-06 06:05:29 -07:00
Tom Stellard
aa512943f4
workflows: Disable stage2 of the release builds (#93056)
We need to skip this step until PGO is re-enabled for the release
builds.
2024-06-05 09:33:13 -07:00
Justin Fargnoli
3e228c8eaf
[GitHub] Add NVPTX backend labeler (#94080)
Add patterns to label NVPTX backend related changes automatically.
2024-06-03 10:27:56 -07:00
Eric Fiselier
b6ea134e41 Fix pagination issue in libc++ buildbot restarter 2024-06-02 10:18:44 -04:00
Eric Fiselier
867c9f6713 Fix permissions on restarter workflow 2024-06-01 12:30:14 -04:00
Eric Fiselier
e9057c30a4 Create check run on workflow run to better display result.
In order to make the behavior of the libc++ restarter more visible
to users, this change creates a check run on the considered workflow
to let users know what action, if any, was taken
2024-06-01 12:22:26 -04:00
Eric Fiselier
86bb5c8427 Create annotations to better explain restarter decision 2024-06-01 11:53:22 -04:00
Vlad Serebrennikov
ed35a92c40
[clang] Introduce target-specific Sema components (#93179)
This patch introduces `SemaAMDGPU`, `SemaARM`, `SemaBPF`, `SemaHexagon`,
`SemaLoongArch`, `SemaMIPS`, `SemaNVPTX`, `SemaPPC`, `SemaSystemZ`,
`SemaWasm`. This continues previous efforts to split Sema up. Additional
context can be found in #84184 and #92682.

I decided to bundle target-specific components together because of their
low impact on `Sema`. That said, their impact on `SemaChecking.cpp` is
far from low, and I consider it a success.

Somewhat accidentally, I also moved Wasm- and AMDGPU-specific function
from `SemaDeclAttr.cpp`, because they were exposed in `Sema`. That went
well, and I consider it a success, too. I'd like to move the rest of
static target-specific functions out of `SemaDeclAttr.cpp` like we're
doing with built-ins in `SemaChecking.cpp` .
2024-05-30 19:59:59 +04:00
Mingming Liu
3255752cbd
[Github]Update PGO with more filepaths (#93720)
- `llvm/**/ProfileData/**/*` intends to cover `llvm/include/llvm/ProfileData/` and `llvm/lib/ProfileData/`
- `llvm/**/SampleProfile*` intends to cover a bunch of SamplePGO files and their headers. For example, 
    `SampleProfile.cpp`, `SampleProfileMatcher.cpp`, `SampleProfileProbe.cpp`
- `llvm/**/CodeGen/MIRSampleProfile*` intends to cover MIRSampleProfile.cpp and its header.
- `llvm/test/Transforms/SampleProfile/**/*` intends to cover unit tests.
2024-05-29 13:17:19 -07:00
Eric Fiselier
e492aa5adb Remove one more unneeded debug log line 2024-05-28 21:08:07 -04:00
Eric Fiselier
d11922ebb2 Remove unneeded debug logging 2024-05-28 20:54:16 -04:00
Eric Fiselier
bd5cd4b837 Fix trigger for libc++ job rerunner.
Testing github actions is such a pain. I swear it should match now.
2024-05-28 20:03:36 -04:00
Eric Fiselier
b9cdea66b6 Attempt to fix issue with plus sign in libc++ workflow name 2024-05-28 18:23:14 -04:00
Eric
067b4ccb4b
Upstream libc++ buildbot restarter. (#93582)
I've been running a cronjob on my local machine to restart preempted
libc++ CI runs. This is bad and brittle. This upstreams a much better
version of the restarter.

It works by matching on check run annotations looking for mention
of the machine being shutdown.

If there are both preempted jobs and failing jobs, we don't restart
the workflow. Maybe we should change that?
2024-05-28 18:19:04 -04:00
Ryuichi Watanabe
7892d43474
Update llvm-bugs.yml (#77243) 2024-05-19 15:01:47 -07:00
Aiden Grossman
9e98815ef0 [Github] Revert accidental changes to dependabot config
f3524e9aebbfabed0c60d0087b39ce14d8f778da accidentally touched the
dependabot config. This patch reverts that change.
2024-05-18 05:04:59 +00:00
Mircea Trofin
cfe9deb135 Reapply "[ctx_profile] Integration test (#92456)"
This reverts commit 881f20e958e80bd30463fc57d2d3e891bcb8a571.

Passing -ldl -lpthread explicitly
2024-05-17 21:55:39 -07:00
Tom Stellard
89b83d2d3f
[git] Add hashes to requirements.txt for extra security (#92305)
https://pip.pypa.io/en/stable/topics/secure-installs/
2024-05-17 06:49:27 -07:00
Timm Bäder
e27f9bb319 [github] Add keith back to bazel codeowners
Wrongly removed in 45cc6bdea97be10793e4cd5f0ef11abd9d19adea.
2024-05-16 08:28:25 +02:00
Timm Bäder
45cc6bdea9 [clang][Interp] Implement __builtin_shufflevector 2024-05-16 08:26:59 +02:00
Tom Stellard
d06270ee00
[workflows] Fix libclang-abi-tests to work with new version scheme (#91865) 2024-05-15 06:08:29 -07:00
Keith Smiley
18ba0cc26e
[github] Add keith to bazel owners (NFC) (#92164)
I'm interested in being CC'd on these changes
2024-05-14 12:24:32 -07:00
Tom Stellard
c99d1156c2
[workflows] Add a job for requesting a release note on release branch PRs (#91826)
We have been collecting release notes from the PRs for most of the
18.1.x releases and this just helps automate the process.
2024-05-13 16:31:21 -07:00
Matthias Gehre
29a986bc09
new-prs-labeler.yml: Include conversion passes of TOSA/emitc (#91921) 2024-05-13 15:36:46 +02:00
Tom Stellard
720dfd94df
workflows: Fix missing GITHUB_TOKEN in release-doxygen.yml upload step (#91091)
We were accidentally setting the GITHUB_TOKEN environment variable in
the previous step.
2024-05-09 20:30:29 -07:00
Tom Stellard
0d31ac8893
workflows: Remove top-level permissions from release-tasks.yml (#91088)
This is the recommend best practice and we also don't need write access
for all jobs.
2024-05-09 20:29:25 -07:00
Renato Golin
db4cf7c0fc
Update CODEOWNERS
Adding myself to linalg dialect
2024-05-08 13:33:20 +01:00
Nikita Popov
7098cd215b [NFC] Add myself as code owner for llvm/IR/Core.cpp
In practice I end up reviewing most changes to the C API.
2024-05-08 11:03:43 +09:00
Tom Stellard
abac98479b
[Workflows] Re-write release-binaries workflow (#89521)
This updates the release-binaries workflow so that the different build
stages are split across multiple jobs. This saves money by reducing the
time spent on the larger github runners and also makes it easier to
debug, because now it's possible to build a smaller release package
(with clang and lld) using only the free GitHub runners.

The workflow no longer uses the test-release.sh script but instead uses
the Release.cmake cache. This gives the workflow more flexibility and
ensures that the binary package will always be created even if the tests
fail.

This idea to split the stages comes from the "LLVM Precommit CI through
Github Actions" RFC:

https://discourse.llvm.org/t/rfc-llvm-precommit-ci-through-github-actions/76456
2024-05-04 15:10:12 -07:00
Nathan Lanza
ad1e10ae11
[github] Add ClangIR codeowners (#86089) 2024-04-27 19:05:00 -04:00
Amir Ayupov
e71ce0020f
[github] Add BOLT to new-prs-labeler.yml (#90114) 2024-04-25 13:13:55 -07:00
Louis Dionne
fcf86673b8
[libc++] Tag PRs that modify libc++ workflows appropriately (#89798) 2024-04-25 09:24:54 -04:00
Mark de Wever
9e95951830
[libc++][CI] Removes clang-tidy references. (#89092)
The clang-tidy selection has been made automatic recently so this is not
longer needed.

Thanks to Louis for spotting this.
2024-04-23 19:46:40 +02:00
Théo Degioanni
efe0a2eddb [nfc][github] subscribe myself to MLIR Mem2Reg PRs 2024-04-20 19:23:25 +02:00
Oleksandr "Alex" Zinenko
e06fb82b40
[github] notify me about mlir python changes 2024-04-18 14:43:31 +02:00
Guray Ozen
42348b6918
[github] Add myself as default code reviewer (#89099) 2024-04-18 09:24:14 +02:00
Shilei Tian
800f1050e1
[GitHub] Add a new mapping for offload subproject (#89118)
Fix #89071.
2024-04-17 14:53:01 -04:00
Nathan Lanza
ed741ffe89
[github] Add ClangIR to new-prs-labeler.yml (#86088) 2024-04-17 14:06:01 -04:00
Maksim Levental
84ec2d3b38
[mlir][python] add to CODEOWNERS (#88561) 2024-04-14 17:20:05 -05:00
Marius Brehler
a952c12388
[GitHub] Set top level token permission (#87326) 2024-04-11 22:58:47 +02:00
Schuyler Eldridge
8a8ab8f70c
[lit][ci] Publish lit wheels (#88072)
Add wheel publishing in addition to existing source distribution
publishing of lit.

Fixes #63369. This also uses the exact fix proposed by @EFord36 in
#63369.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
2024-04-09 11:55:17 -04:00
Mark de Wever
b798c2af8b
[libc++][CI] Updates to Clang 19. (#85301)
Since we have released Clang 16 is no longer actively supported. However
the FreeBSD runner is still using this, so some tests still guard
against Clang 16.
2024-04-04 20:48:23 +02:00
Tom Stellard
817c6915ae
[workflows] Use issue-write workflow for warning about private emails (#87399)
This allows us to use the less privileged pull_request event for the
validate_email job, since this workflow no longer writes a comment
directly.
2024-04-02 13:36:08 -07:00
Daniel Grumberg
4c7de02bc0 [ExtractAPI] Add @daniel-grumberg into CODEOWNERS 2024-04-02 16:35:52 +01:00
Aiden Grossman
f6c87be1dd [Github] Fix typo in PR code formatting job
The recent change to split the PR code formatting job accidentally
misspelled the repository field when specifying the repository to fetch
the code formatting utils from. This patch fixes the spelling so that
the job does not throw a warning and clones the tools from the specified
repository.
2024-04-02 00:33:50 -07:00
Tom Stellard
649f9603a2
[workflows] issue-write: Avoid race condition when PR branch is deleted (#87118)
Fixes #87102 .
2024-04-01 15:17:24 -07:00
Tom Stellard
6b136ce738
[workflows] issue-write: Exit early if there are no comments (#87114)
This will eliminate some unnecessary REST API calls.
2024-04-01 14:35:39 -07:00
Tom Stellard
2fa46ca922
[workflows] Update the version of the scorecard-action (#86753)
I'm hoping this will fix the errors we've been seeing the last few days:

2024-03-19T20:44:07.4841482Z 2024/03/19 20:44:07 error signing scorecard
json results: error signing payload: getting key from Fulcio: verifying
SCT: updating local metadata and targets: error updating to TUF remote
mirror: invalid key
2024-03-27 06:25:10 -07:00
Tom Stellard
de917dc20e
[workflow] Don't add a comment when the first run of the formatter passes (#86335)
This was inadvertently changed in
2120f574103c487787390263b3692c4b167f6bdf.
2024-03-25 15:04:11 -07:00
Tom Stellard
2120f57410
Reapply [workflows] Split pr-code-format into two parts to make it more secure (#78215) (#80495)
Actions triggered by pull_request_target events have access to all
repository secrets, so it is unsafe to use them when executing untrusted
code. The pr-code-format workflow does not execute any untrusted code,
but it passes untrused input into clang-format. An attacker could use
this to exploit a flaw in clang-format and potentially gain access to
the repository secrets.
    
By splitting the workflow, we can use the pull_request target which is
more secure and isolate the issue write permissions in a separate job.
The pull_request target also makes it easier to test changes to the
code-format-helepr.py script, because the version of the script from the
pull request will be used rather than the version of the script from
main.
    
Fixes #77142
2024-03-22 11:45:51 -07:00