LLVM/project 083f9c1llvm/lib/CodeGen/GlobalISel LegalizerHelper.cpp, llvm/lib/Target/AArch64/GISel AArch64LegalizerInfo.cpp

[AArch64][GISel] Widen non-power2 element sizes for ctlz. (#189371)

This addresses an illegal mutation kind, where gisel would hit an
assert. It expands vector elements for non-power2 elements or elements
less that i8 to a power of 2.

A fix to handle vector types correctly was needed in LegalizerHandler.

Fixes #185411
DeltaFile
+13-0llvm/test/CodeGen/AArch64/ctlz.ll
+4-3llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
+1-0llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
+18-33 files

LLVM/project 120f71bclang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel EntityPointerLevel.cpp

clean up
DeltaFile
+10-22clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp
+10-221 files

LLVM/project 6a87416lld/ELF Symbols.h Writer.cpp, lld/ELF/Arch Hexagon.cpp

[ELF] Move Symbol::used to atomic flags field (#190117)

Move the `used` bitfield into the existing `std::atomic<uint16_t>
flags`,
making it safe for concurrent access from parallel GC mark (#189321).
DeltaFile
+11-14lld/ELF/Symbols.h
+5-5lld/ELF/Writer.cpp
+2-2lld/ELF/MarkLive.cpp
+1-2lld/ELF/Arch/Hexagon.cpp
+19-234 files

LLVM/project 802d463clang-tools-extra/clang-doc Representation.cpp JSONGenerator.cpp

[clang-doc] Update lookup routines for consistency (#190043)

When filtering is enabled, its possible an Info doesn't have a 
Parent USR. Use `find()` to safely handle that case.

Additionally, I noticed the comparison code for the index
poorly reimplemented the existing comparison from StringRef.
We can just use the one from ADT.
DeltaFile
+10-16clang-tools-extra/clang-doc/Representation.cpp
+6-1clang-tools-extra/clang-doc/JSONGenerator.cpp
+16-172 files

LLVM/project 68cbcf7llvm/lib/Target/RISCV RISCVInsertVSETVLI.cpp, llvm/test/CodeGen/RISCV/rvv vsetvli-insert-whole-reg-move.ll

[RISCV] Check EnsureWholeVectorRegisterMoveValidVTYPE in RISCVInsertVSETVLI::transferBefore. (#190022)

Fixes #189786
DeltaFile
+27-0llvm/test/CodeGen/RISCV/rvv/vsetvli-insert-whole-reg-move.ll
+2-1llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
+29-12 files

HardenedBSD/src c7d7cffcontrib/expat Changes, contrib/expat/doc reference.html xmlwf.xml

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+2,814-1,863contrib/expat/doc/reference.html
+244-244contrib/expat/doc/xmlwf.xml
+130-56contrib/expat/xmlwf/xmlwf_helpgen.py
+112-61contrib/expat/lib/xmlparse.c
+141-18contrib/expat/Changes
+119-0contrib/expat/lib/libexpat.map.in
+3,560-2,24235 files not shown
+3,972-2,36841 files

HardenedBSD/src bd2e2f6contrib/expat Changes, contrib/expat/doc reference.html xmlwf.xml

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+2,814-1,863contrib/expat/doc/reference.html
+244-244contrib/expat/doc/xmlwf.xml
+130-56contrib/expat/xmlwf/xmlwf_helpgen.py
+112-61contrib/expat/lib/xmlparse.c
+141-18contrib/expat/Changes
+119-0contrib/expat/lib/libexpat.map.in
+3,560-2,24235 files not shown
+3,972-2,36841 files

OpenBSD/ports 5y3UYjYgames/cataclysm-dda Makefile

   Mark cataclysm-dda BROKEN-sparc64

   /usr/obj/ports/cataclysm-dda-0.H-no_x11/Cataclysm-DDA-0.H-RELEASE/src/third-party/flatbuffers_int/util.h:267:12: error: 'strtoll_l' was not declared in this scope; did you mean 'strcoll_l'?
     267 |     *val = __strtoll_impl(str, endptr, base);
         |            ^~~~~~~~~~~~~~

   'strtoull_l' 'strtod_l' 'strtof_l' all also not declared in scopr
VersionDeltaFile
1.34+2-0games/cataclysm-dda/Makefile
+2-01 files

HardenedBSD/src 2c50244lib/libc/gen rtld_get_var.3, libexec/rtld-elf rtld.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+156-36libexec/rtld-elf/rtld.c
+38-0libexec/rtld-elf/tests/set_var_test.c
+28-1sys/amd64/amd64/exec_machdep.c
+17-0lib/libc/gen/rtld_get_var.3
+0-2sys/x86/isa/atpic.c
+2-0sys/x86/isa/icu.h
+241-391 files not shown
+242-397 files

HardenedBSD/ports 0a6148egames/frobtads pkg-plist, games/qtads Makefile

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+161-0games/frobtads/pkg-plist
+69-89multimedia/ab-av1/distinfo
+117-0lang/mono6.8/files/patch-external_corefx_src_Native_Unix_System.Native_pal__networkstatistics.c
+33-43multimedia/ab-av1/Makefile.crates
+27-11x11/sfwbar/pkg-plist
+36-0games/qtads/Makefile
+443-14337 files not shown
+617-22643 files

LLVM/project 91d8b51clang/lib/CIR/CodeGen TargetInfo.cpp, clang/test/CIR/CodeGen amdgpu-address-spaces.cpp

proper amdgpu constant AS encoding
DeltaFile
+3-4clang/lib/CIR/CodeGen/TargetInfo.cpp
+2-2clang/test/CIR/CodeGen/amdgpu-address-spaces.cpp
+5-62 files

LLVM/project 22e003dclang/lib/CIR/Dialect/IR CIRDialect.cpp

fix code dup rebase bug
DeltaFile
+0-4clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+0-41 files

LLVM/project 55e5c5cclang/lib/CIR/Dialect/Transforms/TargetLowering/Targets AMDGPU.cpp

Add table-based CIR -> Target AS mapping
DeltaFile
+17-18clang/lib/CIR/Dialect/Transforms/TargetLowering/Targets/AMDGPU.cpp
+17-181 files

LLVM/project f4af65eclang/test/CIR/CodeGenCUDA address-spaces.cu

add ogcg cuda checks and todo on nptx lowering
DeltaFile
+11-9clang/test/CIR/CodeGenCUDA/address-spaces.cu
+11-91 files

LLVM/project 1fb915dclang/lib/CIR/Dialect/Transforms TargetLowering.cpp, clang/test/CIR/CodeGen amdgpu-target-lowering-as.cpp

Coverage for AS target lowering and fix generic lowering conversion pattern on alloca types.
DeltaFile
+66-0clang/test/CIR/CodeGen/amdgpu-target-lowering-as.cpp
+14-1clang/lib/CIR/Dialect/Transforms/TargetLowering.cpp
+80-12 files

LLVM/project 89077b2clang/lib/CIR/CodeGen TargetInfo.cpp CIRGenModule.cpp, clang/test/CIR/CodeGen amdgpu-address-spaces.cpp

fix tests to represent pre-target lowering state of AS
DeltaFile
+0-85clang/test/CIR/Lowering/global-address-space.cir
+15-30clang/lib/CIR/CodeGen/TargetInfo.cpp
+24-2clang/test/CIR/CodeGenCUDA/address-spaces.cu
+14-6clang/test/CIR/CodeGen/amdgpu-address-spaces.cpp
+2-3clang/lib/CIR/CodeGen/CIRGenModule.cpp
+55-1265 files

LLVM/project 87d1f69clang/lib/CIR/Dialect/Transforms/TargetLowering/Targets AMDGPU.cpp

Use AMDGPU enums to map CIR AS
DeltaFile
+7-6clang/lib/CIR/Dialect/Transforms/TargetLowering/Targets/AMDGPU.cpp
+7-61 files

LLVM/project e5bcc3dclang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp

fix fmt
DeltaFile
+4-0clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+4-01 files

LLVM/project 23500dfclang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp

more fmt
DeltaFile
+2-2clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+2-21 files

LLVM/project 47085b1clang/lib/CIR/CodeGen TargetInfo.cpp, clang/lib/CIR/Dialect/Transforms TargetLowering.cpp

[CIR][AMDGPU] Lower Language specific address spaces and implement AMDGPU target
DeltaFile
+252-1clang/lib/CIR/Dialect/Transforms/TargetLowering.cpp
+48-9clang/test/CIR/Lowering/global-address-space.cir
+51-0clang/test/CIR/CodeGen/amdgpu-address-spaces.cpp
+47-0clang/lib/CIR/Dialect/Transforms/TargetLowering/Targets/AMDGPU.cpp
+46-0clang/lib/CIR/CodeGen/TargetInfo.cpp
+9-2clang/lib/CIR/Dialect/Transforms/TargetLowering/LowerModule.cpp
+453-124 files not shown
+470-1810 files

LLVM/project 78dbe05clang/lib/CIR/Dialect/Transforms TargetLowering.cpp

handle formatting
DeltaFile
+38-42clang/lib/CIR/Dialect/Transforms/TargetLowering.cpp
+38-421 files

LLVM/project 01c49dfclang/lib/CIR/Lowering/DirectToLLVM LowerToLLVM.cpp

more fmt yo
DeltaFile
+0-4clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+0-41 files

LLVM/project 3f990d0clang/lib/CIR/CodeGen CIRGenModule.cpp, clang/lib/CIR/Dialect/IR CIRDialect.cpp

Global AS lowering For CUDA and CIRGen tests for target AS
DeltaFile
+0-3clang/lib/CIR/CodeGen/CIRGenModule.cpp
+2-0clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+2-32 files

LLVM/project 3494759clang/lib/CIR/CodeGen CIRGenModule.cpp, clang/lib/CIR/Dialect/IR CIRDialect.cpp

[CIR] Address Space support for GlobalOps
DeltaFile
+3-0clang/lib/CIR/CodeGen/CIRGenModule.cpp
+2-0clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+5-02 files

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

add gv section attribute
DeltaFile
+1-5clang/lib/CIR/CodeGen/CIRGenModule.cpp
+2-2clang/test/CIR/CodeGen/attr-retain.c
+1-1clang/test/CIR/CodeGen/keep-persistent-storage-variables.cpp
+1-1clang/test/CIR/CodeGen/keep-static-consts.cpp
+1-1clang/test/CIR/CodeGen/attr-used.c
+6-105 files

LLVM/project 2118499lld/ELF MarkLive.cpp InputFiles.cpp

[ELF] Decouple SharedFile::isNeeded from GC mark. NFC (#190112)

... out of the per-relocation resolveReloc and into a post-GC scan of
global symbols. This decouples the --as-needed logic from the mark
algorithm, simplifying the imminent parallel GC mark.
DeltaFile
+11-7lld/ELF/MarkLive.cpp
+2-1lld/ELF/InputFiles.cpp
+1-1lld/ELF/InputFiles.h
+14-93 files

HardenedBSD/ports 36d8ff3lang/mono6.8 Makefile, lang/mono6.8/files patch-external_corefx_src_Native_Unix_System.Native_pal__networkstatistics.c

lang/mono6.8: fix build with additional patch

- source:
  https://github.com/dotnet/runtime/blob/main/src/native/libs/System.Native/pal_networkstatistics.c

PR:             291638
DeltaFile
+117-0lang/mono6.8/files/patch-external_corefx_src_Native_Unix_System.Native_pal__networkstatistics.c
+1-1lang/mono6.8/Makefile
+118-12 files

FreeBSD/ports 36d8ff3lang/mono6.8 Makefile, lang/mono6.8/files patch-external_corefx_src_Native_Unix_System.Native_pal__networkstatistics.c

lang/mono6.8: fix build with additional patch

- source:
  https://github.com/dotnet/runtime/blob/main/src/native/libs/System.Native/pal_networkstatistics.c

PR:             291638
DeltaFile
+117-0lang/mono6.8/files/patch-external_corefx_src_Native_Unix_System.Native_pal__networkstatistics.c
+1-1lang/mono6.8/Makefile
+118-12 files

OpenBSD/ports w9kNj27audio/csound Makefile, audio/csound/pkg PLIST

   csound: hidden dep on audio/liblo

   regen PLIST for libosc.so plugin and static libcsound64.a
VersionDeltaFile
1.4+4-2audio/csound/Makefile
1.3+2-0audio/csound/pkg/PLIST
+6-22 files

LLVM/project 2a7ca3allvm/test/CodeGen/RISCV/rvv fixed-vectors-ctlz-vp.ll fixed-vectors-cttz-vp.ll

[RISCV] Remove codegen for vp_ctlz, vp_cttz, vp_ctpop (#189904)

Part of the work to remove trivial VP intrinsics from the RISC-V
backend, see
https://discourse.llvm.org/t/rfc-remove-codegen-support-for-trivial-vp-intrinsics-in-the-risc-v-backend/87999

This splits off 3 intrinsics from #179622.

Note that vp.cttz is the elementwise version, not vp.cttz.elts.
DeltaFile
+657-4,246llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctlz-vp.ll
+850-3,299llvm/test/CodeGen/RISCV/rvv/fixed-vectors-cttz-vp.ll
+994-2,350llvm/test/CodeGen/RISCV/rvv/cttz-vp.ll
+1,066-1,197llvm/test/CodeGen/RISCV/rvv/ctpop-vp.ll
+870-938llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctpop-vp.ll
+762-962llvm/test/CodeGen/RISCV/rvv/ctlz-vp.ll
+5,199-12,9922 files not shown
+5,213-13,0668 files