LLVM/project 439d42fclang/test/CIR/CodeGen cleanup-scope-goto-out.cpp, clang/test/CodeGen builtins-nvptx-mma.cu

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.6-beta.1

[skip ci]
DeltaFile
+3,706-328llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
+344-258llvm/test/CodeGen/AMDGPU/llvm.amdgcn.kill.ll
+284-284clang/test/CodeGen/builtins-nvptx-mma.cu
+246-112llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-store-s16-true16.mir
+356-0clang/test/CIR/CodeGen/cleanup-scope-goto-out.cpp
+318-0llvm/lib/Transforms/IPO/Instrumentor.cpp
+5,254-982543 files not shown
+9,367-2,635549 files

LLVM/project 7022d6dclang/test/CIR/CodeGen cleanup-scope-goto-out.cpp, clang/test/CodeGen builtins-nvptx-mma.cu

[𝘀𝗽𝗿] initial version

Created using spr 1.3.6-beta.1
DeltaFile
+3,706-328llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
+395-389llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
+344-258llvm/test/CodeGen/AMDGPU/llvm.amdgcn.kill.ll
+284-284clang/test/CodeGen/builtins-nvptx-mma.cu
+246-112llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-store-s16-true16.mir
+356-0clang/test/CIR/CodeGen/cleanup-scope-goto-out.cpp
+5,331-1,371573 files not shown
+9,970-3,154579 files

LLVM/project 6c1381eclang/test/CIR/CodeGen cleanup-scope-goto-out.cpp, clang/test/CodeGen builtins-nvptx-mma.cu

[𝘀𝗽𝗿] initial version

Created using spr 1.3.6-beta.1
DeltaFile
+3,706-328llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
+344-258llvm/test/CodeGen/AMDGPU/llvm.amdgcn.kill.ll
+284-284clang/test/CodeGen/builtins-nvptx-mma.cu
+246-112llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-store-s16-true16.mir
+356-0clang/test/CIR/CodeGen/cleanup-scope-goto-out.cpp
+318-0llvm/lib/Transforms/IPO/Instrumentor.cpp
+5,254-982544 files not shown
+9,367-2,637550 files

LLVM/project fda2694clang/test/CIR/CodeGen cleanup-scope-goto-out.cpp, clang/test/CodeGen builtins-nvptx-mma.cu

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.6-beta.1

[skip ci]
DeltaFile
+3,706-328llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-local.mir
+344-258llvm/test/CodeGen/AMDGPU/llvm.amdgcn.kill.ll
+284-284clang/test/CodeGen/builtins-nvptx-mma.cu
+246-112llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load-store-s16-true16.mir
+356-0clang/test/CIR/CodeGen/cleanup-scope-goto-out.cpp
+318-0llvm/lib/Transforms/IPO/Instrumentor.cpp
+5,254-982543 files not shown
+9,367-2,635549 files

FreeBSD/ports ea82850math/4ti2 distinfo Makefile

math/4ti2: update 1_6_13 → 1.6.15
DeltaFile
+3-3math/4ti2/distinfo
+3-2math/4ti2/Makefile
+6-52 files

FreeBSD/src 635743cshare/man/man7 freebsd-base.7

freebsd-base.7: Document adding a local repo

MFC after:              1 day
Discussed with:         bcr, ivy, kevans, ngie
Differential Revision:  https://reviews.freebsd.org/D56608

(cherry picked from commit c4af3f13a4e9932968d92872aaf22312a6e79e4e)
DeltaFile
+22-1share/man/man7/freebsd-base.7
+22-11 files

LLVM/project 8095cbaflang/test/Integration/OpenMP map-types-and-sizes.f90, mlir/lib/Target/LLVMIR/Dialect/OpenMP OpenMPToLLVMIRTranslation.cpp

[OpenMP][MLIR] Modify OpenMP Dialect lowering to support attach mapping (#179023)

This PR adjusts the LLVM-IR lowering to support the new attach map type
that the runtime uses to link data and pointer together, this swaps the
mapping from the older OMP_MAP_PTR_AND_OBJ map type in most cases and
allows slightly more complicated ref_ptr/ptee and attach semantics.
DeltaFile
+378-281mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+273-0mlir/test/Target/LLVMIR/omptarget-host-ref-semantics.mlir
+101-165flang/test/Integration/OpenMP/map-types-and-sizes.f90
+27-58mlir/test/Target/LLVMIR/omptarget-record-type-with-ptr-member-host.mlir
+70-0offload/test/offloading/fortran/map_attach_always.f90
+55-0offload/test/offloading/fortran/map_attach_never.f90
+904-50415 files not shown
+1,077-59821 files

FreeBSD/ports 48b74femisc/github-copilot-cli pkg-plist distinfo, misc/github-copilot-cli/files package-lock.json

misc/github-copilot-cli: update 1.0.44 → 1.0.48
DeltaFile
+28-28misc/github-copilot-cli/files/package-lock.json
+0-9misc/github-copilot-cli/pkg-plist
+3-3misc/github-copilot-cli/distinfo
+1-1misc/github-copilot-cli/Makefile
+32-414 files

LLVM/project 646edb0clang-tools-extra/clang-tidy/bugprone NotNullTerminatedResultCheck.cpp, clang-tools-extra/modularize Modularize.cpp

[clang][NFC] Remove `macro_begin` and `macro_end` from `Preprocessor` (#197817)

Use `macros()` wherever posible. This gives us the following advantages:

1. We can use the range-base for loop for simpler looking code.
2. We more ergonomically use algorithms.
3. We can avoid the duplicate work of checking if we need to call
`ExternalSource->ReadDefinedMacros()` that was in both `macro_begin` and
`macro_end`. In some cases, we save this extra work once per loop
iteration, not just one extra total.
4. No user confusion deciding which version they should call
5. Reduce the size of `Preprocessor.h` and the number of members in
`Preprocessor`.

Using `macros` ends up being the better solution in every case, so since
all callers were migrated from `macro_begin` and `macro_end` to
`macros`, get rid of `macro_begin` and `macro_end`.

---------

Co-authored-by: Victor Chernyakin <chernyakin.victor.j at outlook.com>
DeltaFile
+17-26clang-tools-extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp
+7-20clang/lib/Lex/Preprocessor.cpp
+9-14lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
+6-10clang/lib/Sema/SemaCodeComplete.cpp
+1-8clang/include/clang/Lex/Preprocessor.h
+3-5clang-tools-extra/modularize/Modularize.cpp
+43-832 files not shown
+50-908 files

FreeBSD/ports bb1b30etextproc/libfyaml pkg-plist distinfo

textproc/libfyaml: update 0.9.3 → 0.9.6
DeltaFile
+16-0textproc/libfyaml/pkg-plist
+3-3textproc/libfyaml/distinfo
+1-1textproc/libfyaml/Makefile
+20-43 files

FreeBSD/ports 5f0adfadevel/nextest distinfo Makefile

devel/nextest: update 0.9.133 → 0.9.134
DeltaFile
+141-49devel/nextest/distinfo
+71-25devel/nextest/Makefile
+212-742 files

FreeBSD/ports 7abd4fbdevel/py-ruff distinfo Makefile, devel/ruff distinfo Makefile.crates

devel/{,py-}ruff: update 0.15.12 → 0.15.13
DeltaFile
+35-33devel/ruff/distinfo
+35-33devel/py-ruff/distinfo
+17-16devel/py-ruff/Makefile
+16-15devel/ruff/Makefile.crates
+1-1devel/ruff/Makefile
+104-985 files

FreeBSD/ports e656573devel/mrc distinfo Makefile, devel/mrc/files patch-src_mrc.cpp

devel/mrc: update 1.3.16 → 1.3.17
DeltaFile
+0-12devel/mrc/files/patch-src_mrc.cpp
+3-3devel/mrc/distinfo
+1-2devel/mrc/Makefile
+4-173 files

LLVM/project b2e29falldb/source/Plugins/SymbolFile/DWARF DWARFASTParserClang.cpp

[lldb][Clang] Removed redundant code in DWARFASTParserClang (#197802)

decl_up is initialized here but doesn't appear to be used or moved
anywhere before it goes out of scope. If the Declaration info isn't
needed for the FunctionSP, it should probably be removed.
DeltaFile
+0-5lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
+0-51 files

LLVM/project 545f162clang/docs ReleaseNotes.rst, clang/lib/AST ExprConstant.cpp

[clang] Implement constexpr DesignatedInitUpdateExpr. (#196427)

DesignatedInitUpdateExpr exists to handle some obscure edge cases in C,
where the usual InitListExpr canonicalization can't be performed.
Previously, we didn't need constant evaluation for this, but C23
constexpr means we need to evaluate this before codegen.

Implementation is mostly straightforward: just need to evaluate the two
subexpressions, in order, and skip any NoInitExprs.

Along the way, I ran into an issue with the way we manage array APValues
for non-bytecode constant evaluation; fix reallocation to work
correctly.

Fixes #193373.  Fixes #196450.
DeltaFile
+51-15clang/lib/AST/ExprConstant.cpp
+21-1clang/lib/AST/ByteCode/Compiler.cpp
+14-0clang/test/Sema/constexpr.c
+10-0clang/test/SemaCXX/cxx2c-constexpr-placement-new.cpp
+2-0clang/docs/ReleaseNotes.rst
+1-0clang/lib/AST/ByteCode/Compiler.h
+99-166 files

FreeBSD/src 074c42a. RELNOTES

RELNOTES: Add an entry for commit b92b9da33006
DeltaFile
+5-0RELNOTES
+5-01 files

LLVM/project cc01725flang/lib/Lower/OpenMP ClauseProcessor.cpp, flang/test/Lower/OpenMP attach-and-ref-modifier.f90

Revert "[Flang][OpenMP][MLIR] Add attach and ref map type lowering to MLIR" (#197834)

Reverts llvm/llvm-project#177301
DeltaFile
+0-107flang/test/Lower/OpenMP/attach-and-ref-modifier.f90
+2-29flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+9-0flang/test/Lower/OpenMP/Todo/attach-modifier.f90
+11-1363 files

LLVM/project 69e80c2flang/lib/Optimizer/OpenMP MapInfoFinalization.cpp, flang/lib/Utils OpenMP.cpp

Revert "[Flang][MLIR][OpenMP] Add distinct var_ptr_ptr_type to omp.map.info operations & remove ref_ptr_ptee" (#197835)

Reverts llvm/llvm-project#177302
DeltaFile
+16-25flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp
+10-20mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+11-18flang/lib/Utils/OpenMP.cpp
+14-14flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
+10-17mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+11-11flang/test/Transforms/omp-map-info-finalization.fir
+72-10541 files not shown
+169-21847 files

LLVM/project 385a0fbflang/lib/Optimizer/OpenMP MapInfoFinalization.cpp, flang/lib/Utils OpenMP.cpp

Revert "[Flang][MLIR][OpenMP] Add distinct var_ptr_ptr_type to omp.map.info o…"

This reverts commit 1d20496a0c3df336803ae53f28d4c232dafca46f.
DeltaFile
+16-25flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp
+10-20mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+11-18flang/lib/Utils/OpenMP.cpp
+14-14flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
+10-17mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+11-11flang/test/Transforms/omp-map-info-finalization.fir
+72-10541 files not shown
+169-21847 files

LLVM/project db66910flang/lib/Lower/OpenMP ClauseProcessor.cpp, flang/test/Lower/OpenMP attach-and-ref-modifier.f90

Revert "[Flang][OpenMP][MLIR] Add attach and ref map type lowering to MLIR (#…"

This reverts commit d6dbe444fb457fba9ad7b4cfee3081643581f4b3.
DeltaFile
+0-107flang/test/Lower/OpenMP/attach-and-ref-modifier.f90
+2-29flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+9-0flang/test/Lower/OpenMP/Todo/attach-modifier.f90
+11-1363 files

LLVM/project 1d20496flang/lib/Optimizer/OpenMP MapInfoFinalization.cpp, flang/lib/Utils OpenMP.cpp

[Flang][MLIR][OpenMP] Add distinct var_ptr_ptr_type to omp.map.info operations & remove ref_ptr_ptee (#177302)

This is a precursor patch to attach and ref_ptr/ptee mapping that I
intend to upstream
over the next few weeks. The attach maps require both the type of the
descriptor and
the pointed to data to calculate the appropriate offload/base pointers
and size. In
the base case of ref_ptr_ptee all of this information can be gathered
from the pointer
and pointee maps, but in cases where we have only one (i.e.
ref_ptr/ref_ptee) we will
be missing one of the key elements required to create an corresponding
attach map.

So, this PR basically adds the ability to ferry around the type of both
var_ptr and
var_ptr_ptr as opposed to just var_ptr, then we can emit attach maps as
seperate

    [8 lines not shown]
DeltaFile
+25-16flang/lib/Optimizer/OpenMP/MapInfoFinalization.cpp
+20-10mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+18-11flang/lib/Utils/OpenMP.cpp
+14-14flang/test/Fir/convert-to-llvm-openmp-and-fir.fir
+17-10mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
+11-11flang/test/Transforms/omp-map-info-finalization.fir
+105-7241 files not shown
+218-16947 files

LLVM/project d6dbe44flang/lib/Lower/OpenMP ClauseProcessor.cpp, flang/test/Lower/OpenMP attach-and-ref-modifier.f90

[Flang][OpenMP][MLIR] Add attach and ref map type lowering to MLIR (#177301)

This doesn't implement the functionality, just the relevant map type
lowering to MLIR's omp.map.info. The more complicated changes to
MapInfoFinalizationPass.cpp and OpenMPTOLLVMIRTranslation.cpp to support
attach map and the various ref/attach semantics will come in a
subsequent set of PRs. This just helps compartmentalize the changeset.
DeltaFile
+107-0flang/test/Lower/OpenMP/attach-and-ref-modifier.f90
+29-2flang/lib/Lower/OpenMP/ClauseProcessor.cpp
+0-9flang/test/Lower/OpenMP/Todo/attach-modifier.f90
+136-113 files

LLVM/project ca6e386llvm/include/llvm/MC DXContainerInfo.h, llvm/lib/MC DXContainerInfo.cpp

Reland "[DirectX][ObjectYAML] Add ILDN part support" (#197749)

This relands #194508, which was reverted in #197348.

This reland addresses the revert reasons:
- Rename `DXContainerYAML::DebugName::DebugName` to `Filename` to avoid
compilation failures on older `cl.exe` versions due to field name
matching
  its class name.
- Fix layering by reverting the MC -> Object dependency introduced
previously:
`ILDNData` is no longer defined in `llvm/Object/DXContainer.h` and used
  by MC. Instead, ILDN fields are represented by `mcdxbc::DebugName` in
  `llvm/MC/DXContainerInfo.h`, and Object uses that type (Object already
  depends on MC).
DeltaFile
+64-0llvm/test/tools/obj2yaml/DXContainer/ILDNPart.yaml
+46-2llvm/lib/Object/DXContainer.cpp
+41-0llvm/lib/MC/DXContainerInfo.cpp
+37-0llvm/unittests/Object/DXContainerTest.cpp
+35-0llvm/include/llvm/MC/DXContainerInfo.h
+33-0llvm/unittests/ObjectYAML/DXContainerYAMLTest.cpp
+256-211 files not shown
+400-217 files

LLVM/project 8c317a1clang-tools-extra/clang-tidy/bugprone NotNullTerminatedResultCheck.cpp

Update clang-tools-extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp

Co-authored-by: Victor Chernyakin <chernyakin.victor.j at outlook.com>
DeltaFile
+1-1clang-tools-extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp
+1-11 files

LLVM/project 57fcde7clang/include/clang/Options Options.td, clang/lib/Driver/ToolChains Clang.cpp

[AArch64] Make width of stack protector guard value load configurable. (#195379)

Certain embedded targets store the value of the stack protector global
in an MMIO register, which requires a load of a specific width. Allow
changing the backend to emit a 4-byte load for the value of the stack
protector, instead of an 8-byte load. (Or vice versa for an ilp32
target.)

The current version of the patch has a limitation: it still allocates a
pointer-sized stack slot for the guard. This could be fixed in the
future, if it becomes relevant.
DeltaFile
+44-0llvm/test/CodeGen/AArch64/stack-guard-width.ll
+19-0clang/lib/Driver/ToolChains/Clang.cpp
+14-3llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+12-0llvm/lib/IR/Module.cpp
+9-0clang/include/clang/Options/Options.td
+5-0clang/test/CodeGen/stack-protector-guard.c
+103-33 files not shown
+113-39 files

FreeBSD/src 1ae97c9release/tools ec2-small.conf basic-cloudinit.conf

Cloud releases: More firstboot_pkg_upgrade

Update a couple more cloudware images which I forgot about earlier.

Reviewed by:    ziaee
Fixes: 464a351267dc ("Cloud releases: Switch to firstboot_pkg_upgrade")
Differential Revision:  https://reviews.freebsd.org/D57006

(cherry picked from commit 4080419d9a2d88d44d20baaf3ea01934561819c1)
DeltaFile
+6-3release/tools/ec2-small.conf
+4-3release/tools/basic-cloudinit.conf
+10-62 files

FreeBSD/src 0bb2b2arelease/tools ec2-base.conf azure.conf

Cloud releases: Switch to firstboot_pkg_upgrade

Cloud images are deployed with base system packages. Introduce a
firstboot package auto updater to patch the base system on first boot.

MFC after:              1 hour
MFC to:                 stable/15
Reviewed by:            cperciva
Sponsored by:           Google Cloud
Differential Revision:  https://reviews.freebsd.org/D56890

(cherry picked from commit 464a351267dc0d1843b919dd72ad1c70c24815ce)
DeltaFile
+6-3release/tools/ec2-base.conf
+3-2release/tools/azure.conf
+3-2release/tools/gce.conf
+12-73 files

LLVM/project d89d4b2lldb/test/API/functionalities/data-formatter/bytecode-summary main.cpp TestBytecodeSummary.py, lldb/test/API/functionalities/data-formatter/bytecode-synthetic main.cpp TestBytecodeSynthetic.py

[lldb][bytecode] Remove @skipUnlessDarwin on tests (#197808)
DeltaFile
+10-2lldb/test/API/functionalities/data-formatter/bytecode-summary/main.cpp
+10-2lldb/test/API/functionalities/data-formatter/bytecode-synthetic/main.cpp
+0-2lldb/test/API/functionalities/data-formatter/bytecode-synthetic/TestBytecodeSynthetic.py
+0-1lldb/test/API/functionalities/data-formatter/bytecode-summary/TestBytecodeSummary.py
+20-74 files

LLVM/project 7498075lldb/source/Plugins/LanguageRuntime/ObjC ObjCLanguageRuntime.h

[lldb] Use identity hashing for HashToISAMap in ObjCLanguageRuntime (#197759)

The keys of HashToISAMap are already hashes, and can be used as-is.

---------

Co-authored-by: Adrian Prantl <adrian.prantl at gmail.com>
DeltaFile
+13-1lldb/source/Plugins/LanguageRuntime/ObjC/ObjCLanguageRuntime.h
+13-11 files

FreeBSD/src b92b9dasys/fs/nfs nfsproto.h, sys/fs/nfsserver nfs_nfsdport.c

nfsd: Allow vfs.nfsd.srvmaxio to be up to 4Mbytes

Without this patch, the maximum setting for
vfs.nfsd.srvmaxio was 1Mbyte.  This patch increases
that to 4Mbytes.

The same as for any setting above 128Kbytes, settings up to
4Mbytes require that kern.ipc.maxsockbuf be increased.
(A message generated after setting vfs.nfsd.srvmaxio via
the /etc/rc.conf variable nfs_server_maxio will indicate
the minimum setting, which will be somewhat greater than
four times the setting of vfs.nfsd.srvmaxio.)

Requested by:   Cedric Blancher <cedric.blancher at gmail.com>
MFC after:      2 weeks
Fixes:  13d3bd165e22 ("subr_uio.c: Remove a KASSERT() for large NFS server I/O")
DeltaFile
+3-2sys/fs/nfsserver/nfs_nfsdport.c
+3-0sys/fs/nfs/nfsproto.h
+6-22 files