LLVM/project eabcfceclang/lib/Headers/hlsl hlsl_alias_intrinsics.h, clang/test/CodeGenHLSL/builtins QuadReadAcrossX.hlsl

[HLSL][DXIL][SPIRV] QuadReadAcrossX intrinsic support (#184360)

This PR adds QuadReadAcrossX intrinsic support in HLSL with codegen for
both DirectX and SPIRV backends. Resolves
https://github.com/llvm/llvm-project/issues/99175.

- [x] Implement QuadReadAcrossX clang builtin
- [x]  Link QuadReadAcrossX clang builtin with hlsl_intrinsics.h
- [x] Add sema checks for QuadReadAcrossX to
CheckHLSLBuiltinFunctionCall in SemaChecking.cpp
- [x] Add codegen for QuadReadAcrossX to EmitHLSLBuiltinExpr in
CGBuiltin.cpp
- [x] Add codegen tests to
clang/test/CodeGenHLSL/builtins/QuadReadAcrossX.hlsl
- [x] Add sema tests to
clang/test/SemaHLSL/BuiltIns/QuadReadAcrossX-errors.hlsl
- [x] Create the int_dx_QuadReadAcrossX intrinsic in
IntrinsicsDirectX.td
- [x] Create the DXILOpMapping of int_dx_QuadReadAcrossX to 123 in

    [8 lines not shown]
DeltaFile
+99-0clang/lib/Headers/hlsl/hlsl_alias_intrinsics.h
+87-0llvm/test/CodeGen/DirectX/QuadReadAcrossX.ll
+46-0clang/test/CodeGenHLSL/builtins/QuadReadAcrossX.hlsl
+44-0llvm/test/CodeGen/SPIRV/hlsl-intrinsics/QuadReadAcrossX.ll
+30-0llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
+28-0clang/test/SemaHLSL/BuiltIns/QuadReadAcrossX-errors.hlsl
+334-012 files not shown
+401-218 files

LLVM/project 17158b2llvm/lib/Transforms/InstCombine InstCombineSimplifyDemanded.cpp

[InstCombine] Fix comment in SimplifyDemandedUseBits (NFC) (#187126)

Fix the values in the truth table comment for the combine

  add iN (sext i1 X), (sext i1 Y) --> sext (X | Y) to iN
DeltaFile
+2-2llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+2-21 files

LLVM/project e9799e5lldb/test/API/tools/lldb-dap/variables TestDAP_variables.py main.cpp, lldb/tools/lldb-dap Variables.cpp ProtocolUtils.cpp

[lldb-dap] Improve support for variables with anonymous fields and types (#186482)

While looking at the '[raw]' value of a std::vector I noticed we didn't
handle the anonymous inner struct very well. The 'evaluateName' was
incorrect (e.g. the evaluateName would return `<var>.` for the anonymous
struct).

This improves support for variables with anonymous fields and anonymous
types.

* Changed the name of anonymous fields from `<null>` to `(anonymous)`,
which matches other tooling like clangd's representation and how types
are presented if the field is not defined.
* Adjusts variables to not return an 'evaluateName' for anonymous
fields.
* Adjusted '[raw]' values to be marked as 'internal' which deemphasizes
them in the UI.

While working in this area, I also consolidated some helpers that are

    [10 lines not shown]
DeltaFile
+194-109lldb/tools/lldb-dap/Variables.cpp
+153-24lldb/test/API/tools/lldb-dap/variables/TestDAP_variables.py
+0-73lldb/tools/lldb-dap/ProtocolUtils.cpp
+18-25lldb/tools/lldb-dap/Variables.h
+42-1lldb/test/API/tools/lldb-dap/variables/main.cpp
+0-42lldb/tools/lldb-dap/ProtocolUtils.h
+407-2746 files not shown
+440-29812 files

LLVM/project 88a6589clang/include/clang/AST TemplateBase.h, clang/lib/AST TemplateBase.cpp TypeLoc.cpp

[clang] fix crash related to missing source locations for converted template arguments

This adds a way to attach source locations to trivially created template
arguments such as packs, or converted expressions when there is no
expression anymore.

This also avoids crashes due to missing source locations.

In a few places where this matters, we already create expressions
from the converted arguments, but this requires access to Sema,
where currently creating trivial typelocs only requires access to
to the ASTContext.

So this creates a new storage kind for TemplateArgumentLocs, where
a single SourceLocation is stored, embedded in the pointer where
possible.

As a drive-by, strenghten asserts by enforcing the TemplateArgumentLocs
are created with the right kinds of locations.

    [2 lines not shown]
DeltaFile
+54-3clang/include/clang/AST/TemplateBase.h
+19-0clang/lib/AST/TemplateBase.cpp
+4-4clang/lib/Sema/SemaExpr.cpp
+7-0clang/test/SemaCXX/type_pack_element.cpp
+2-5clang/lib/AST/TypeLoc.cpp
+3-3clang/lib/Sema/SemaTemplate.cpp
+89-152 files not shown
+91-168 files

LLVM/project 0ea2e58llvm/lib/Transforms/Vectorize VPlan.cpp, llvm/test/Transforms/LoopVectorize early_exit_with_outer_loop.ll single_early_exit_with_outer_loop.ll

[VPlan] Account for early-exit dispatch blocks when updating LI. (#185618)

Now that we can vectorize loops with multiple early exits, we emit
dispatch blocks after the middle block to go to a specific exit or
continue in the dispatch chain.

With that, we need to be a bit more careful when it comes to picking the
loop the dispatch block belongs to. The dispatch block will belong to
the innermost loop of all exit blocks reachable from the current block.

Fixes https://github.com/llvm/llvm-project/issues/185362

PR: https://github.com/llvm/llvm-project/pull/185618
DeltaFile
+417-0llvm/test/Transforms/LoopVectorize/early_exit_with_outer_loop.ll
+0-121llvm/test/Transforms/LoopVectorize/single_early_exit_with_outer_loop.ll
+26-0llvm/lib/Transforms/Vectorize/VPlan.cpp
+443-1213 files

LLVM/project b2c2422clang/include/clang/CIR/Dialect/IR CIRAttrs.td CIROps.td, clang/lib/CIR/CodeGen CIRGenExprAggregate.cpp

[CIR] Upstream ThreeWayCmpOp (#169963)

This PR upstreams the three way compare op from the incubator repo

---------

Co-authored-by: Hendrik Hübner <hhuebner at Hendriks-MacBook-Pro.local>
DeltaFile
+307-0clang/test/CIR/CodeGen/Inputs/std-compare.h
+95-0clang/test/CIR/CodeGen/three-way-cmp.cpp
+83-0clang/include/clang/CIR/Dialect/IR/CIRAttrs.td
+68-0clang/include/clang/CIR/Dialect/IR/CIROps.td
+62-1clang/lib/CIR/CodeGen/CIRGenExprAggregate.cpp
+60-0clang/lib/CIR/Dialect/IR/CIRAttrs.cpp
+675-14 files not shown
+777-310 files

LLVM/project 81950f6mlir/lib/Dialect/GPU/IR InferIntRangeInterfaceImpls.cpp, mlir/test/Dialect/GPU int-range-interface-cluster.mlir

[mlir][GPU] Bump static bound on cluster IDs (#187106)

Hardware (like AMD's gfx1250) allows 16 workgroups per cluster, but the
static bound of 8 from many years ago hasn't been updated. This commit
adds such an update and adds a test for that bound.
DeltaFile
+25-1mlir/test/Dialect/GPU/int-range-interface-cluster.mlir
+1-1mlir/lib/Dialect/GPU/IR/InferIntRangeInterfaceImpls.cpp
+26-22 files

FreeNAS/freenas a1c12dcsrc/middlewared/middlewared/alembic/versions/27.0 2026-03-17_14-37_merge.py, src/middlewared/middlewared/api/v26_0_0 interface.py

address reviews
DeltaFile
+25-3src/middlewared/middlewared/api/v27_0_0/interface.py
+25-3src/middlewared/middlewared/api/v26_0_0/interface.py
+6-2src/middlewared/middlewared/plugins/network.py
+3-3src/middlewared/middlewared/alembic/versions/27.0/2026-03-17_14-37_merge.py
+59-114 files

LLVM/project 480eba3lldb/source/Core Module.cpp, lldb/test/API/functionalities/compilation-prefix-map TestCompilationPrefixMap.py

[lldb][PrefixMap] follow up fixes to #187145 (#187337)

Fix and improve #187145 for following issues:
* Fix unhandled error.
* Align the log type with the file where it contains.
* The added test doesn't work on windows host for remote debugging, add
  decorator to skip when host and target do not match.
DeltaFile
+14-12lldb/source/Core/Module.cpp
+3-2lldb/test/API/functionalities/compilation-prefix-map/TestCompilationPrefixMap.py
+17-142 files

LLVM/project 872247cllvm/lib/Target/NVPTX NVPTXISelDAGToDAG.cpp NVPTXISelLowering.cpp, mlir/lib/Dialect/LLVMIR/IR NVVMDialect.cpp

[NVPTX] Split Param address space into EntryParam and DeviceParam (NFC) (#186636)

This change begins clarifying and cleaning up some oddities around the
param address-space in NVPTX. PTX supports ".param" loads and stores
referring to both entry (kernel) and device parameters, however these
spaces are actually quite different. Entry param space supports
pointers, and addrspace-casting to generic while device parameter space
can only be refrenced by a parameter plus an immediate offset. This
change accounts for this fact with the following refactors:

- Rename `ADDRESS_SPACE_PARAM` -> `ADDRESS_SPACE_ENTRY_PARAM`. This
reflects the fact that only entry parameter space can be meaningfully
modeled in LLVM IR and that pointers with this AS in llvm IR are always
referring to entry parameters.

- Add `NVPTX::AddressSpace::DeviceParam` for NVPTX MIR instructions.
This is used in NVPTX MIR instructions to signify that they load/store
device parameters. It has a distinct value from
`NVPTX::AddressSpace::EntryParam` so that in the future we can print
these differently on supported PTX versions.
DeltaFile
+18-26llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
+19-16llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
+14-9llvm/lib/Target/NVPTX/NVPTX.h
+9-8llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp
+1-3mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
+2-2llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.cpp
+63-647 files not shown
+73-7113 files

NetBSD/src JHVwY7Utests/lib/libc/setjmp t_setjmp.c

   Remove atf_tc_expect_signal for arm now that PR port-arm/59351 is fixed
VersionDeltaFile
1.14+2-11tests/lib/libc/setjmp/t_setjmp.c
+2-111 files

NetBSD/src ol5zDfblib/libc/compat/arch/arm/gen compat_setjmp.S

   PR/59351 compat_setjmp is busted

   Apply the patch in the PR from Valery Ushakov (thanks) which restores
   the restoration of r0, lr after the call to sigblock that was lost in
   revision 1.3
VersionDeltaFile
1.6+4-3lib/libc/compat/arch/arm/gen/compat_setjmp.S
+4-31 files

FreeBSD/ports b94bed7lang/php84 Makefile, lang/php84/files libressl-patch-ext_openssl_openssl.c

lang/php84: fix build with LibreSSL

sk_X509_new_reserve does not exist in LibreSSL, only OpenSSL.

Obtained from: OpenBSD ports

Approved by: bofh (maintainer)
Differential Revision: https://reviews.freebsd.org/D55921
DeltaFile
+35-0lang/php84/files/libressl-patch-ext_openssl_openssl.c
+4-0lang/php84/Makefile
+39-02 files

LLVM/project befaa35libcxx/include string __tree, libcxx/test/libcxx/type_traits is_transparently_comparable.compile.pass.cpp

[libc++] Fix passing through object to comparisons in __tree (#186341)

Fixes #180659
DeltaFile
+22-11libcxx/include/string
+32-0libcxx/test/libcxx/type_traits/is_transparently_comparable.compile.pass.cpp
+2-2libcxx/include/__tree
+56-133 files

LLVM/project 3e09538libcxx/test/std/containers/associative lookup_with_converting_comparator.pass.cpp, libcxx/test/std/containers/associative/map/map.ops find.pass.cpp

[libc++] Expand test coverage for converting comparators in associative containers (#187133)

This is in preparation for fixing #187105.
DeltaFile
+87-0libcxx/test/std/containers/associative/lookup_with_converting_comparator.pass.cpp
+0-13libcxx/test/std/containers/associative/map/map.ops/find.pass.cpp
+87-132 files

LLVM/project a33e9e5lldb/source/Target StackFrameList.cpp

Move the call frame edges log messages to the verbose channel. (#187324)

The messages about searching for call edges can be really verbose and
they are only useful if you are explicitly debugging the call edges
feature. Most of the time they are irrelevant and just make the step log
output hard to read.
DeltaFile
+10-9lldb/source/Target/StackFrameList.cpp
+10-91 files

NetBSD/pkgsrc 4RqAycomail/cyrus-imapd38 Makefile options.mk, mail/cyrus-imapd38/patches patch-lib_ptrarray.c

   cyrus-imapd38: Fixes for various platforms.
VersionDeltaFile
1.1+14-0mail/cyrus-imapd38/patches/patch-lib_ptrarray.c
1.2+7-2mail/cyrus-imapd38/Makefile
1.2+1-4mail/cyrus-imapd38/options.mk
1.2+2-1mail/cyrus-imapd38/distinfo
+24-74 files

NetBSD/pkgsrc MTlBdeHmail/cyrus-imapd312 Makefile options.mk, mail/cyrus-imapd312/patches patch-lib_ptrarray.c

   cyrus-imapd312: Fixes for various platforms.
VersionDeltaFile
1.1+14-0mail/cyrus-imapd312/patches/patch-lib_ptrarray.c
1.2+7-2mail/cyrus-imapd312/Makefile
1.2+1-4mail/cyrus-imapd312/options.mk
1.2+2-1mail/cyrus-imapd312/distinfo
+24-74 files

NetBSD/pkgsrc mYNrWsEmail/cyrus-imapd310 Makefile options.mk, mail/cyrus-imapd310/patches patch-lib_ptrarray.c

   cyrus-imapd310: Fixes for various platforms
VersionDeltaFile
1.1+14-0mail/cyrus-imapd310/patches/patch-lib_ptrarray.c
1.2+7-2mail/cyrus-imapd310/Makefile
1.2+1-4mail/cyrus-imapd310/options.mk
1.2+2-1mail/cyrus-imapd310/distinfo
+24-74 files

OpenBSD/ports pKuYz4Ftextproc/libxml Makefile, textproc/libxml/pkg PLIST

   the "@pkgpath textproc/libxml,-python" marker by itself isn't enough to merge
   any (now removed) py3-libxml-* packages into libxml, so python 3.12 -> 3.13
   updates (i.e. openbsd 7.8 -> -current) were still failing. Add an @conflict
   as well to force the old package to be removed.
VersionDeltaFile
1.246+1-0textproc/libxml/Makefile
1.44+1-0textproc/libxml/pkg/PLIST
+2-02 files

FreeNAS/freenas 07cb0b0src/middlewared/middlewared/api/v26_0_0 interface.py, src/middlewared/middlewared/api/v27_0_0 interface.py

use FecModeName alias consistently
DeltaFile
+3-3src/middlewared/middlewared/api/v26_0_0/interface.py
+3-3src/middlewared/middlewared/api/v27_0_0/interface.py
+6-62 files

NetBSD/pkgsrc-wip de90868security/fail2ban fail2ban-1.1.0.tar.gz

security/fail2ban: Update to 1.1.0

Remove distfile; pkgsrc fetches distfiles automatically.
DeltaFile
+0-0security/fail2ban/fail2ban-1.1.0.tar.gz
+0-01 files

NetBSD/pkgsrc-wip 1329d8esecurity/fail2ban PLIST Makefile, security/fail2ban/files fail2ban.sh paths-netbsd.conf

security/fail2ban: Update to 1.1.0
DeltaFile
+604-0security/fail2ban/PLIST
+124-0security/fail2ban/Makefile
+32-0security/fail2ban/files/fail2ban.sh
+28-0security/fail2ban/files/paths-netbsd.conf
+22-0security/fail2ban/patches/patch-doc_Makefile
+20-0security/fail2ban/files/paths-pkgsrc.conf
+830-04 files not shown
+854-010 files

LLVM/project ee75b37mlir/lib/Dialect/OpenMP/IR OpenMPDialect.cpp, mlir/test/Dialect/OpenMP ops.mlir

Add placeholder if linear modifier is not specified
DeltaFile
+11-0mlir/test/Dialect/OpenMP/ops.mlir
+3-2mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
+14-22 files

Dreckly/dreckly afd69c8mail/cyrus-imapd38 Makefile options.mk, mail/cyrus-imapd38/patches patch-lib_ptrarray.c

cyrus-imapd38: Various fixes for various platforms
DeltaFile
+14-0mail/cyrus-imapd38/patches/patch-lib_ptrarray.c
+6-1mail/cyrus-imapd38/Makefile
+0-3mail/cyrus-imapd38/options.mk
+1-0mail/cyrus-imapd38/distinfo
+21-44 files

LLVM/project 61af888llvm/test/tools/llvm-remarkutil/filter filter-sort-dedupe.test, llvm/test/tools/llvm-remarkutil/filter/Inputs filter-unsorted.yaml

[spr] initial version

Created using spr 1.3.8-wip
DeltaFile
+48-1llvm/tools/llvm-remarkutil/RemarkFilter.cpp
+46-0llvm/test/tools/llvm-remarkutil/filter/filter-sort-dedupe.test
+28-0llvm/test/tools/llvm-remarkutil/filter/Inputs/filter-unsorted.yaml
+122-13 files

NetBSD/pkgsrc tfcylQSmail/cyrus-imapd32 Makefile options.mk, mail/cyrus-imapd32/patches patch-lib_ptrarray.c

   cyrus-imapd32: Fixes for various platforms. Delint.
VersionDeltaFile
1.1+14-0mail/cyrus-imapd32/patches/patch-lib_ptrarray.c
1.2+7-2mail/cyrus-imapd32/Makefile
1.2+1-4mail/cyrus-imapd32/options.mk
1.2+2-1mail/cyrus-imapd32/distinfo
+24-74 files

FreeNAS/freenas 7f2a9fa

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeNAS/freenas bf8905dsrc/middlewared/middlewared/api/v25_04_0 user.py, src/middlewared/middlewared/api/v25_04_1 user.py

NAS-140352 / 27.0.0-BETA.1 / Fix flake8 errors (#18496)

This commit adds changes to fix flake8 errors present in the repo to
simplify github action and avoid unnecessary complexity.
DeltaFile
+40-11src/middlewared/middlewared/plugins/iscsi_/targets.py
+38-11src/middlewared/middlewared/plugins/dlm.py
+22-22src/middlewared/middlewared/api/v25_04_2/user.py
+22-22src/middlewared/middlewared/api/v25_04_1/user.py
+32-11src/middlewared/middlewared/plugins/iscsi_/alua.py
+19-19src/middlewared/middlewared/api/v25_04_0/user.py
+173-96113 files not shown
+653-475119 files

LLVM/project 45857cflldb/source/Core Module.cpp, lldb/test/API/functionalities/compilation-prefix-map TestCompilationPrefixMap.py

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+14-12lldb/source/Core/Module.cpp
+3-2lldb/test/API/functionalities/compilation-prefix-map/TestCompilationPrefixMap.py
+17-142 files