Skip to content

Commit f1c2400

Browse files
committed
Merge branch 'refs/heads/main' into popcount-libcall-1
# Conflicts: # llvm/lib/Target/RISCV/RISCVISelLowering.cpp # llvm/test/CodeGen/RISCV/rv64-legal-i32/rv64xtheadbb.ll # llvm/test/CodeGen/RISCV/rv64-legal-i32/rv64zbb.ll
2 parents 7d5ba49 + 2eb6e30 commit f1c2400

File tree

2,016 files changed

+90986
-75232
lines changed

Some content is hidden

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

2,016 files changed

+90986
-75232
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@
3333
/clang/www/cxx_dr_status.html @Endilll
3434
/clang/www/make_cxx_dr_status @Endilll
3535

36-
clang/lib/AST/Interp/ @tbaederr
37-
clang/test/AST/Interp/ @tbaederr
38-
3936
/clang/include/clang/CIR @lanza @bcardosolopes
4037
/clang/lib/CIR @lanza @bcardosolopes
4138
/clang/tools/cir-* @lanza @bcardosolopes

.github/workflows/libclang-python-tests.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,6 @@ on:
2222
- '.github/workflows/libclang-python-tests.yml'
2323
- '.github/workflows/llvm-project-tests.yml'
2424

25-
concurrency:
26-
# Skip intermediate builds: always.
27-
# Cancel intermediate builds: only if it is a pull request build.
28-
group: ${{ github.workflow }}-${{ github.ref }}
29-
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
30-
3125
jobs:
3226
check-clang-python:
3327
# Build libclang and then run the libclang Python binding's unit tests.

.github/workflows/llvm-project-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ concurrency:
5151
# Cancel intermediate builds: only if it is a pull request build.
5252
# If the group name here is the same as the group name in the workflow that includes
5353
# this one, then the action will try to wait on itself and get stuck.
54-
group: llvm-project-${{ github.workflow }}-${{ inputs.projects }}${{ github.ref }}
54+
group: llvm-project-${{ github.workflow }}-${{ inputs.projects }}-${{ inputs.python_version }}${{ github.ref }}
5555
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
5656

5757
jobs:

.github/workflows/release-tasks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ jobs:
101101
release-sources:
102102
name: Package Release Sources
103103
permissions:
104+
contents: read
104105
id-token: write
105106
attestations: write
106107
needs:

bolt/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ endforeach()
8282

8383
set(BOLT_ENABLE_RUNTIME_default OFF)
8484
if ((CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64"
85-
OR CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
85+
OR CMAKE_SYSTEM_PROCESSOR MATCHES "^(arm64|aarch64)$")
8686
AND (CMAKE_SYSTEM_NAME STREQUAL "Linux"
8787
OR CMAKE_SYSTEM_NAME STREQUAL "Darwin")
8888
AND (NOT CMAKE_CROSSCOMPILING))

bolt/docs/CommandLineArgumentReference.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@
113113

114114
Prints out offsets for abbrev and debug_info of Skeleton CUs that get patched.
115115

116+
- `--debug-thread-count=<uint>`
117+
118+
Specifies the number of threads to be used when processing DWO debug information.
119+
116120
- `--dot-tooltip-code`
117121

118122
Add basic block instructions as tool tips on nodes

bolt/docs/OptimizingLinux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Convert `perf` profile into a format suitable for BOLT passing the `vmlinux` bin
3737

3838

3939
```bash
40-
$ sudo chwon $USER perf.data
40+
$ sudo chown $USER perf.data
4141
$ perf2bolt -p perf.data -o perf.fdata vmlinux
4242
```
4343

bolt/include/bolt/Core/ParallelUtilities.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ enum SchedulingPolicy {
5050
};
5151

5252
/// Return the managed thread pool and initialize it if not initialized.
53-
ThreadPoolInterface &getThreadPool();
53+
ThreadPoolInterface &
54+
getThreadPool(const unsigned ThreadsCount = opts::ThreadCount);
5455

5556
/// Perform the work on each BinaryFunction except those that are accepted
5657
/// by SkipPredicate, scheduling heuristic is based on SchedPolicy.

bolt/include/bolt/Rewrite/DWARFRewriter.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,8 @@ class DWARFRewriter {
184184
/// Output .dwo files.
185185
void writeDWOFiles(DWARFUnit &, const OverriddenSectionsMap &,
186186
const std::string &, DebugLocWriter &,
187-
DebugStrOffsetsWriter &, DebugStrWriter &);
187+
DebugStrOffsetsWriter &, DebugStrWriter &,
188+
DebugRangesSectionWriter &);
188189
using KnownSectionsEntry = std::pair<MCSection *, DWARFSectionKind>;
189190
};
190191

bolt/lib/Core/BinaryContext.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ BinaryContext::BinaryContext(std::unique_ptr<MCContext> Ctx,
142142
InstPrinter(std::move(InstPrinter)), MIA(std::move(MIA)),
143143
MIB(std::move(MIB)), MRI(std::move(MRI)), DisAsm(std::move(DisAsm)),
144144
Logger(Logger), InitialDynoStats(isAArch64()) {
145-
Relocation::Arch = this->TheTriple->getArch();
146145
RegularPageSize = isAArch64() ? RegularPageSizeAArch64 : RegularPageSizeX86;
147146
PageAlign = opts::NoHugePages ? RegularPageSize : HugePageSize;
148147
}

0 commit comments

Comments
 (0)