LLVM/project 0bf4df8flang/lib/Optimizer/Analysis AliasAnalysis.cpp, flang/lib/Optimizer/Transforms LoopInvariantCodeMotion.cpp CMakeLists.txt

[flang] Added LoopInvariantCodeMotion pass for [HL]FIR. (#173438)

The new pass allows hoisting some `fir.load` operations early
in MLIR. For example, many descriptor load might be hoisted
out of the loops, though it does not make much difference
in performance, because LLVM is able to optimize such loads
(which are lowered as `llvm.memcpy` into temporary descriptors),
given that proper TBAA information is generated by Flang.

Further hoisting improvements are possible in [HL]FIR LICM,
e.g. getting proper mod-ref results for Fortran runtime calls
may allow hoisting loads from global variables, which LLVM
cannot do due to lack of alias information.

This patch also contains improvements for FIR mod-ref analysis:
We may recurse into `HasRecursiveMemoryEffects` operations and
use `getModRef` recursively to get more precise results for
regions with `fir.call` operations.


    [3 lines not shown]
DeltaFile
+1,576-0flang/test/Transforms/licm.fir
+307-0flang/lib/Optimizer/Transforms/LoopInvariantCodeMotion.cpp
+62-0flang/test/Analysis/AliasAnalysis/modref-call-recursive.fir
+59-2flang/test/Analysis/AliasAnalysis/modref-call-dummies.f90
+34-24flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
+29-24flang/lib/Optimizer/Transforms/CMakeLists.txt
+2,067-506 files not shown
+2,117-5212 files

LLVM/project 90c03cblldb/tools/lldb-dap/Handler RequestHandler.cpp RequestHandler.h

[lldb-dap] Add an introductory message on startup. (#170795)

This adds an introductory message to try to inform users on how the
debug console works and adds a little more information on the current
target/process, similiar to the lldb driver.

Here is an example of the introduction:

```
To get started with the debug console try "<variable>", "<lldb-cmd>" or "help [<lldb-cmd>]".
For more information visit https://lldb.llvm.org/use/lldbdap.html#debug-console.
Executable binary set to 'a.out' (arm64-apple-macosx15.0.0).
Attached to process 1234.
```
DeltaFile
+44-0lldb/tools/lldb-dap/Handler/RequestHandler.cpp
+4-0lldb/tools/lldb-dap/Handler/RequestHandler.h
+2-0lldb/tools/lldb-dap/Handler/ConfigurationDoneRequestHandler.cpp
+50-03 files

LLVM/project 335eb33llvm/utils/git requirements_upload_release.txt

[llvm][utils] Bump urllib to 2.6.3 (#174880)

Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.3 to 2.6.3
to address
CVE-2025-66418 and CVE-2025-66471 vulnerabilities
DeltaFile
+3-3llvm/utils/git/requirements_upload_release.txt
+3-31 files

LLVM/project 8bb38cd. .gitignore

[LLVM] Ignore Cursor specific files
DeltaFile
+2-0.gitignore
+2-01 files

FreeBSD/src dcb8062sys/vm vm_object.h

vm_object.h: tweak OBJ_ONEMAPPING comment even more

The formulation that pages are allowed to have at most one mapping is
not quite clear.  Nothing prevents pages from having more than one
mapping, but the flag must be cleared then.

Reviewed by:    alc, markj
Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Differential revision:  https://reviews.freebsd.org/D54570
DeltaFile
+2-3sys/vm/vm_object.h
+2-31 files

LLVM/project ed45b00clang/lib/CIR/CodeGen CIRGenBuiltinX86.cpp, clang/test/CIR/CodeGenBuiltins/X86 avx512vlbf16-builtins.c

[CIR][X86]Implement handling for convert-half builtins (#173143)

Related to: #167765
DeltaFile
+81-0clang/test/CIR/CodeGenBuiltins/X86/avx512vlbf16-builtins.c
+33-2clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp
+114-22 files

LLVM/project 995f27blldb/test/API/commands/frame/var-dil/basics/LocalVars TestFrameVarDILLocalVars.py

[LLDB] Fix buildbot breakage (#174886)

Remove DIL type-cast test that's failing on aarch64. Test makes
assumption that's not valid on that architecture.
DeltaFile
+0-1lldb/test/API/commands/frame/var-dil/basics/LocalVars/TestFrameVarDILLocalVars.py
+0-11 files

LLVM/project b326c32clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/Dialect/IR CIRDialect.cpp

[CIR] Upstream ExtractMemberOp (#173512)

This PR upstreams `ExtractMemberOp`.

Required for #172554.

---------

Signed-off-by: vishruth-thimmaiah <vishruththimmaiah at gmail.com>
DeltaFile
+50-0clang/include/clang/CIR/Dialect/IR/CIROps.td
+43-0clang/test/CIR/IR/invalid-struct.cir
+23-0clang/test/CIR/Lowering/struct.cir
+21-0clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+17-0clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+13-0clang/test/CIR/IR/struct.cir
+167-06 files

LLVM/project 008f9dfclang-tools-extra/clang-doc/assets function-template.mustache, clang-tools-extra/test/clang-doc templates.cpp

[clang-doc] Don't serialize non-existant locations in HTML

The function template didn't check to see if a `Location` existed before
emitting the definition location line.
DeltaFile
+3-1clang-tools-extra/clang-doc/assets/function-template.mustache
+0-2clang-tools-extra/test/clang-doc/templates.cpp
+0-1clang-tools-extra/test/clang-doc/json/class.cpp
+3-43 files

NetBSD/pkgsrc Fvo4NXGdevel/ada-liblal-tools-25 Makefile, devel/gnatcoverage Makefile

   *: more Python 3.11 masking for sphinx
VersionDeltaFile
1.5+3-1devel/ada-liblal-tools-25/Makefile
1.2+3-1devel/gnatcoverage/Makefile
1.3+3-1devel/libadalang-tools/Makefile
1.3+3-1textproc/ada-libgnatdoc-25/Makefile
1.3+3-1textproc/ada-libgnatformat-25/Makefile
1.3+3-1textproc/ada-liblal-refactor-25/Makefile
+18-63 files not shown
+27-99 files

NetBSD/pkgsrc agToMGfdevel/ada-libadalang-25 Makefile, devel/py-liblktlang Makefile

   *: more Python 3.11 masking for sphinx
VersionDeltaFile
1.8+3-1devel/ada-libadalang-25/Makefile
1.6+3-1devel/py-liblktlang/Makefile
+6-22 files

LLVM/project 9f8ecf5clang-tools-extra/clang-doc JSONGenerator.cpp, clang-tools-extra/clang-doc/assets class-template.mustache

fix mismatched tag
DeltaFile
+16-18clang-tools-extra/clang-doc/assets/class-template.mustache
+10-0clang-tools-extra/test/clang-doc/json/class.cpp
+1-1clang-tools-extra/clang-doc/JSONGenerator.cpp
+27-193 files

NetBSD/pkgsrc dC6F8mndevel/py-langkit Makefile

   py-langkit: not for Python 3.11 any longer, due to sphinx
VersionDeltaFile
1.5+3-1devel/py-langkit/Makefile
+3-11 files

FreeBSD/ports 18472d9devel/capnproto distinfo Makefile

devel/capnproto: Update to 1.3.0

Changelog:
https://github.com/capnproto/capnproto/compare/v1.2.0...v1.3.0

PR:             291863
Approved by:    maintainer timeout, 2+ weeks
DeltaFile
+3-3devel/capnproto/distinfo
+2-2devel/capnproto/Makefile
+5-52 files

FreeBSD/ports c7d7215devel/libthai pkg-plist Makefile

devel/libthai: Update to 0.1.30

* Drop DOCS, can't build/generate due to old version of Doxygen in tree
  see PR 279330
* Drop static archive, nothing in tree uses it
* Drop dependency of gmake
* Enable "make test"
* Adjust Makefile to more closely follow Porters Handbook

Changelog: https://github.com/tlwg/libthai/releases/tag/v0.1.30

PR:             292145
Reviewed by:    otis (maintainer)
DeltaFile
+1-70devel/libthai/pkg-plist
+9-9devel/libthai/Makefile
+3-3devel/libthai/distinfo
+13-823 files

FreeBSD/ports 4f76207archivers/libarchive distinfo pkg-plist

archivers/libarchive: Update to 3.8.5

Changelog: https://github.com/libarchive/libarchive/releases/tag/v3.8.5

PR:             292226
Reviewed by:    glewis (maintainer)
DeltaFile
+3-3archivers/libarchive/distinfo
+1-1archivers/libarchive/pkg-plist
+1-1archivers/libarchive/Makefile
+5-53 files

FreeBSD/ports a23e72emisc/iso-codes Makefile distinfo

misc/iso-codes: Use upstream release archive and improve port

* Use release release archive as recommended by Porters Handbook
* Add USES= shebangfix
* Replace calls to python3 with PYTHON_CMD variable
* Style Makefile to follow Porters Handbook more closely

PR:             291749
Approved by:    maintainer timeout, 3+ weeks
DeltaFile
+13-8misc/iso-codes/Makefile
+3-3misc/iso-codes/distinfo
+16-112 files

LLVM/project 3911c6aclang/tools/driver driver.cpp cc1gen_reproducer_main.cpp

[clang] Allow enabling sandbox for direct `-cc1` invocations (#174653)

This PR enables the FS sandbox for direct `clang -cc1` invocations.
https://github.com/llvm/llvm-project/pull/165350 unintentionally
implemented the sandbox only for the code path where `clang -cc1` gets
invoked after being expanded from a driver command line, which reduced
the expected test coverage.
DeltaFile
+8-1clang/tools/driver/driver.cpp
+3-0clang/tools/driver/cc1gen_reproducer_main.cpp
+11-12 files

OpenBSD/ports q4t2C4Odevel/alex/pkg PLIST, devel/cabal populate-datadir.pl cabal.port.mk

   Support data-dir from cabal package dependencies

   Update to happy-2.1.7 include the Hackage package split into a library
   and the binary packages. The data-dir is now a part of the library
   dependent package. We previously didn't have support for installing
   such packages with data files provided by dependency libraries. This
   patch adds such support by iterating through the dependencies and
   collecting their data files.

   This also means preparing more complicated wrapper scripts which
   slightly longer data files installation paths. The change is visible
   in the PLIST of alex which otherwise could remain unchanged.

   One side effect of this patch is MODCABAL_DATA_DIR no longer needs to
   have any particular value, it just needs to be enabled to have this
   automated machinery find the relevant pieces. I can change the meaning
   of the variable to be a simple flag enabling the feature. We only have
   these two packages use the feature so far so it'd be simple
   documentation update with no ports churn.

    [3 lines not shown]
VersionDeltaFile
1.1+61-0devel/cabal/populate-datadir.pl
1.10+4-50devel/happy/pkg/PLIST
1.42+6-17devel/happy/Makefile
1.11+10-6devel/cabal/cabal.port.mk
1.18+4-2devel/happy/distinfo
1.11+3-2devel/alex/pkg/PLIST
+88-776 files

LLVM/project 539cf92lldb/include/lldb/ValueObject DILEval.h DILAST.h, lldb/source/ValueObject DILEval.cpp

[LLDB] Add type casting to DIL, part 2 or 3 (#170332)

This PR implements the actual type casting part. With this, type casting
to builtin types should work. The third PR, which will be put up after
this one is merged, will expand the type name parsing to allow casting
to user-defined types.
DeltaFile
+228-0lldb/test/API/commands/frame/var-dil/expr/Casts/TestFrameVarDILCast.py
+194-8lldb/source/ValueObject/DILEval.cpp
+46-0lldb/test/API/commands/frame/var-dil/expr/Casts/main.cpp
+16-0lldb/include/lldb/ValueObject/DILEval.h
+3-3lldb/include/lldb/ValueObject/DILAST.h
+3-0lldb/test/API/commands/frame/var-dil/expr/Casts/Makefile
+490-111 files not shown
+491-117 files

LLVM/project 94aa4f0utils/bazel/llvm-project-overlay/mlir BUILD.bazel

[bazel] Port 0d23e3 (#174879)

This at least gets the build working. This does not make the C bindings
for all the dialects actually work.
DeltaFile
+153-56utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+153-561 files

LLVM/project 61645e9clang-tools-extra/clang-doc JSONGenerator.cpp, clang-tools-extra/clang-doc/assets class-template.mustache

[clang-doc] Serialize protected methods in class template
DeltaFile
+16-18clang-tools-extra/clang-doc/assets/class-template.mustache
+18-0clang-tools-extra/test/clang-doc/json/class.cpp
+1-1clang-tools-extra/clang-doc/JSONGenerator.cpp
+35-193 files

FreeBSD/ports 6c61dc6benchmarks/py-asv Makefile distinfo, benchmarks/py-asv/files patch-pyproject.toml

benchmarks/py-asv: update to 0.6.5

Changelog:      https://github.com/airspeed-velocity/asv/releases/tag/v0.6.5
                https://github.com/airspeed-velocity/asv/releases/tag/v0.6.4
                https://github.com/airspeed-velocity/asv/releases/tag/v0.6.3
                https://github.com/airspeed-velocity/asv/releases/tag/v0.6.2
DeltaFile
+15-10benchmarks/py-asv/Makefile
+0-11benchmarks/py-asv/files/patch-pyproject.toml
+3-3benchmarks/py-asv/distinfo
+18-243 files

FreeBSD/ports bc62ad9benchmarks/py-asv-runner distinfo Makefile

benchmarks/py-asv-runner: update to 0.2.1
DeltaFile
+3-3benchmarks/py-asv-runner/distinfo
+1-1benchmarks/py-asv-runner/Makefile
+4-42 files

LLVM/project bef98e9lldb/source/Plugins/TypeSystem/Clang TypeSystemClang.cpp

[lldb][TypeSystemClang] Set access specifier for EnumConstantDecl's (#174865)

LLDB was already setting the access specifier on `EnumDecl`s
unconditionally to `AS_public`. But it wasn't doing so for the
`EnumConstantDecl`s. This triggered a Clang assertion during
auto-completion of expressions
(https://github.com/llvm/llvm-project/issues/171913).

Ideally the code-completion accessibility check would honor the
`AccessControl` language option, but that change is harder to
test/justify. Since this is a pretty straight-forward change I want to
land this before trying to do that.

There is no test coverage for this because it relies on the order in
which Clang decides to check the decls in scope for auto-completion,
which seems fragile. It's also consistent with how we handle access to
other decls in `TypeSystemClang`.

Fixes https://github.com/llvm/llvm-project/issues/171913
DeltaFile
+1-0lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
+1-01 files

LLVM/project dbd57dcmlir/lib/CAPI/Dialect CMakeLists.txt

[mlir][CAPI] fix linker again after #82190 (#174876)

DeltaFile
+1-0mlir/lib/CAPI/Dialect/CMakeLists.txt
+1-01 files

LLVM/project d815e84clang/lib/CIR/Dialect/IR CIRDialect.cpp, clang/test/CIR/CodeGen finegrain-bitfield-access.cpp union.c

[CIR] Implement simple folding for integer casts (#174861)

This extends the CastOp folder to handle integral casts between
different integer types. This only handles scalar values at this time.

This is in preparation for a change that will attempt to fold casts as
they are generated, but this change only performs the folding via the
cir-canonicalize pass.
DeltaFile
+105-0clang/test/CIR/Transforms/canonicalize.cir
+30-3clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+10-15clang/test/CIR/CodeGen/finegrain-bitfield-access.cpp
+6-9clang/test/CIR/CodeGen/union.c
+6-9clang/test/CIR/CodeGen/aapcs-volatile-bitfields.c
+5-7clang/test/CIR/Transforms/switch.cir
+162-4310 files not shown
+174-7316 files

NetBSD/src D4E8B6clib/libc Makefile.inc, lib/libc/time localtime.c

   Revert previous: Don't compile with -std=gnu2x. static_assert in pre 2023
   environments is defined in assert.h. In 2013 assert.h was added to localtime.c
   because a _DIAGASSERT was added which is no longer there. Remove assert.h since
   it is no longer needed and the clang error goes away since static_assert is
   no longer defined in pre-2023 environments. Thanks Paul Eggert.
VersionDeltaFile
1.150+2-3lib/libc/time/localtime.c
1.25+1-3lib/libc/Makefile.inc
+3-62 files

FreeBSD/src 6c0bcd1sys/compat/linuxkpi/common/include/linux bitops.h

linuxkpi: Add `rol32()`

`rol64()` and `rol32()` are used by <linux/siphash.h>. The former was
added previously, before <linux/siphash.h> was added. However the latter
was not, and it broke the build on armv7.

Reported by:    adrian
Reviewed by:    adrian, rpokala
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D54588
DeltaFile
+6-0sys/compat/linuxkpi/common/include/linux/bitops.h
+6-01 files

LLVM/project 6df3652mlir/lib/CAPI/Dialect CMakeLists.txt

[mlir][CAPI] fix linker again after 82190
DeltaFile
+1-0mlir/lib/CAPI/Dialect/CMakeLists.txt
+1-01 files