LLVM/project f4e1a51bolt/lib/Core BinaryContext.cpp DIEBuilder.cpp, bolt/lib/Rewrite LinuxKernelRewriter.cpp DWARFRewriter.cpp

[bolt] Remove unused argument of DataExtractor constructor (NFC) (#191841)

`AddressSize` parameter is not used by `DataExtractor` and will be
removed in the future. See #190519 for more context.

I took the liberty of switching from using the `StringRef` constructor
overload to `ArrayRef` where appropriate.
DeltaFile
+26-34bolt/lib/Rewrite/LinuxKernelRewriter.cpp
+3-6bolt/lib/Core/BinaryContext.cpp
+2-6bolt/lib/Core/DIEBuilder.cpp
+2-5bolt/lib/Rewrite/DWARFRewriter.cpp
+2-4bolt/lib/Rewrite/RewriteInstance.cpp
+2-4bolt/lib/Core/DebugNames.cpp
+37-596 files not shown
+43-6812 files

LLVM/project 3a5555dclang/lib/CIR/CodeGen CIRGenBuiltinAMDGPU.cpp, clang/test/CIR/CodeGenHIP builtins-amdgcn-logb-scalbn.hip

[CIR][AMDGPU] Fix FltSemantics, naming convention, and CIR APIs
DeltaFile
+52-61clang/lib/CIR/CodeGen/CIRGenBuiltinAMDGPU.cpp
+12-0clang/test/CIR/CodeGenHIP/builtins-amdgcn-logb-scalbn.hip
+64-612 files

LLVM/project 8619a5eflang/lib/Lower/OpenMP OpenMP.cpp, flang/test/Lower/OpenMP declare-target-named-main-interface.f90 real10.f90

[flang][OpenMP] Avoid marking named main programs as declare target (#190250)

A bare `!$omp declare target` could incorrectly mark `_QQmain` as
`omp.declare_target` when it appeared in an interface body inside a
named
main program. That pulled host-only callees into device compilation and
caused offload link failures.

Fix this by skipping main programs in the implicit-capture path.
Also add a regression test for the named-main interface case and update
`real10.f90` to use a valid container for the bare `declare target`
form.

This fixes offload link failures where `_QQmain` was incorrectly treated
as
a device function and pulled in host-only symbols such as Fortran I/O
runtime calls.

Minimal reproducer:

    [13 lines not shown]
DeltaFile
+32-0flang/test/Lower/OpenMP/declare-target-named-main-interface.f90
+6-3flang/lib/Lower/OpenMP/OpenMP.cpp
+3-3flang/test/Lower/OpenMP/real10.f90
+41-63 files

LLVM/project 93a6725clang/lib/Driver/ToolChains FreeBSD.h, clang/test/Driver instrprof-ld.c sanitizer-ld.c

[ToolChains][FreeBSD] Set default Linker to LLD for FreeBSD (#190596)

When the linker is specified as ld, toolchain applies special handling
by invoking (triple)-ld instead of resolving ld via standard PATH
lookup. This causes GNU ld installed via the system package manager to
take the precedence (since (triple)-ld appears earlier in the search
path), effectively overriding ld.lld.

As a result, we set the default Linker on FreeBSD to ld.lld to indicate
we want to use lld by default.
DeltaFile
+2-2clang/test/Driver/instrprof-ld.c
+4-0clang/lib/Driver/ToolChains/FreeBSD.h
+2-2clang/test/Driver/sanitizer-ld.c
+1-1clang/test/Driver/coverage-ld.c
+9-54 files

LLVM/project f11b437clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

fix undefined void ty
DeltaFile
+1-0clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+1-01 files

LLVM/project 525dd8cclang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

unreachable on RDC compilation
DeltaFile
+2-1clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+2-11 files

LLVM/project 5d46d7fclang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp, clang/test/CIR/CodeGenCUDA device-stub.cu

[CIR][CUDA] Handle CUDA module constructor and destructor emission.
DeltaFile
+121-2clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+41-0clang/test/CIR/CodeGenCUDA/device-stub.cu
+162-22 files

LLVM/project 562f89bclang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

Use vfs from ast context to get gpubinary
DeltaFile
+0-1clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+0-11 files

LLVM/project 13baf13clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

fix fmt
DeltaFile
+1-0clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+1-01 files

LLVM/project 5f7f992clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

Fix missing include for memoryBuffer on linux ci
DeltaFile
+1-0clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+1-01 files

LLVM/project d3c1e6cclang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

fix twine crashes
DeltaFile
+5-6clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+5-61 files

LLVM/project 7b45b6eclang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

Avoid copies from `std::string`
DeltaFile
+7-5clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+7-51 files

FreeBSD/src 43d6327sys/x86/include cputypes.h

x86: Mark LOCORE to prevent build failure on i386 platform

PR:     294468
Reported by:    dan.kotowski at a9development.com
Tested by:      dan.kotowski at a9development.com
Discussed with: kib
Fixes:  9289df1949cd ("x86: Add zen identifier helper function")
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D56377
DeltaFile
+2-0sys/x86/include/cputypes.h
+2-01 files

LLVM/project c2624b5llvm/lib/CodeGen InsertCodePrefetch.cpp

[NFC] Use stable_sort to fix the basic-block-sections-code-prefetch.l test. (#191941)

This fixes https://lab.llvm.org/buildbot/#/builders/187/builds/18954.
DeltaFile
+1-1llvm/lib/CodeGen/InsertCodePrefetch.cpp
+1-11 files

LLVM/project 27be242clang/lib/CIR/CodeGen CIRGenBuiltinAMDGPU.cpp, clang/test/CIR/CodeGenHIP builtins-amdgcn-logb-scalbn.hip

[CIR][AMDGPU] Adds amdgcn logb and scalebn builtins
DeltaFile
+89-10clang/lib/CIR/CodeGen/CIRGenBuiltinAMDGPU.cpp
+42-0clang/test/CIR/CodeGenHIP/builtins-amdgcn-logb-scalbn.hip
+131-102 files

LLVM/project fafd0ccbolt/lib/Profile DataAggregator.cpp, llvm/test/tools/llvm-profgen filter-build-id.test

rebase+format

Created using spr 1.3.4
DeltaFile
+54-99llvm/tools/llvm-profgen/PerfReader.cpp
+12-47llvm/tools/llvm-profgen/ProfiledBinary.cpp
+0-33llvm/test/tools/llvm-profgen/filter-build-id.test
+0-25llvm/tools/llvm-profgen/ProfiledBinary.h
+6-17bolt/lib/Profile/DataAggregator.cpp
+3-13llvm/tools/llvm-profgen/PerfReader.h
+75-2343 files not shown
+77-2529 files

LLVM/project 1139cbdbolt/lib/Profile DataAggregator.cpp, llvm/test/tools/llvm-profgen filter-build-id.test

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.4

[skip ci]
DeltaFile
+50-94llvm/tools/llvm-profgen/PerfReader.cpp
+12-47llvm/tools/llvm-profgen/ProfiledBinary.cpp
+0-33llvm/test/tools/llvm-profgen/filter-build-id.test
+0-25llvm/tools/llvm-profgen/ProfiledBinary.h
+6-17bolt/lib/Profile/DataAggregator.cpp
+3-13llvm/tools/llvm-profgen/PerfReader.h
+71-2292 files not shown
+71-2458 files

FreeBSD/ports 1691685textproc/apache-solr Makefile, textproc/apache-solr/files patch-bin_solr solr.in

textproc/apache-solr: start by default in standalone mode

Use a more failure proof usage of sockstat to detect in startup script
if solr is already running.
DeltaFile
+87-15textproc/apache-solr/files/patch-bin_solr
+6-1textproc/apache-solr/files/solr.in
+1-0textproc/apache-solr/Makefile
+94-163 files

LLVM/project f2a71caclang/test/OpenMP split_driver_smoke.c

[clang][OpenMP][test] Use -fopenmp=libomp explicitly in driver smoke test (#191936)

Using -fopenmp uses the default openmp lib, which defaults to libomp but
may be something else. This test only passes with libomp, so it passes
when using default, but fails downstream if configured for something
else, like libgomp.
DeltaFile
+1-1clang/test/OpenMP/split_driver_smoke.c
+1-11 files

LLVM/project 92dde79clang/lib/CIR/CodeGen CIRGenModule.cpp CIRGenModule.h, clang/test/CIR/CodeGen keep-persistent-storage-variables.cpp attr-retain.c

[CIR] Add addLLVMUsed and addLLVMCompilerUsed methods to CIRGenModule (#188189)

Upstreaming clangIR PR: https://github.com/llvm/clangir/pull/2092

This PR adds support for emitting llvm.used and llvm.compiler.used
global arrays in CIR.

Added addUsedGlobal() and addCompilerUsedGlobal() methods to
CIRGenModule
Adds __hip_cuid_* to llvm.compiler.used for HIP compilation.
Followed OGCG implementation in clang/lib/CodeGen/CodeGenModule.cpp
DeltaFile
+97-2clang/lib/CIR/CodeGen/CIRGenModule.cpp
+26-0clang/test/CIR/CodeGenHIP/hip-cuid.hip
+20-0clang/test/CIR/CodeGen/keep-persistent-storage-variables.cpp
+19-0clang/lib/CIR/CodeGen/CIRGenModule.h
+18-0clang/test/CIR/CodeGen/attr-retain.c
+14-0clang/test/CIR/CodeGen/attr-used.c
+194-21 files not shown
+205-27 files

OpenBSD/ports sxtnodZsecurity/vaultwarden distinfo Makefile

   Update to vaultwarden-1.35.7

   Changes: https://github.com/dani-garcia/vaultwarden/releases/tag/1.35.7
VersionDeltaFile
1.35+2-2security/vaultwarden/distinfo
1.55+1-1security/vaultwarden/Makefile
+3-32 files

LLVM/project 42ce5c1utils/bazel/llvm-project-overlay/mlir/test/Bytecode BUILD.bazel

[bazel] Restore MLIR bytecode tests. (#191938)

These seemed to have gotten removed here.
DeltaFile
+18-0utils/bazel/llvm-project-overlay/mlir/test/Bytecode/BUILD.bazel
+18-01 files

LLVM/project 36f2505clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

fix undefined void ty
DeltaFile
+1-0clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+1-01 files

LLVM/project aa744fdclang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

unreachable on RDC compilation
DeltaFile
+2-1clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+2-11 files

LLVM/project dda778aclang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp, clang/test/CIR/CodeGenCUDA device-stub.cu

[CIR][CUDA] Handle CUDA module constructor and destructor emission.
DeltaFile
+122-2clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+41-0clang/test/CIR/CodeGenCUDA/device-stub.cu
+163-22 files

LLVM/project 4ec77d8clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

remove unused var
DeltaFile
+0-1clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+0-11 files

LLVM/project 502a948clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

Use vfs from ast context to get gpubinary
DeltaFile
+5-2clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+5-21 files

LLVM/project 289c766clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

Fix missing include for memoryBuffer on linux ci
DeltaFile
+1-0clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+1-01 files

LLVM/project 25969b9clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

fix twine crashes
DeltaFile
+5-6clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+5-61 files

LLVM/project 3d70939clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp, clang/test/CIR/CodeGenCUDA device-stub.cu kernel-stub-name.cu

Fix conflicts and add section to fatbin globals
DeltaFile
+9-1clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+3-4clang/test/CIR/CodeGenCUDA/device-stub.cu
+3-3clang/test/CIR/CodeGenCUDA/kernel-stub-name.cu
+2-2clang/test/CIR/CodeGenCUDA/kernel-call.cu
+1-1clang/test/CIR/CodeGenHIP/simple.cpp
+18-115 files