LLVM/project 5a4d15ellvm/lib/Transforms/Scalar LoopInterchange.cpp, llvm/test/Transforms/LoopInterchange profitability-instorder.ll interchangeable-outerloop-multiple-indvars.ll

[LoopInterchange] Fix instorder profitability check
DeltaFile
+50-41llvm/lib/Transforms/Scalar/LoopInterchange.cpp
+40-30llvm/test/Transforms/LoopInterchange/profitability-instorder.ll
+1-1llvm/test/Transforms/LoopInterchange/interchangeable-outerloop-multiple-indvars.ll
+91-723 files

LLVM/project 3478cdcllvm/test/Transforms/LoopInterchange profitability-instorder.ll

[LoopInterchange] Add a test for simple profitable case (NFC)
DeltaFile
+180-0llvm/test/Transforms/LoopInterchange/profitability-instorder.ll
+180-01 files

LLVM/project 97c34e3llvm/test/Transforms/LoopInterchange phi-ordering.ll

[LoopInterchange] Fix test phi-ordering.ll (NFC)
DeltaFile
+37-32llvm/test/Transforms/LoopInterchange/phi-ordering.ll
+37-321 files

LLVM/project 776ae18llvm/test/Transforms/LoopInterchange pr57148.ll lcssa-preheader.ll

[LoopInterchange] Update UTC version (NFC)
DeltaFile
+99-99llvm/test/Transforms/LoopInterchange/pr57148.ll
+89-85llvm/test/Transforms/LoopInterchange/lcssa-preheader.ll
+82-82llvm/test/Transforms/LoopInterchange/interchangeable-innerloop-multiple-indvars.ll
+82-82llvm/test/Transforms/LoopInterchange/interchangeable-outerloop-multiple-indvars.ll
+69-67llvm/test/Transforms/LoopInterchange/update-condbranch-duplicate-successors.ll
+65-63llvm/test/Transforms/LoopInterchange/interchangeable.ll
+486-4784 files not shown
+639-62610 files

LLVM/project 07931d4llvm/lib/Target/AArch64 AArch64ISelLowering.cpp

Fixups
DeltaFile
+1-1llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+1-11 files

LLVM/project 051d125llvm/lib/Target/X86 X86ISelLowering.cpp

Fix MSVC "result of 32-bit shift implicitly converted to 64 bits" warning. NFC. (#181979)

DeltaFile
+1-1llvm/lib/Target/X86/X86ISelLowering.cpp
+1-11 files

LLVM/project 27ddcfallvm/test/CodeGen/AArch64 v2i64-min-max.ll

Update checks
DeltaFile
+73-72llvm/test/CodeGen/AArch64/v2i64-min-max.ll
+73-721 files

LLVM/project 1aa42bellvm/lib/Target/AArch64 AArch64ISelLowering.cpp, llvm/test/CodeGen/AArch64 v2i64-min-max.ll

[AArch64] Fold MIN/MAX(Vec[0], Vec[1]) to VECREDUCE_MIN/MAX(Vec)

If we have a lowering for `VECREDUCE_MIN/MAX` this is generally more
efficient than the scalar expansion.
DeltaFile
+99-0llvm/test/CodeGen/AArch64/v2i64-min-max.ll
+48-10llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+147-102 files

LLVM/project 9afeb19llvm/lib/Target/AArch64 AArch64ISelLowering.cpp, llvm/test/CodeGen/AArch64 v2i64-min-max.ll

Fixups
DeltaFile
+39-25llvm/test/CodeGen/AArch64/v2i64-min-max.ll
+1-2llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+40-272 files

LLVM/project 3d369ccllvm/lib/Target/AArch64 AArch64ISelLowering.cpp AArch64ISelLowering.h, llvm/test/CodeGen/AArch64 aarch64-minmaxv.ll sve-fixed-length-int-reduce.ll

[AArch64] Prefer SVE2 for fixed-length i64 [S|U][MIN|MAX] reductions (#181161)

With SVE2/SME we can lower the v2i64 min/max reductions to an SVE2
pairwise instruction. The throughput is about the same, but the SVE code
is smaller than the NEON expansion.
DeltaFile
+254-210llvm/test/CodeGen/AArch64/aarch64-minmaxv.ll
+128-70llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+65-31llvm/test/CodeGen/AArch64/sve-fixed-length-int-reduce.ll
+13-13llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-int-reduce.ll
+8-2llvm/lib/Target/AArch64/AArch64ISelLowering.h
+468-3265 files

LLVM/project 03393aaclang/lib/Parse ParseTentative.cpp, clang/test/Interpreter disambiguate-decl-stmt.cpp

REAPPLY [clang-repl] Ensure clang-repl accepts all C keywords supported in all language models (#181335)

https://github.com/llvm/llvm-project/pull/142749 was reverted because
`_Float16` is only supported on the following targets

(https://clang.llvm.org/docs/LanguageExtensions.html#half-precision-floating-point)
& the previous PR wasn't guarding it to expect a failure on some
targets.

Hence the CI failed with errors like 
```
/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/clang -cc1 -internal-isystem /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/lib/clang/21/include -nostdsysteminc -fsyntax-only -verify -fincremental-extensions -std=c++20 /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/clang/test/Interpreter/disambiguate-decl-stmt.cpp # RUN: at line 1

/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/bin/clang -cc1 -internal-isystem /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/lib/clang/21/include -nostdsysteminc -fsyntax-only -verify -fincremental-extensions -std=c++20 /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/clang/test/Interpreter/disambiguate-decl-stmt.cpp
error: 'expected-error' diagnostics seen but not expected:
File /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/llvm-project/clang/test/Interpreter/disambiguate-decl-stmt.cpp Line 113: _Float16 is not supported on this target
1 error generated.
```

This should now be fixed as we are expecting an error (or no error)
based on the target through the `expected-error 0-1` framework
DeltaFile
+13-0clang/test/Interpreter/disambiguate-decl-stmt.cpp
+2-0clang/lib/Parse/ParseTentative.cpp
+15-02 files

LLVM/project 3d8fffelibclc/clc/lib/r600/math clc_sw_fma.cl, libclc/opencl/lib/r600/image get_image_attributes_impl.ll write_image_impl.ll

libclc: Remove r600 support (#181976)

DeltaFile
+0-174libclc/clc/lib/r600/math/clc_sw_fma.cl
+0-95libclc/opencl/lib/r600/image/get_image_attributes_impl.ll
+0-60libclc/opencl/lib/r600/image/write_image_impl.ll
+0-54libclc/opencl/lib/r600/image/read_image_impl.ll
+0-31libclc/opencl/lib/r600/image/read_imagei.cl
+0-31libclc/opencl/lib/r600/image/read_imageui.cl
+0-44529 files not shown
+5-91735 files

LLVM/project c5a0742lldb/tools/lldb-dap DAP.h

[lldb-dap] Initialise the call mutex before the progress_event_reporter. (#181941)

The progress event reporter has a thread that reports events every 250
millisecond. and is destroyed in its destructor.

When in event reporter desctructor, the event reporter may have pending
event but the call mutex is destroyed leading to the crash.

Relevant stack trace from CI.
```
[2026-02-13T17:46:13.577Z] libc++abi: terminating due to uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument 
[2026-02-13T17:46:13.577Z] PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash report from ~/Library/Logs/DiagnosticReports/. 

[2026-02-13T17:46:13.577Z]  #0 0x0000000102b6943c llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake-os-verficiation/lldb-build/bin/lldb-dap+0x10008943c) 
[2026-02-13T17:46:13.577Z]  #1 0x0000000102b67368 llvm::sys::RunSignalHandlers() (/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake-os-verficiation/lldb-build/bin/lldb-dap+0x100087368) 
[2026-02-13T17:46:13.577Z]  #2 0x0000000102b69f20 SignalHandler(int, __siginfo*, void*) (/Users/ec2-user/jenkins/workspace/llvm.org/as-lldb-cmake-os-verficiation/lldb-build/bin/lldb-dap+0x100089f20)
[2026-02-13T17:46:13.577Z]  #3 0x000000018bbdb744 (/usr/lib/system/libsystem_platform.dylib+0x1804e3744) 
[2026-02-13T17:46:13.577Z]  #4 0x000000018bbd1888 (/usr/lib/system/libsystem_pthread.dylib+0x1804d9888) 
[2026-02-13T17:46:13.577Z]  #5 0x000000018bad6850 (/usr/lib/system/libsystem_c.dylib+0x1803de850) 

    [17 lines not shown]
DeltaFile
+1-1lldb/tools/lldb-dap/DAP.h
+1-11 files

LLVM/project fa31aceclang/include/clang/StaticAnalyzer/Core/PathSensitive CoreEngine.h, clang/lib/StaticAnalyzer/Core ExprEngine.cpp CoreEngine.cpp

[NFCI][analyzer] Simplify NodeBuilder constructors (#181875)

This commit simplifies the construction of `NodeBuilder` and its
subclasses in three ways:
- It removes an assertion that only appeared in one of the two
constructors of `NodeBuilder`. While the asserted "no sinks in the
`Frontier`" invariant apparently holds, this assertion was not the right
place for expressing it. (In the future I might re-add a similar
assertion in a more reasonable location.)
- It adds a new constructor for `NodeBuilder` that doesn't take a
"source node(s)" argument, because this argument was often irrelevant.
- It removes the "source node(s)" arguments from the subclasses of
`NodeBuilder` because it was always completely irrelevant in those
situations.

Before this commit, constructors of `NodeBuilder` took three arguments:
- the source node or nodes,
- the destination node set where the freshly built nodes are placed,
- the `NodeBuilderContext` that provides access to the exploded graph.

    [23 lines not shown]
DeltaFile
+13-39clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
+5-5clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
+1-1clang/lib/StaticAnalyzer/Core/CoreEngine.cpp
+19-453 files

LLVM/project 0786f2dllvm/lib/Target/X86 X86ISelLowering.cpp, llvm/test/CodeGen/X86 hoist-and-by-const-from-lshr-in-eqcmp-zero.ll

[X86] LowerAndToBT - convert to SDPatternMatch (#181696)

Fixes an issue where a partial pattern (and then early-out) prevented a
later match

Prep work for #147216
DeltaFile
+32-45llvm/lib/Target/X86/X86ISelLowering.cpp
+4-4llvm/test/CodeGen/X86/hoist-and-by-const-from-lshr-in-eqcmp-zero.ll
+36-492 files

LLVM/project ecd25aflibclc/clc/include/clc/relational clc_issubnormal.h relational.h, libclc/clc/lib/generic SOURCES

libclc: Add __clc_issubnormal (#181782)

This is the missing of the FP class queries.
DeltaFile
+42-0libclc/clc/include/clc/relational/clc_issubnormal.h
+33-0libclc/clc/lib/generic/relational/clc_issubnormal.cl
+1-0libclc/clc/lib/generic/SOURCES
+1-0libclc/clc/include/clc/relational/relational.h
+77-04 files

LLVM/project ccb1632clang/lib/CodeGen ItaniumCXXABI.cpp, clang/test/DebugInfo/CXX ptrauth-member-function-pointer-debuglocs.cpp

[AArch64][PAC] Emit `!dbg` locations in `*_vfpthunk_` functions

In absence of `!dbg` metadata, it is possible for indirect
authenticated call to be replaced with a direct call instruction
without `!dbg` metadata. This may result in an error reported by
LLVM IR verifier ("inlinable function call in a function with
debug info must have a !dbg location") or an assertion triggered
after inlining this call ("!dbg attachment points at wrong
subprogram for function").
DeltaFile
+31-0clang/test/DebugInfo/CXX/ptrauth-member-function-pointer-debuglocs.cpp
+4-0clang/lib/CodeGen/ItaniumCXXABI.cpp
+35-02 files

LLVM/project b0d0e2eclang/test/DebugInfo/CXX ptrauth-member-function-pointer-debuglocs.cpp

Address review comments
DeltaFile
+11-3clang/test/DebugInfo/CXX/ptrauth-member-function-pointer-debuglocs.cpp
+11-31 files

LLVM/project 51a92a4llvm/lib/Target/AMDGPU SIInstrInfo.cpp, llvm/test/CodeGen/AMDGPU fix-sgpr-copies-wmma-scale-lo256.mir

Revert "[AMDGPU] Constrain register class during COPY elimination based on th…"

This reverts commit e0b3e82e98fedc08c9351627f528f5cdbe58b54e.
DeltaFile
+0-65llvm/test/CodeGen/AMDGPU/fix-sgpr-copies-wmma-scale-lo256.mir
+0-20llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+0-852 files

LLVM/project 8ef0a67libclc/clc/lib/generic/relational clc_issubnormal.cl

clang-format
DeltaFile
+1-1libclc/clc/lib/generic/relational/clc_issubnormal.cl
+1-11 files

LLVM/project 8f378eaclang-tools-extra/clang-tidy/bugprone UnsafeToAllowExceptionsCheck.cpp UnsafeToAllowExceptionsCheck.h, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Add check 'bugprone-unsafe-to-allow-exceptions' (#176430)

`ExceptionEscapeCheck` does not warn if a function is `noexcept(false)`
(may throw) but is one of the functions where throwing exceptions is
unsafe. This check can be used to find such cases.
DeltaFile
+61-0clang-tools-extra/clang-tidy/bugprone/UnsafeToAllowExceptionsCheck.cpp
+54-0clang-tools-extra/test/clang-tidy/checkers/bugprone/unsafe-to-allow-exceptions.cpp
+49-0clang-tools-extra/test/clang-tidy/checkers/bugprone/unsafe-to-allow-exceptions-precpp17.cpp
+41-0clang-tools-extra/docs/clang-tidy/checks/bugprone/unsafe-to-allow-exceptions.rst
+37-0clang-tools-extra/clang-tidy/bugprone/UnsafeToAllowExceptionsCheck.h
+6-0clang-tools-extra/docs/ReleaseNotes.rst
+248-04 files not shown
+257-110 files

LLVM/project d0ce5d6mlir/test/IR visitors.mlir

[NFC][test-ir-visitors] Remove unregistered dialect uses from tests (#181911)

Use the already registered test dialect in tests which is explicitly
intended to allow arbitrary ops.
DeltaFile
+118-118mlir/test/IR/visitors.mlir
+118-1181 files

LLVM/project fddef77libclc/clc/lib/r600/math clc_sw_fma.cl, libclc/opencl/lib/r600/image get_image_attributes_impl.ll write_image_impl.ll

libclc: Remove r600 support

I believe this is dead since clover was removed from mesa.
Creating all of the targets as aliases was also busted, but may
not have mattered due to how incomplete the backend is.
DeltaFile
+0-174libclc/clc/lib/r600/math/clc_sw_fma.cl
+0-95libclc/opencl/lib/r600/image/get_image_attributes_impl.ll
+0-60libclc/opencl/lib/r600/image/write_image_impl.ll
+0-54libclc/opencl/lib/r600/image/read_image_impl.ll
+0-31libclc/opencl/lib/r600/image/read_imageui.cl
+0-31libclc/opencl/lib/r600/image/read_imagei.cl
+0-44527 files not shown
+3-91133 files

LLVM/project 6e3e23elibclc/opencl/lib/amdgcn/workitem get_local_size.cl get_num_groups.cl

libclc: Stop using r600 asm intrinsic declarations for amdgcn

Really the workitem functions should all be moved to generic code
and use gpuintrin.h. These implementations were copied from there.
DeltaFile
+3-7libclc/opencl/lib/amdgcn/workitem/get_local_size.cl
+3-7libclc/opencl/lib/amdgcn/workitem/get_num_groups.cl
+6-142 files

LLVM/project 45b49d4clang/lib/CodeGen/TargetBuiltins ARM.cpp, clang/lib/Sema SemaARM.cpp

[clang][ARM] Refactor argument handling in `EmitAArch64BuiltinExpr` (2/2) (NFC)

Refactor `EmitAArch64BuiltinExpr` so that all AArch64/NEON builtins
handled by this hook _and marked as overloaded_ share a common path
for generating LLVM IR arguments (collected into the `Ops`
`SmallVector<Value*>`) (*). This is a follow-up for #181794 - please
refer to that PR for more context.

As in the previous PR, the key change is implemented in
`HasExtraNeonArgument` , i.e. in the hook that identifies Builtins with
the extra argument. In this PR, I am replacing the ad-hoc switch
statement with a more principled approach borrowed from SemaARM.cpp,
namely:
```cpp
uint64_t mask = 0;
  switch (BuiltinID) {
  #define GET_NEON_OVERLOAD_CHECK
  #include "clang/Basic/arm_fp16.inc"
  #include "clang/Basic/arm_neon.inc"

    [28 lines not shown]
DeltaFile
+48-254clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+3-1clang/lib/Sema/SemaARM.cpp
+51-2552 files

LLVM/project 867272dllvm/test/Transforms/LoopVectorize/AArch64 scalable-strict-fadd.ll sve-interleaved-masked-accesses.ll

[LV] Pass symbolic VF to CalculateTripCountMinusVF and CanonicalIVIncrementForPart (NFC) (#180542)

This makes it easier to update the runtime VF per VPlan.
DeltaFile
+198-248llvm/test/Transforms/LoopVectorize/AArch64/scalable-strict-fadd.ll
+88-96llvm/test/Transforms/LoopVectorize/AArch64/sve-interleaved-masked-accesses.ll
+52-68llvm/test/Transforms/LoopVectorize/AArch64/uniform-args-call-variants.ll
+30-50llvm/test/Transforms/LoopVectorize/AArch64/masked-call.ll
+22-50llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding-unroll.ll
+10-28llvm/test/Transforms/LoopVectorize/AArch64/sve-tail-folding.ll
+400-54019 files not shown
+488-68925 files

LLVM/project 7b3e967libclc/clc/lib/generic/relational clc_issubnormal.cl

Add include
DeltaFile
+1-0libclc/clc/lib/generic/relational/clc_issubnormal.cl
+1-01 files

LLVM/project 7897d92lldb/source/Commands CommandObjectType.cpp, lldb/test/Shell/Commands command-type-synthetic-add.test

[lldb][CommandObjectType] Print name of Python class when emitting warning about invalid synthetic provider (#181829)

Before:
```
(lldb) type synthetic add -l blah foo
warning: The provided class does not exist - please define it before attempting to use this synthetic provider
```

After:
```
(lldb) type synthetic add -l blah foo
warning: The provided class 'blah' does not exist - please define it before attempting to use this synthetic provider
```

Useful when many of these registration commands happen as part of
`~/.lldbinit`. Previously it wasn't immediately obvious which of those
commands failed.
DeltaFile
+6-4lldb/source/Commands/CommandObjectType.cpp
+6-0lldb/test/Shell/Commands/command-type-synthetic-add.test
+12-42 files

LLVM/project aa5d820clang/lib/CodeGen/TargetBuiltins ARM.cpp, clang/lib/Sema SemaARM.cpp

[clang][ARM] Refactor argument handling in `EmitAArch64BuiltinExpr` (2/2) (NFC)

Refactor `EmitAArch64BuiltinExpr` so that all AArch64/NEON builtins
handled by this hook _and marked as overloaded_ share a common path
for generating LLVM IR arguments (collected into the `Ops`
`SmallVector<Value*>`) (*). This is a follow-up for #181794 - please
refer to that PR for more context.

As in the previous PR, the key change is implemented in
`HasExtraNeonArgument` , i.e. in the hook that identifies Builtins with
the extra argument. In this PR, I am replacing the ad-hoc switch
statement with a more principled approach borrowed from SemaARM.cpp,
namely:
```cpp
uint64_t mask = 0;
  switch (BuiltinID) {
  #define GET_NEON_OVERLOAD_CHECK
  #include "clang/Basic/arm_fp16.inc"
  #include "clang/Basic/arm_neon.inc"

    [28 lines not shown]
DeltaFile
+46-253clang/lib/CodeGen/TargetBuiltins/ARM.cpp
+3-1clang/lib/Sema/SemaARM.cpp
+49-2542 files

LLVM/project ebaa9bfclang/lib/Driver/ToolChains FreeBSD.cpp FreeBSD.h, clang/test/Driver freebsd.cpp

[Toolchains][FreeBSD] Honor system libgcc

On Linux, the system libgcc may act as the compiler runtime, and Clang
provides -rtlib=compiler-rt to switch implementations.

FreeBSD ships libcompiler_rt.a (LLVM’s builtins) in the base system,
with libgcc.a as a symlink to it. These libraries are linked via -L and
-lgcc.

An interesting detail is that even if the Clang resource directory
(llvm-xx/lib/clang/xx) appears before the system path in the search
order, it is still not used. This is because the linker looks for
libgcc.a rather than libclang_rt.builtins.a.

Since FreeBSD does not currently support -rtlib, honor the system libgcc
by hardcoding its path. Detect and handle cases where a custom
compiler-rt is injected via -L as an override workaround.
DeltaFile
+15-0clang/lib/Driver/ToolChains/FreeBSD.cpp
+4-0clang/test/Driver/freebsd.cpp
+2-0clang/lib/Driver/ToolChains/FreeBSD.h
+21-03 files