LLVM/project dea8e29clang/test/SemaCXX cxx20-default-compare.cpp gh147127.cpp

[clang][test] Move test `gh147127.cpp` to `cxx20-default-compare.cpp` NFC (#222208)

Follow-up #198830
DeltaFile
+0-12clang/test/SemaCXX/gh147127.cpp
+9-0clang/test/SemaCXX/cxx20-default-compare.cpp
+9-122 files

LLVM/project 7209c7aclang/test/Driver modules-driver-depscan-log.cpp

[clang][Driver][test] Specify output path in modules-driver-depscan-log.cpp (#222209)

In `clang/test/Driver/modules-driver-depscan-log.cpp`, `%clang -c` is
invoked on `%t/A.cppm` without an explicit output file (`-o`). By
default, Clang writes the resulting object file (`A.o`) to the current
working directory.
In sandboxed or hermetic test environments where the test runner
executes with a read-only working directory (e.g., Bazel, Nix, or remote
build executors), the test fails with:

```text
error: unable to open output file 'A.o': 'Permission denied'
1 error generated.
DeltaFile
+1-1clang/test/Driver/modules-driver-depscan-log.cpp
+1-11 files

LLVM/project 4383c7fbolt/lib/Target/AArch64 AArch64MCPlusBuilder.cpp

[BOLT][AArch64] Fix relocation type for `LDRSW` (#221939)

Fix the incorrect relocation type for `LDRSW`. It should be
`ELF::R_AARCH64_LDST32_ABS_LO12_NC`, but it was mistakenly set to
`ELF::R_AARCH64_LDST64_ABS_LO12_NC` in PR #196051.
DeltaFile
+1-1bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
+1-11 files

LLVM/project 1e2233cllvm/include/llvm/DebugInfo DIContext.h, llvm/lib/DebugInfo/DWARF DWARFDie.cpp

Print symbolic names for DW_AT_LLVM_address_space
DeltaFile
+60-0llvm/test/tools/llvm-dwarfdump/AMDGPU/DW_AT_LLVM_address_space.yaml
+23-8llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
+16-0llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
+1-0llvm/include/llvm/DebugInfo/DIContext.h
+100-84 files

LLVM/project 6bbc72dllvm/lib/DebugInfo/DWARF DWARFDie.cpp, llvm/tools/llvm-dwarfdump llvm-dwarfdump.cpp

Address review comments: avoid needless copies
DeltaFile
+6-5llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
+1-1llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp
+7-62 files

LLVM/project d7da49eclang/include/clang/Options ClangOptionDocs.td Options.td, clang/utils/TableGen ClangOptionDocEmitter.cpp

[clang][flang][docs] Re-land Markdown CLI ref generator (#222147)

Reverts llvm/llvm-project#221937
Relands llvm/llvm-project#220385

This time, the migration includes flang command line reference
documentation, so the change passes `ninja docs-flang-html/man`.

Tracking issue: #201242

Assisted-By: Codex
DeltaFile
+42-51clang/include/clang/Options/FlangOptions.td
+33-32clang/include/clang/Options/Options.td
+39-26clang/utils/TableGen/ClangOptionDocEmitter.cpp
+15-15flang/docs/CMakeLists.txt
+11-12flang/docs/FlangOptionsDocs.td
+8-11clang/include/clang/Options/ClangOptionDocs.td
+148-1472 files not shown
+161-1588 files

LLVM/project 086a2dcclang/test/CIR/CodeGenHIP amdgcnspirv-kernel.hip

fix: Check HIP SPIR-V version metadata after lowering
DeltaFile
+3-0clang/test/CIR/CodeGenHIP/amdgcnspirv-kernel.hip
+3-01 files

LLVM/project 1941996clang/lib/CIR/CodeGen CIRGenModule.cpp, clang/lib/CodeGen CodeGenModule.cpp

fix: Supply the HIP SPIR-V version only for metadata emission

Fix the assertion exposed by PR #214246 under the version invariant from PR #219687. Supply OpenCL 2.0 in classic CodeGen and CIRGen without changing HIP language options or enabling OpenCL-only Sema restrictions.

Assisted-by: Codex / GPT-6
DeltaFile
+8-0clang/test/CodeGenHIP/hipspv-kernel.cpp
+8-0clang/test/SemaHIP/atomic-init.hip
+4-2clang/lib/CIR/CodeGen/CIRGenModule.cpp
+3-1clang/lib/CodeGen/CodeGenModule.cpp
+2-0clang/test/CIR/CodeGenHIP/amdgcnspirv-kernel.hip
+25-35 files

LLVM/project 089b177clang/lib/CIR/Lowering/DirectToLLVM LowerToLLVMOpenCLMetadata.h LowerToLLVM.cpp, clang/test/CIR/CodeGenOpenCL version.cl

[CIR][OpenCL] Lower OpenCL language version metadata to LLVM dialect

Propagate CIR OpenCL language version module attributes as LLVM dialect named metadata before LLVM IR translation.

Assisted-by: Codex / GPT-5.6 Sol
DeltaFile
+43-0clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVMOpenCLMetadata.cpp
+16-0clang/test/CIR/CodeGenOpenCL/version.cl
+16-0clang/test/CIR/Lowering/opencl-version-metadata.cir
+2-0clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVMOpenCLMetadata.h
+2-0clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+79-05 files

LLVM/project 57a5123clang/lib/CIR/CodeGen CIRGenModule.h CIRGenModule.cpp, clang/test/CIR/CodeGenOpenCL version.cl

[CIR][OpenCL] Emit OpenCL language version metadata in CIR

Emit OpenCL and C++ for OpenCL language version attributes from CIRGen. Preserve the compatible OpenCL version and the C++ for OpenCL version separately so later lowering does not infer one from the other.

Assisted-by: Codex / GPT-5.6 Sol
DeltaFile
+15-0clang/test/CIR/CodeGenOpenCL/version.cl
+13-0clang/lib/CIR/CodeGen/CIRGenModule.cpp
+4-0clang/test/CodeGenCUDASPIRV/kernel-cc.cu
+1-0clang/lib/CIR/CodeGen/CIRGenModule.h
+33-04 files

LLVM/project 1a030e0clang/include/clang/CIR/Dialect/IR CIROpenCLAttrs.td

fix: Document the companion OpenCL version requirement
DeltaFile
+7-1clang/include/clang/CIR/Dialect/IR/CIROpenCLAttrs.td
+7-11 files

LLVM/project d1c0cc5llvm/lib/Target/AMDGPU AMDGPUReserveWWMRegs.cpp, llvm/test/CodeGen/AMDGPU sgpr-spill-update-only-slot-indexes.ll

[AMDGPU] Do not freeze reserved registers in AMDGPUReserveWWMRegs (#222193)

Refreshing the shared RegisterClassInfo needs an up-to-date reserved set, but
freezing it into MachineRegisterInfo, as #221849 did, publishes it too early:
clearing the per-lane VGPR mask unreserves those registers, and LiveIntervals
does not extend a reserved register's unit ranges to its uses, so those uses
fail verification.

Take the set from TargetRegisterInfo instead. It is the same set, and the
register allocator still freezes it into MachineRegisterInfo itself.

AI-assisted.
DeltaFile
+9-6llvm/lib/Target/AMDGPU/AMDGPUReserveWWMRegs.cpp
+1-1llvm/test/CodeGen/AMDGPU/sgpr-spill-update-only-slot-indexes.ll
+10-72 files

LLVM/project ea3f107clang/test/OpenMP target_num_teams_num_threads_attributes.cpp ompx_attributes_codegen.cpp, llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp

[OpenMP] Reserve the main thread's warp for generic mode kernels (#218790)

In generic mode one warp of the block runs the main thread and the rest
run the
user's threads, so everything needing the team size computes
`BlockSize - WarpSize`: the device runtime's `getMaxTeamThreads`, and
the state
machine OpenMPOpt builds. The bound written into the kernel was the
program's
`thread_limit` exactly, so on gfx90a `thread_limit(4)` launched a block
of 4
threads and the team size came out as `4 - 64`. That subtraction is
unsigned, so
the runtime saw four billion workers rather than none: the parallel
region never
ran, and on current trunk the launch dies with a memory access fault.
Any
`thread_limit` below one warp was affected, so anything under 64 on a
wave64

    [41 lines not shown]
DeltaFile
+14-14clang/test/OpenMP/amdgcn_target_device_vla.cpp
+28-0offload/test/offloading/thread_limit_below_wavefront.c
+9-9clang/test/OpenMP/ompx_attributes_codegen.cpp
+9-1clang/test/OpenMP/target_num_teams_num_threads_attributes.cpp
+8-0llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+4-2mlir/test/Target/LLVMIR/openmp-target-launch-device.mlir
+72-266 files not shown
+85-4012 files

LLVM/project 2177e84utils/bazel/llvm-project-overlay/libc BUILD.bazel libc_build_rules.bzl, utils/bazel/llvm-project-overlay/libc/startup/linux BUILD.bazel startup_rules.bzl

[libc][bazel] Add targets for startup objects

[libc][bazel] more startup object rules

[libc][bazel] Refactor internal_copts for libc_support_library
DeltaFile
+173-0utils/bazel/llvm-project-overlay/libc/startup/linux/startup_rules.bzl
+104-0utils/bazel/llvm-project-overlay/libc/startup/linux/BUILD.bazel
+47-0utils/bazel/llvm-project-overlay/libc/startup/linux/x86_64/BUILD.bazel
+41-2utils/bazel/llvm-project-overlay/libc/libc_build_rules.bzl
+1-0utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+366-25 files

LLVM/project a953c84llvm/lib/Target/RISCV RISCVInstrInfoP.td, llvm/test/MC/RISCV rv32p-valid.s rv32p-invalid.s

[RISCV][MC]Fix encoding for psati.dw/dh (#221889)

psati.dh: the width is specified by uimm4+1.
psati.dw: the width is specified by uimm5+1.

https://github.com/riscv/riscv-p-spec/blob/master/P-ext-proposal.adoc#psati-dh-rv32
DeltaFile
+8-6llvm/lib/Target/RISCV/RISCVInstrInfoP.td
+2-2llvm/test/MC/RISCV/rv32p-valid.s
+4-0llvm/test/MC/RISCV/rv32p-invalid.s
+14-83 files

FreeBSD/src 35c935brelease/tools vmimage.subr

vmimage.subr: Use makefs -N

By default, makefs uses the host environment's user and group databases
when creating filesystems.  This causes makefs to fail when trying to
create files owned by users or groups which don't exist in the host
environment, for example when creating a VM with packages pre-installed
which added their own users/groups.

Pass "-N ${DESTDIR}/etc" to makefs to point it at the user and group
databases from the image being created.

MFC after:      1 week
Sponsored by:   Amazon

(cherry picked from commit 7ca0c1eba2e4c49ac92499ef0f6adf27c8b930d4)
DeltaFile
+1-1release/tools/vmimage.subr
+1-11 files

FreeBSD/src a63319erelease/tools vmimage.subr

vmimage.subr: Use makefs -N

By default, makefs uses the host environment's user and group databases
when creating filesystems.  This causes makefs to fail when trying to
create files owned by users or groups which don't exist in the host
environment, for example when creating a VM with packages pre-installed
which added their own users/groups.

Pass "-N ${DESTDIR}/etc" to makefs to point it at the user and group
databases from the image being created.

MFC after:      1 week
Sponsored by:   Amazon

(cherry picked from commit 7ca0c1eba2e4c49ac92499ef0f6adf27c8b930d4)
DeltaFile
+1-1release/tools/vmimage.subr
+1-11 files

LLVM/project 9851e4futils/bazel/llvm-project-overlay/libc BUILD.bazel

[libc][bazel] Make a large swath of targets full-build compatible (#218993)

After this PR, all compatible targets in `@llvm-project//libc:all` are
buildable under full-build mode.

```
bazel build @llvm-project//libc:all --@llvm-project//libc:build_mode=full --config=generic_clang --keep_going
```

Assited-by: Gemini 3.5
DeltaFile
+1,295-49utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+1,295-491 files

LLVM/project bbd998fflang/test/Semantics data27.f90

[flang][test] Expand test for legacy DATA initializer on invalid declarations (#222171)

Follow-up to #221170. Expands `flang/test/Semantics/data27.f90` with the
other shapes that crashed the same way before that fix and now produce
the expected error

Assisted-by: AI
DeltaFile
+32-0flang/test/Semantics/data27.f90
+32-01 files

LLVM/project a5d612bclang-tools-extra Maintainers.md, clang-tools-extra/docs ReleaseNotes.md conf.py

[clang-tools-extra][docs] Use Furo theme

Adopt the shared Furo configuration for the clang-tools-extra documentation. Remove page-local TOCs mechanically with the included `utils/docs/remove_page_tocs.py` helper.

Clang Furo PR: https://github.com/llvm/llvm-project/pull/214869
RFC: https://discourse.llvm.org/t/rfc-use-furo-theme-for-clang-docs/91505/7
Preview: https://clangdocs.staging.reidkleckner.dev/after/clang-tools-extra/docs/
DeltaFile
+72-0utils/docs/remove_page_tocs.py
+21-0clang-tools-extra/docs/_static/clang-tools-extra-styles.css
+7-13clang-tools-extra/docs/conf.py
+0-4clang-tools-extra/docs/ReleaseNotes.md
+0-3clang-tools-extra/Maintainers.md
+0-2clang-tools-extra/docs/clang-tidy/index.rst
+100-224 files not shown
+100-3010 files

LLVM/project 5e28271mlir/include/mlir/Dialect/Func/IR FuncOps.td, mlir/lib/Dialect/Func/IR FuncOps.cpp

[MLIR][Func] Enable strict property assembly format (#217300)

Enable the strict properties assembly format mode for the Func dialect.
Spell inherent call attributes directly in the call formats so they are
no longer parsed from attr-dict in strict mode.

Assisted-by: Codex
DeltaFile
+19-0mlir/test/IR/core-ops.mlir
+16-0mlir/test/Transforms/canonicalize.mlir
+8-5mlir/lib/Dialect/Func/IR/FuncOps.cpp
+9-2mlir/include/mlir/Dialect/Func/IR/FuncOps.td
+2-2mlir/test/Dialect/Bufferization/Transforms/one-shot-module-bufferize.mlir
+1-1mlir/test/Transforms/inlining.mlir
+55-106 files

OpenBSD/src p3G0xZwsys/dev/acpi qciic.c qcgpio.c

   Add ACPI hardware IDS for Qualcom Glymur (X2) SoC.

   The HIDs map to to glymur device tree nodes as follows:
     QCOM0F0C: GIO0 -> tlmm: pinctrl at f100000
     QCOM0F10:
       I2C1 -> i2c0: i2c at b80000
       I2C5 -> i2c4: i2c at b90000
       I2C6 -> i2c5: i2c at b94000
       I2C9 -> i2c8: i2c at a80000
     QCOM0F8B: URS0 -> usb_0: usb at a600000
     QCOM0F8C: URS1 -> usb_1: usb at a800000
     QCOM0FED: URS2 -> usb_2: usb at a000000

   This gets USB, keyboard and touchpad working in ACPI mode
   on the HP Elitebook X G2q.

   ok kettenis@
VersionDeltaFile
1.15+8-2sys/dev/acpi/xhci_acpi.c
1.16+4-2sys/dev/acpi/qcgpio.c
1.9+2-1sys/dev/acpi/qciic.c
+14-53 files

LLVM/project 68622e0compiler-rt/test/fuzzer fork_corpus_groups.test fork.test

[Fuzzer] Bump rss_limit again. (#222187)

The two tests libFuzzer-x86-64-default-Linux::fork_corpus_groups.test
and libFuzzer-x86-64-default-Linux::fork.test have started being flaky
again on two of my bots, so bumping up the rss limit in the test which
temporarily solved the issue back in #204701.

See comment in #222187 for links to the bots and recent failures.
DeltaFile
+1-1compiler-rt/test/fuzzer/fork_corpus_groups.test
+1-1compiler-rt/test/fuzzer/fork.test
+2-22 files

LLVM/project b8c3332llvm/test/CodeGen/AMDGPU sdwa-ops.mir

[AMDGPU] Compact virtual register numbers in sdwa-ops.mir (NFC)

Renumber vregs in appearance order.
DeltaFile
+124-121llvm/test/CodeGen/AMDGPU/sdwa-ops.mir
+124-1211 files

LLVM/project 58d0cb5mlir/include/mlir/Dialect/EmitC/IR EmitC.td, mlir/test/Dialect/EmitC invalid_ops.mlir ops.mlir

[MLIR][EmitC] Enable strict property assembly format (#217271)

Enable strict property assembly format mode for the EmitC dialect. Spell
call metadata directly in the affected declarative assembly formats and
drop unneeded property dictionaries from formats that already cover
their inherent attributes.

Refresh EmitC tests and related C++ target checks so call properties use
direct syntax while ordinary attributes remain in attr-dict.

Assisted-by: Codex
DeltaFile
+40-23mlir/test/Dialect/EmitC/ops.mlir
+29-29mlir/test/Target/Cpp/switch.mlir
+24-20mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
+19-19mlir/test/Target/Cpp/expressions.mlir
+18-18mlir/test/Dialect/EmitC/invalid_ops.mlir
+16-16mlir/test/Target/Cpp/const.mlir
+146-12517 files not shown
+242-22023 files

LLVM/project caaf9bflibcxx/utils generate_feature_test_macro_components.py

[libc++][docs] Apply Python formatting
DeltaFile
+3-1libcxx/utils/generate_feature_test_macro_components.py
+3-11 files

LLVM/project 1462d6flibcxx/include/__optional optional_ref.h optional.h

[libc++][NFC] Remove `optional::__get` (#217218)

Internal communicating functions `optional::__get` can be superseded by
either `value`, `operator*()`, or direct use of data member. Even though
`value()` is checked, checks are already performed before internal calls
to it, so compilers should be able to remove duplicated checks.

It is intended to use `opt.value()` instead of `*opt` to avoid undesired
argument-dependent lookup.
DeltaFile
+44-48libcxx/include/__optional/optional.h
+5-7libcxx/include/__optional/optional_ref.h
+49-552 files

LLVM/project 50e5f59openmp/docs SupportAndFAQ.md README.txt, openmp/docs/design Runtimes.md

[OpenMP][docs] Finish MyST migration for OpenMP docs
DeltaFile
+64-224openmp/docs/design/Runtimes.md
+91-112openmp/docs/CommandLineArgumentReference.md
+31-33openmp/docs/remarks/OptimizationRemarks.md
+27-28openmp/docs/index.md
+9-9openmp/docs/README.txt
+6-7openmp/docs/SupportAndFAQ.md
+228-41313 files not shown
+258-45219 files

LLVM/project a92353dopenmp/docs index.md SupportAndFAQ.md, openmp/docs/design Runtimes.md

[OpenMP][docs] Convert reStructuredText files with rst2myst
DeltaFile
+920-835openmp/docs/design/Runtimes.md
+207-138openmp/docs/CommandLineArgumentReference.md
+153-174openmp/docs/SupportAndFAQ.md
+103-107openmp/docs/index.md
+83-92openmp/docs/openacc/OpenMPExtensions.md
+54-56openmp/docs/remarks/OMP112.md
+1,520-1,40228 files not shown
+2,118-2,04634 files

LLVM/project c6b2c62openmp/docs CommandLineArgumentReference.rst CommandLineArgumentReference.md, openmp/docs/design Runtimes.rst Runtimes.md

[OpenMP][docs] Rename reStructuredText files to Markdown
DeltaFile
+0-1,680openmp/docs/design/Runtimes.rst
+1,680-0openmp/docs/design/Runtimes.md
+0-332openmp/docs/SupportAndFAQ.rst
+332-0openmp/docs/SupportAndFAQ.md
+0-186openmp/docs/CommandLineArgumentReference.rst
+186-0openmp/docs/CommandLineArgumentReference.md
+2,198-2,19862 files not shown
+3,838-3,83868 files