Skip to content

Commit 810e5f8

Browse files
authored
Merge branch 'llvm:main' into clang-tools-headers
2 parents 255249f + e4f0829 commit 810e5f8

File tree

7,811 files changed

+260998
-106040
lines changed

Some content is hidden

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

7,811 files changed

+260998
-106040
lines changed

.ci/generate-buildkite-pipeline-premerge

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function add-dependencies() {
107107
done
108108
;;
109109
compiler-rt|libc|openmp)
110-
echo clang
110+
echo clang lld
111111
;;
112112
flang|lldb)
113113
for p in llvm clang; do

.ci/monolithic-linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ cmake -S ${MONOREPO_ROOT}/llvm -B ${BUILD_DIR} \
4545
-D LLVM_ENABLE_ASSERTIONS=ON \
4646
-D LLVM_BUILD_EXAMPLES=ON \
4747
-D COMPILER_RT_BUILD_LIBFUZZER=OFF \
48-
-D LLVM_LIT_ARGS="-v --xunit-xml-output ${BUILD_DIR}/test-results.xml" \
48+
-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 \
5151
-D BOLT_CLANG_EXE=/usr/bin/clang \

.ci/monolithic-windows.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ cmake -S ${MONOREPO_ROOT}/llvm -B ${BUILD_DIR} \
4545
-D LLVM_ENABLE_ASSERTIONS=ON \
4646
-D LLVM_BUILD_EXAMPLES=ON \
4747
-D COMPILER_RT_BUILD_LIBFUZZER=OFF \
48-
-D LLVM_LIT_ARGS="-v --xunit-xml-output ${BUILD_DIR}/test-results.xml" \
48+
-D LLVM_LIT_ARGS="-v --xunit-xml-output ${BUILD_DIR}/test-results.xml --timeout=1200 --time-tests" \
4949
-D COMPILER_RT_BUILD_ORC=OFF \
5050
-D CMAKE_C_COMPILER_LAUNCHER=sccache \
5151
-D CMAKE_CXX_COMPILER_LAUNCHER=sccache \

.github/CODEOWNERS

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@
6868
/mlir/lib/Dialect/MemRef/Transforms/EmulateNarrowType.cpp @MaheshRavishankar @nicolasvasilache
6969

7070
# Vector Dialect in MLIR.
71-
/mlir/**/*AMX* @dcaballe
71+
/mlir/**/*AMX* @aartbik @dcaballe
7272
/mlir/**/*Neon* @banach-space @dcaballe @nicolasvasilache
7373
/mlir/**/*SME* @banach-space @dcaballe @nicolasvasilache
7474
/mlir/**/*SVE* @banach-space @dcaballe @nicolasvasilache
7575
/mlir/**/*VectorInterfaces* @dcaballe @nicolasvasilache
7676
/mlir/**/*VectorToSCF* @banach-space @dcaballe @nicolasvasilache @matthias-springer
7777
/mlir/**/*VectorToLLVM* @banach-space @dcaballe @nicolasvasilache
78-
/mlir/**/*X86Vector* @dcaballe @nicolasvasilache
78+
/mlir/**/*X86Vector* @aartbik @dcaballe @nicolasvasilache
7979
/mlir/include/mlir/Dialect/Vector @dcaballe @nicolasvasilache
8080
/mlir/lib/Dialect/Vector @dcaballe @nicolasvasilache
8181
/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp @MaheshRavishankar @nicolasvasilache
@@ -98,3 +98,6 @@
9898
/mlir/**/SPIRVTo*/ @antiagainst @kuhar
9999
/mlir/**/*ToSPIRV/ @antiagainst @kuhar
100100
/mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp @antiagainst @kuhar
101+
102+
# MLIR Sparsifier.
103+
/mlir/**/*SparseTensor*/ @aartbik @PeimingLiu @yinying-lisa-li @matthias-springer

.github/dependabot.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "monthly"
7+
groups:
8+
github-actions:
9+
patterns:
10+
- "*"
11+
- package-ecosystem: "pip"
12+
directory: "/llvm/docs"
13+
schedule:
14+
interval: "monthly"
15+
groups:
16+
llvm-docs-requirements:
17+
patterns:
18+
- "*"

.github/new-prs-labeler.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,9 @@ clang-tidy:
308308
- clang-tools-extra/docs/clang-tidy/**
309309
- clang-tools-extra/test/clang-tidy/**
310310

311+
clang-tools-extra:
312+
- clang-tools-extra/**
313+
311314
tools:llvm-mca:
312315
- llvm/tools/llvm-mca/**
313316
- llvm/include/llvm/MCA/**
@@ -591,13 +594,16 @@ mlgo:
591594
- llvm/include/llvm/Analysis/*Runner.h
592595
- llvm/unittests/Analysis/ML*
593596
- llvm/lib/Analysis/FunctionPropertiesAnalysis.cpp
597+
- llvm/lib/Analysis/TrainingLogger.cpp
594598
- llvm/include/llvm/Analysis/FunctionPropertiesAnalysis.h
599+
- llvm/include/llvm/Analysis/Utils/TrainingLogger.h
595600
- llvm/test/Analysis/FunctionPropertiesAnalysis/*
596601
- llvm/unittests/Analysis/FunctionPropertiesAnalysisTest.cpp
597602
- llvm/test/Transforms/inline/ML/**
598603
- llvm/lib/CodeGen/ML*
599604
- llvm/unittests/CodeGen/ML*
600605
- llvm/test/CodeGen/MLRegAlloc/**
606+
- llvm/utils/mlgo-utils/*
601607

602608
tools:llvm-exegesis:
603609
- llvm/tools/llvm-exegesis/**

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ jobs:
138138
- name: Build libcxx docs
139139
if: steps.docs-changed-subprojects.outputs.libcxx_any_changed == 'true'
140140
run: |
141-
cmake -B libcxx-build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_RUNTIMES="libcxxabi;libcxx" -DLLVM_ENABLE_SPHINX=ON ./runtimes
141+
cmake -B libcxx-build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_RUNTIMES="libcxxabi;libcxx;libunwind" -DLLVM_ENABLE_SPHINX=ON ./runtimes
142142
TZ=UTC ninja -C libcxx-build docs-libcxx-html
143143
- name: Build libc docs
144144
if: steps.docs-changed-subprojects.outputs.libc_any_changed == 'true'

.github/workflows/issue-subscriber.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,24 @@ jobs:
1313
runs-on: ubuntu-latest
1414
if: github.repository == 'llvm/llvm-project'
1515
steps:
16+
- name: Checkout Automation Script
17+
uses: actions/checkout@v4
18+
with:
19+
sparse-checkout: llvm/utils/git/
20+
ref: main
21+
1622
- name: Setup Automation Script
23+
working-directory: ./llvm/utils/git/
1724
run: |
18-
curl -O -L --fail https://raw.githubusercontent.com/"$GITHUB_REPOSITORY"/"$GITHUB_SHA"/llvm/utils/git/github-automation.py
19-
curl -O -L --fail https://raw.githubusercontent.com/"$GITHUB_REPOSITORY"/"$GITHUB_SHA"/llvm/utils/git/requirements.txt
20-
chmod a+x github-automation.py
2125
pip install -r requirements.txt
2226
2327
- name: Update watchers
28+
working-directory: ./llvm/utils/git/
2429
# https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-an-intermediate-environment-variable
2530
env:
2631
LABEL_NAME: ${{ github.event.label.name }}
2732
run: |
28-
./github-automation.py \
33+
python3 ./github-automation.py \
2934
--token '${{ secrets.ISSUE_SUBSCRIBER_TOKEN }}' \
3035
issue-subscriber \
3136
--issue-number '${{ github.event.issue.number }}' \
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Libclang Python Binding Tests
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
workflow_dispatch:
8+
push:
9+
paths:
10+
- 'clang/bindings/python/**'
11+
- 'clang/tools/libclang/**'
12+
- 'clang/CMakeList.txt'
13+
- '.github/workflows/libclang-python-tests.yml'
14+
- '.github/workflows/llvm-project-tests.yml'
15+
pull_request:
16+
paths:
17+
- 'clang/bindings/python/**'
18+
- 'clang/tools/libclang/**'
19+
- 'clang/CMakeList.txt'
20+
- '.github/workflows/libclang-python-tests.yml'
21+
- '.github/workflows/llvm-project-tests.yml'
22+
23+
concurrency:
24+
# Skip intermediate builds: always.
25+
# Cancel intermediate builds: only if it is a pull request build.
26+
group: ${{ github.workflow }}-${{ github.ref }}
27+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
28+
29+
jobs:
30+
check-clang-python:
31+
# Build libclang and then run the libclang Python binding's unit tests.
32+
name: Build and run Python unit tests
33+
strategy:
34+
fail-fast: false
35+
matrix:
36+
python-version: ["3.7", "3.11"]
37+
uses: ./.github/workflows/llvm-project-tests.yml
38+
with:
39+
build_target: check-clang-python
40+
projects: clang
41+
# There is an issue running on "windows-2019".
42+
# See https://github.com/llvm/llvm-project/issues/76601#issuecomment-1873049082.
43+
os_list: '["ubuntu-latest"]'
44+
python_version: ${{ matrix.python-version }}

.github/workflows/libcxx-build-and-test.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ concurrency:
3535

3636

3737
env:
38-
CMAKE: "/opt/bin/cmake"
3938
# LLVM POST-BRANCH bump version
4039
# LLVM POST-BRANCH add compiler test for ToT - 1, e.g. "Clang 17"
4140
# LLVM RELEASE bump remove compiler ToT - 3, e.g. "Clang 15"
@@ -161,32 +160,26 @@ jobs:
161160
'generic-no-unicode',
162161
'generic-no-wide-characters',
163162
'generic-no-rtti',
163+
'generic-optimized-speed',
164164
'generic-static',
165-
'generic-with_llvm_unwinder',
166165
# TODO Find a better place for the benchmark and bootstrapping builds to live. They're either very expensive
167166
# or don't provide much value since the benchmark run results are too noise on the bots.
168167
'benchmarks',
169168
'bootstrapping-build'
170169
]
171170
machine: [ 'libcxx-runners-8-set' ]
172-
std_modules: [ 'OFF' ]
173171
include:
174172
- config: 'generic-cxx26'
175173
machine: libcxx-runners-8-set
176-
std_modules: 'ON'
177174
- config: 'generic-asan'
178175
machine: libcxx-runners-8-set
179-
std_modules: 'OFF'
180176
- config: 'generic-tsan'
181177
machine: libcxx-runners-8-set
182-
std_modules: 'OFF'
183178
- config: 'generic-ubsan'
184179
machine: libcxx-runners-8-set
185-
std_modules: 'OFF'
186180
# Use a larger machine for MSAN to avoid timeout and memory allocation issues.
187181
- config: 'generic-msan'
188182
machine: libcxx-runners-8-set
189-
std_modules: 'OFF'
190183
runs-on: ${{ matrix.machine }}
191184
steps:
192185
- uses: actions/checkout@v4
@@ -196,7 +189,6 @@ jobs:
196189
CC: clang-18
197190
CXX: clang++-18
198191
ENABLE_CLANG_TIDY: "OFF"
199-
ENABLE_STD_MODULES: ${{ matrix.std_modules }}
200192
- uses: actions/upload-artifact@v3
201193
if: always()
202194
with:

0 commit comments

Comments
 (0)