Skip to content

Commit 89ca329

Browse files
committed
Merge remote-tracking branch 'llvm/main' into issue-62985
2 parents b3e6a22 + 72eaa0e commit 89ca329

File tree

14,540 files changed

+963571
-394718
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

14,540 files changed

+963571
-394718
lines changed

.ci/generate-buildkite-pipeline-premerge

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function compute-projects-to-test() {
6868
done
6969
;;
7070
clang)
71-
for p in clang-tools-extra compiler-rt flang libc lldb openmp cross-project-tests; do
71+
for p in clang-tools-extra compiler-rt flang lldb cross-project-tests; do
7272
echo $p
7373
done
7474
;;
@@ -91,7 +91,7 @@ function add-dependencies() {
9191
echo "${project}"
9292
case ${project} in
9393
bolt)
94-
for p in lld llvm; do
94+
for p in clang lld llvm; do
9595
echo $p
9696
done
9797
;;
@@ -108,7 +108,7 @@ function add-dependencies() {
108108
compiler-rt|libc|openmp)
109109
echo clang lld
110110
;;
111-
flang|lldb)
111+
flang|lldb|libclc)
112112
for p in llvm clang; do
113113
echo $p
114114
done
@@ -224,7 +224,7 @@ fi
224224
# needs while letting them run on the infrastructure provided by LLVM.
225225

226226
# Figure out which projects need to be built on each platform
227-
all_projects="bolt clang-tools-extra compiler-rt cross-project-tests flang libc libclc lld lldb llvm mlir openmp polly pstl"
227+
all_projects="bolt clang clang-tools-extra compiler-rt cross-project-tests flang libc libclc lld lldb llvm mlir openmp polly pstl"
228228
modified_projects="$(keep-modified-projects ${all_projects})"
229229

230230
linux_projects_to_test=$(exclude-linux $(compute-projects-to-test ${modified_projects}))

.ci/monolithic-linux.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ set -o pipefail
1818

1919
MONOREPO_ROOT="${MONOREPO_ROOT:="$(git rev-parse --show-toplevel)"}"
2020
BUILD_DIR="${BUILD_DIR:=${MONOREPO_ROOT}/build}"
21-
rm -rf ${BUILD_DIR}
21+
rm -rf "${BUILD_DIR}"
2222

2323
ccache --zero-stats
2424

@@ -37,8 +37,8 @@ projects="${1}"
3737
targets="${2}"
3838

3939
echo "--- cmake"
40-
pip install -q -r ${MONOREPO_ROOT}/mlir/python/requirements.txt
41-
cmake -S ${MONOREPO_ROOT}/llvm -B ${BUILD_DIR} \
40+
pip install -q -r "${MONOREPO_ROOT}"/mlir/python/requirements.txt
41+
cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
4242
-D LLVM_ENABLE_PROJECTS="${projects}" \
4343
-G Ninja \
4444
-D CMAKE_BUILD_TYPE=Release \
@@ -48,7 +48,6 @@ cmake -S ${MONOREPO_ROOT}/llvm -B ${BUILD_DIR} \
4848
-D LLVM_LIT_ARGS="-v --xunit-xml-output ${BUILD_DIR}/test-results.xml --timeout=1200 --time-tests" \
4949
-D LLVM_ENABLE_LLD=ON \
5050
-D CMAKE_CXX_FLAGS=-gmlt \
51-
-D BOLT_CLANG_EXE=/usr/bin/clang \
5251
-D LLVM_CCACHE_BUILD=ON \
5352
-D MLIR_ENABLE_BINDINGS_PYTHON=ON
5453

.ci/monolithic-windows.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ set -o pipefail
1919
MONOREPO_ROOT="${MONOREPO_ROOT:="$(git rev-parse --show-toplevel)"}"
2020
BUILD_DIR="${BUILD_DIR:=${MONOREPO_ROOT}/build}"
2121

22-
rm -rf ${BUILD_DIR}
22+
rm -rf "${BUILD_DIR}"
2323

2424
if [[ -n "${CLEAR_CACHE:-}" ]]; then
2525
echo "clearing sccache"
@@ -37,14 +37,14 @@ projects="${1}"
3737
targets="${2}"
3838

3939
echo "--- cmake"
40-
pip install -q -r ${MONOREPO_ROOT}/mlir/python/requirements.txt
40+
pip install -q -r "${MONOREPO_ROOT}"/mlir/python/requirements.txt
4141

4242
# The CMAKE_*_LINKER_FLAGS to disable the manifest come from research
4343
# on fixing a build reliability issue on the build server, please
4444
# see https://github.com/llvm/llvm-project/pull/82393 and
4545
# https://discourse.llvm.org/t/rfc-future-of-windows-pre-commit-ci/76840/40
4646
# for further information.
47-
cmake -S ${MONOREPO_ROOT}/llvm -B ${BUILD_DIR} \
47+
cmake -S "${MONOREPO_ROOT}"/llvm -B "${BUILD_DIR}" \
4848
-D LLVM_ENABLE_PROJECTS="${projects}" \
4949
-G Ninja \
5050
-D CMAKE_BUILD_TYPE=Release \

.github/CODEOWNERS

Lines changed: 42 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@
3232
/clang/www/cxx_dr_status.html @Endilll
3333
/clang/www/make_cxx_dr_status @Endilll
3434

35+
clang/lib/AST/Interp/ @tbaederr
36+
clang/test/AST/Interp/ @tbaederr
37+
38+
/clang/include/clang/CIR @lanza @bcardosolopes
39+
/clang/lib/CIR @lanza @bcardosolopes
40+
/clang/tools/cir-* @lanza @bcardosolopes
41+
3542
/lldb/ @JDevlieghere
3643

3744
# MLIR Interfaces.
@@ -56,8 +63,8 @@
5663
/mlir/Dialect/*/Transforms/Bufferize.cpp @matthias-springer
5764

5865
# Linalg Dialect in MLIR.
59-
/mlir/include/mlir/Dialect/Linalg @dcaballe @nicolasvasilache
60-
/mlir/lib/Dialect/Linalg @dcaballe @nicolasvasilache
66+
/mlir/include/mlir/Dialect/Linalg/* @dcaballe @nicolasvasilache
67+
/mlir/lib/Dialect/Linalg/* @dcaballe @nicolasvasilache
6168
/mlir/lib/Dialect/Linalg/Transforms/DecomposeLinalgOps.cpp @MaheshRavishankar @nicolasvasilache
6269
/mlir/lib/Dialect/Linalg/Transforms/DropUnitDims.cpp @MaheshRavishankar @nicolasvasilache
6370
/mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp @MaheshRavishankar @nicolasvasilache
@@ -74,14 +81,14 @@
7481
/mlir/**/*SME* @banach-space @dcaballe @nicolasvasilache
7582
/mlir/**/*SVE* @banach-space @dcaballe @nicolasvasilache
7683
/mlir/**/*VectorInterfaces* @dcaballe @nicolasvasilache
77-
/mlir/**/*VectorToSCF* @banach-space @dcaballe @nicolasvasilache @matthias-springer
84+
/mlir/**/*VectorToSCF* @banach-space @dcaballe @matthias-springer @nicolasvasilache
7885
/mlir/**/*VectorToLLVM* @banach-space @dcaballe @nicolasvasilache
7986
/mlir/**/*X86Vector* @aartbik @dcaballe @nicolasvasilache
80-
/mlir/include/mlir/Dialect/Vector @dcaballe @nicolasvasilache
81-
/mlir/lib/Dialect/Vector @dcaballe @nicolasvasilache
82-
/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp @MaheshRavishankar @nicolasvasilache
83-
/mlir/**/*EmulateNarrowType* @hanhanW
87+
/mlir/include/mlir/Dialect/Vector/* @dcaballe @nicolasvasilache
88+
/mlir/lib/Dialect/Vector/* @dcaballe @nicolasvasilache
8489
/mlir/lib/Dialect/Vector/Transforms/* @hanhanW @nicolasvasilache
90+
/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp @MaheshRavishankar @nicolasvasilache
91+
/mlir/**/*EmulateNarrowType* @dcaballe @hanhanW
8592

8693
# Presburger library in MLIR
8794
/mlir/**/*Presburger* @Groverkss @Superty
@@ -93,6 +100,7 @@
93100
# Transform Dialect in MLIR.
94101
/mlir/include/mlir/Dialect/Transform/* @ftynse @nicolasvasilache
95102
/mlir/lib/Dialect/Transform/* @ftynse @nicolasvasilache
103+
/mlir/**/*TransformOps* @ftynse @nicolasvasilache
96104

97105
# SPIR-V Dialect in MLIR.
98106
/mlir/**/SPIRV/ @antiagainst @kuhar
@@ -103,5 +111,32 @@
103111
# MLIR Sparsifier.
104112
/mlir/**/*SparseTensor*/ @aartbik @PeimingLiu @yinying-lisa-li @matthias-springer
105113

114+
# MLIR NVGPU Dialect
115+
/mlir/**/NVGPU*/ @grypp
116+
/mlir/test/**/CUDA/ @grypp
117+
118+
# MLIR NVVM Dialect in MLIR
119+
/mlir/**/LLVMIR/**/BasicPtxBuilderInterface* @grypp
120+
/mlir/**/NVVM* @grypp
121+
122+
# MLIR Python Bindings
123+
/mlir/test/python/ @ftynse @makslevental @stellaraccident
124+
/mlir/python/ @ftynse @makslevental @stellaraccident
125+
126+
# MLIR Mem2Reg/SROA
127+
/mlir/**/Transforms/Mem2Reg.* @moxinilian
128+
/mlir/**/Transforms/SROA.* @moxinilian
129+
106130
# BOLT
107131
/bolt/ @aaupov @maksfb @rafaelauler @ayermolo @dcci
132+
133+
# Bazel build system.
134+
/utils/bazel/ @rupprecht
135+
136+
# InstallAPI and TextAPI
137+
/llvm/**/TextAPI/ @cyndyishida
138+
/clang/**/InstallAPI/ @cyndyishida
139+
/clang/tools/clang-installapi/ @cyndyishida
140+
141+
# ExtractAPI
142+
/clang/**/ExtractAPI @daniel-grumberg

.github/new-prs-labeler.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
BOLT:
2+
- bolt/**/*
3+
4+
ClangIR:
5+
- clang/include/clang/CIR/**/*
6+
- clang/lib/CIR/**/*
7+
- clang/tools/cir-*/**/*
8+
- clang/test/CIR/**/*
9+
110
clang:dataflow:
211
- clang/include/clang/Analysis/FlowSensitive/**/*
312
- clang/lib/Analysis/FlowSensitive/**/*
@@ -461,6 +470,7 @@ backend:m68k:
461470

462471
libc++:
463472
- libcxx/**
473+
- .github/workflows/libcxx-*
464474

465475
libc++abi:
466476
- libcxxabi/**
@@ -629,6 +639,8 @@ backend:DirectX:
629639
- '**/*DirectX*/**'
630640
- '**/*DXIL*/**'
631641
- '**/*dxil*/**'
642+
- '**/*DXContainer*'
643+
- '**/*DXContainer*/**'
632644

633645
backend:SPIR-V:
634646
- clang/lib/Driver/ToolChains/SPIRV.*
@@ -933,3 +945,9 @@ openmp:libomp:
933945

934946
openmp:libomptarget:
935947
- any: ['openmp/**', '!openmp/runtime/**']
948+
949+
bazel:
950+
- utils/bazel/**
951+
952+
offload:
953+
- offload/**

.github/workflows/email-check.yaml

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: "Check for private emails used in PRs"
22

33
on:
4-
pull_request_target:
4+
pull_request:
55
types:
66
- opened
77

@@ -10,8 +10,6 @@ permissions:
1010

1111
jobs:
1212
validate_email:
13-
permissions:
14-
pull-requests: write
1513
runs-on: ubuntu-latest
1614
if: github.repository == 'llvm/llvm-project'
1715
steps:
@@ -25,20 +23,24 @@ jobs:
2523
run: |
2624
git log -1
2725
echo "EMAIL=$(git show -s --format='%ae' HEAD~0)" >> $GITHUB_OUTPUT
26+
# Create empty comment file
27+
echo "[]" > comments
2828
2929
- name: Validate author email
3030
if: ${{ endsWith(steps.author.outputs.EMAIL, 'noreply.github.com') }}
31-
uses: actions/github-script@v6
3231
env:
33-
EMAIL: ${{ steps.author.outputs.EMAIL }}
32+
COMMENT: >-
33+
⚠️ We detected that you are using a GitHub private e-mail address to contribute to the repo.<br/>
34+
Please turn off [Keep my email addresses private](https://github.com/settings/emails) setting in your account.<br/>
35+
See [LLVM Discourse](https://discourse.llvm.org/t/hidden-emails-on-github-should-we-do-something-about-it) for more information.
36+
run: |
37+
cat << EOF > comments
38+
[{"body" : "$COMMENT"}]
39+
EOF
40+
41+
- uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 #v4.3.0
42+
if: always()
3443
with:
35-
script: |
36-
const { EMAIL } = process.env
37-
await github.rest.issues.createComment({
38-
issue_number: context.issue.number,
39-
owner: context.repo.owner,
40-
repo: context.repo.repo,
41-
body: `⚠️ We detected that you are using a GitHub private e-mail address to contribute to the repo.
42-
Please turn off [Keep my email addresses private](https://github.com/settings/emails) setting in your account.
43-
See [LLVM Discourse](https://discourse.llvm.org/t/hidden-emails-on-github-should-we-do-something-about-it) for more information.
44-
`})
44+
name: workflow-args
45+
path: |
46+
comments

0 commit comments

Comments
 (0)