LLVM/project 52f76c0mlir/lib/Dialect/XeGPU/Transforms XeGPUSgToWiDistributeExperimental.cpp, mlir/test/Dialect/XeGPU sg-to-wi-experimental-unit.mlir

[MLIR][XeGPU] Add distribution pattern for xegpu.load & store for sg to wi pass (#181917)

This PR adds distribution pattern for xegpu.load & store ops for the new
sg-to-wi pass
DeltaFile
+200-2mlir/lib/Dialect/XeGPU/Transforms/XeGPUSgToWiDistributeExperimental.cpp
+114-0mlir/test/Dialect/XeGPU/sg-to-wi-experimental-unit.mlir
+314-22 files

LLVM/project 1fc59edllvm/test/CodeGen/SystemZ zos-ada-relocations.ll

Update test case to account for ALIAS syntax change.
DeltaFile
+1-1llvm/test/CodeGen/SystemZ/zos-ada-relocations.ll
+1-11 files

LLVM/project d7b92c5llvm/lib/Target/SystemZ SystemZAsmPrinter.cpp, llvm/test/CodeGen/SystemZ zos-ada-relocations.ll

[SystemZ] Emit external aliases for indirect function descriptors in the ADA section

This is the last of the three patches aimed to support indirect symbol handling for
the SystemZ backend.

An external alias is emitted for indirect function descriptors within the ADA
section, rather than a temporary alias, while also setting all of the appropriate
symbol attributes that are needed for the HLASM streamer to emit the correct XATTR
and ALIAS instructions for the indirect symbols.

Moreover, this patch updates the `CodeGen/SystemZ/zos-ada-relocations.ll` test
as the ADA section is currently the only user of indirect symbols on z/OS.
DeltaFile
+7-4llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+5-1llvm/test/CodeGen/SystemZ/zos-ada-relocations.ll
+12-52 files

LLVM/project 4bec1b8llvm/lib/MC MCAsmInfoGOFF.cpp

Fix clang-format.
DeltaFile
+2-2llvm/lib/MC/MCAsmInfoGOFF.cpp
+2-21 files

LLVM/project 4c60c01llvm/lib/Target/Hexagon HexagonConstPropagation.cpp, llvm/test/CodeGen/Hexagon constp-const32-signbit.mir

[Hexagon] Fix assert on sign-bit CONST32 immediates (#182118)

This patch fixes a HexagonConstPropagation assert when evaluating
sign-bit CONST32/CONST64 immediates (e.g. 0x80000000) after ConstantInt
stopped implicitly truncating, by allowing truncation for that signed
case.
DeltaFile
+22-0llvm/test/CodeGen/Hexagon/constp-const32-signbit.mir
+2-1llvm/lib/Target/Hexagon/HexagonConstPropagation.cpp
+24-12 files

LLVM/project 7cf2845llvm/lib/Target/AMDGPU SIFrameLowering.cpp SIMachineFunctionInfo.h, llvm/test/CodeGen/AMDGPU amdgpu-spill-cfi-saved-regs.ll

[AMDGPU] Implement -amdgpu-spill-cfi-saved-regs

These spills need special CFI anyway, so implementing them directly
where CFI is emitted avoids the need to invent a mechanism to track them
from ISel.

Change-Id: If4f34abb3a8e0e46b859a7c74ade21eff58c4047
Co-authored-by: Scott Linder scott.linder at amd.com
Co-authored-by: Venkata Ramanaiah Nalamothu VenkataRamanaiah.Nalamothu at amd.com
DeltaFile
+2,998-0llvm/test/CodeGen/AMDGPU/amdgpu-spill-cfi-saved-regs.ll
+37-12llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
+11-2llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
+9-0llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
+7-0llvm/lib/Target/AMDGPU/SIFrameLowering.h
+2-1llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
+3,064-152 files not shown
+3,067-168 files

LLVM/project 83d0610llvm/include/llvm/CodeGen MachineFunction.h, llvm/lib/CodeGen MachineFunction.cpp

[AMDGPU][MC] Replace shifted registers in CFI instructions

Change-Id: I0d99e9fe43ec3b6fecac20531119956dca2e4e5c
DeltaFile
+67-67llvm/test/CodeGen/AMDGPU/sgpr-spill-overlap-wwm-reserve.mir
+33-0llvm/lib/MC/MCDwarf.cpp
+15-15llvm/test/CodeGen/AMDGPU/dwarf-multi-register-use-crash.ll
+10-0llvm/lib/CodeGen/MachineFunction.cpp
+4-4llvm/test/CodeGen/AMDGPU/debug-frame.ll
+4-0llvm/include/llvm/CodeGen/MachineFunction.h
+133-864 files not shown
+141-8810 files

LLVM/project 46091c3llvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll gfx-callable-argument-types.ll

[AMDGPU] Implement CFI for CSR spills

Introduce new SPILL pseudos to allow CFI to be generated for only CSR
spills, and to make ISA-instruction-level accurate information.

Other targets either generate slightly incorrect information or rely on
conventions for how spills are placed within the entry block. The
approach in this change produces larger unwind tables, with the
increased size being spent on additional DW_CFA_advance_location
instructions needed to describe the unwinding accurately.

Change-Id: I9b09646abd2ac4e56eddf5e9aeca1a5bebbd43dd
Co-authored-by: Scott Linder <scott.linder at amd.com>
Co-authored-by: Venkata Ramanaiah Nalamothu <VenkataRamanaiah.Nalamothu at amd.com>
DeltaFile
+3,360-1,955llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+1,924-1,929llvm/test/CodeGen/AMDGPU/gfx-callable-argument-types.ll
+2,700-12llvm/test/CodeGen/AMDGPU/accvgpr-spill-scc-clobber.mir
+531-531llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+508-508llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
+405-406llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.896bit.ll
+9,428-5,341103 files not shown
+13,415-7,714109 files

LLVM/project ae75483llvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll amdgcn.bitcast.512bit.ll

[AMDGPU] Use register pair for PC spill

Change-Id: Ibedeef926f7ff235a06de65a83087c151f66a416
DeltaFile
+2,562-2,562llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+1,276-1,274llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+818-816llvm/test/CodeGen/AMDGPU/materialize-frame-index-sgpr.ll
+613-613llvm/test/CodeGen/AMDGPU/gfx-callable-argument-types.ll
+552-552llvm/test/CodeGen/AMDGPU/indirect-call.ll
+100-898llvm/test/CodeGen/AMDGPU/bf16.ll
+5,921-6,71586 files not shown
+9,565-10,29692 files

LLVM/project aeeedc7llvm/test/CodeGen/AMDGPU accvgpr-spill-scc-clobber.mir pei-build-av-spill.mir

[AMDGPU] Implement CFI for non-kernel functions

This does not implement CSR spills other than those AMDGPU handles
during PEI. The remaining spills are handled in a subsequent patch.

Change-Id: I5e3a9a62cf9189245011a82a129790d813d49373
Co-authored-by: Scott Linder <scott.linder at amd.com>
Co-authored-by: Venkata Ramanaiah Nalamothu <VenkataRamanaiah.Nalamothu at amd.com>
DeltaFile
+5,568-0llvm/test/CodeGen/AMDGPU/accvgpr-spill-scc-clobber.mir
+3,000-96llvm/test/CodeGen/AMDGPU/pei-build-av-spill.mir
+2,208-72llvm/test/CodeGen/AMDGPU/pei-build-spill.mir
+2,196-0llvm/test/CodeGen/AMDGPU/eliminate-frame-index-s-mov-b32.mir
+2,136-0llvm/test/CodeGen/AMDGPU/vgpr-spill-scc-clobber.mir
+1,671-1llvm/test/CodeGen/AMDGPU/debug-frame.ll
+16,779-16978 files not shown
+22,562-60884 files

LLVM/project b153fe0clang/include/clang/CIR/Dialect/Builder CIRBaseBuilder.h, clang/lib/CIR/CodeGen CIRGenBuiltinAArch64.cpp

[CIR][AArch64] Add lowering for vaba_* and vabd_* builtins (1/N)

Add CIR lowering for the following AdvSIMD (NEON) intrinsic families:

* vabd_*  – Absolute difference
  https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#absolute-difference

* vaba_*  – Absolute difference and accumulate
  https://arm-software.github.io/acle/neon_intrinsics/advsimd.html#absolute-difference-and-accumulate

Tests for these intrinsics were split out from:
  test/CodeGen/AArch64/neon-intrinsics.c

and moved to:
  test/CodeGen/AArch64/neon/intrinsics.c

The following helper hooks were adapted from the ClangIR project:
  * getNeonType, emitNeonCall, emitNeonCallToOp.


    [4 lines not shown]
DeltaFile
+213-0clang/test/CodeGen/AArch64/neon/intrinsics.c
+0-174clang/test/CodeGen/AArch64/neon-intrinsics.c
+137-0clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
+3-0clang/include/clang/CIR/Dialect/Builder/CIRBaseBuilder.h
+353-1744 files

LLVM/project 45a22b7llvm/include/llvm/Analysis ScalarEvolutionExpressions.h, llvm/lib/Transforms/Scalar LoopFuse.cpp LoopPredication.cpp

!fixup address latest comments, thanks
DeltaFile
+18-20llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
+3-3llvm/lib/Transforms/Scalar/LoopFuse.cpp
+1-4llvm/lib/Transforms/Scalar/LoopPredication.cpp
+1-4llvm/lib/Transforms/Scalar/NaryReassociate.cpp
+1-4llvm/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
+1-2llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
+25-371 files not shown
+26-387 files

FreeBSD/ports 1370086devel/arduino-irremote distinfo Makefile

devel/arduino-irremote: Update to 4.6.0

Changes since 4.5.0:

 -  Fixed missing ESP IRAM_ATTR for receiving interrupt.

 -  Changed USE_DEFAULT_FEEDBACK_LED_PIN from 0 to 0xFF, because
    megaTinyCore defines the not special pin PIN_PA4 as 0.

 -  Changed timer for ATtiny16X4.

 -  Fixed missing initialization with pinMode() for feedback LED.

 -  Fixed bitmask error in sendBiphaseData() when not sending start
    bit.

 -  Improved decodeSamsung().

 -  OpenLASIR protocol added by danielweidman.

    [8 lines not shown]
DeltaFile
+3-3devel/arduino-irremote/distinfo
+1-1devel/arduino-irremote/Makefile
+4-42 files

LLVM/project 9deb21bllvm/cmake/modules HandleLLVMOptions.cmake

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+8-0llvm/cmake/modules/HandleLLVMOptions.cmake
+8-01 files

LLVM/project 60eac41clang/lib/Analysis/Scalable ModelStringConversions.h, clang/lib/Analysis/Scalable/Serialization JSONFormat.cpp

[clang][ssaf] Improve serialization for Model types and error messages in `JSONFormat`

This changes fixes the diagnostic infrastructure in `JSONFormat`
implementation to pass model objects (`EntityId`, `EntityLinkage`,
`BuildNamespace`, `NestedBuildNamespace`, `SummaryName`) directly to
`ErrorBuilder` instead of manually extracting their components. This
relies on existing `llvm::format_provider` specializations for these
objects.

To support consistent string conversion for `BuildNamespaceKind` and
`EntityLinkageType`, across both serialization and `operator<<`,
`toString`/`fromString` functions have been introduced in an internal
header `ModelStringConversions.h`.

`EntityLinkage::LinkageType` is promoted to a standalone enum class
`EntityLinkageType` at namespace scope, following the same pattern as
`BuildNamespaceKind`.

Tests have been added for `operator<<` and `format_provider` for all

    [2 lines not shown]
DeltaFile
+140-134clang/unittests/Analysis/Scalable/Serialization/JSONFormatTest/TUSummaryTest.cpp
+58-71clang/lib/Analysis/Scalable/Serialization/JSONFormat.cpp
+106-0clang/unittests/Analysis/Scalable/ModelStringConversionsTest.cpp
+87-0clang/lib/Analysis/Scalable/ModelStringConversions.h
+42-23clang/unittests/Analysis/Scalable/BuildNamespaceTest.cpp
+41-3clang/unittests/Analysis/Scalable/EntityLinkageTest.cpp
+474-23112 files not shown
+567-30318 files

FreeBSD/doc 0f71ddbwebsite/content/en where.adoc

remove stale FreeBSD Mall links

PR: 293468
DeltaFile
+1-1website/content/en/where.adoc
+1-11 files

LLVM/project 6c532a6clang/lib/CodeGen CGDecl.cpp CGOpenMPRuntimeGPU.cpp

[OpenMP] Remove NVPTX local addrspace on parameters (#183195)

In CGOpenMPRuntimeGPU::translateParameter, reference-type captured
variables were translated to pointer parameters with two address-space
annotations:

1. LangAS::opencl_global on the pointee (for map'd variables), which
correctly produces ptr addrspace(1) in NVPTX IR.
2. getLangASFromTargetAS(NVPTX_local_addr=5) on the pointer itself,
annotating the parameter as living in NVPTX local (stack) memory.

The second annotation is incorrect at the Clang type-system level:
EmitParmDecl only supports parameters to be in LangAS::Default (or the
special cases for OpenCL).

Temporarily add an assert in EmitParmDecl that catches parameters with
non-default address spaces in non-OpenCL compilations, and fix the
violation by dropping the NVPTX_local_addr addAddressSpace call.


    [8 lines not shown]
DeltaFile
+2-0clang/lib/CodeGen/CGDecl.cpp
+0-2clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
+2-22 files

LLVM/project 36bd686llvm/include/llvm/Analysis ScalarEvolution.h ScalarEvolutionExpressions.h, llvm/lib/Analysis ScalarEvolution.cpp

[SCEV] Introduce SCEVUse wrapper type (NFC)

Add SCEVUse as a PointerIntPair wrapper around const SCEV * to prepare
for storing additional per-use information.

This commit contains the mechanical changes of adding an intial SCEVUse
wrapper and updating all relevant interfaces to take SCEVUse. Note that
currently the integer part is never set, and all SCEVUses are
considered canonical.
DeltaFile
+280-246llvm/lib/Analysis/ScalarEvolution.cpp
+117-47llvm/include/llvm/Analysis/ScalarEvolution.h
+78-70llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h
+36-29llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+25-26llvm/lib/Transforms/Scalar/NaryReassociate.cpp
+17-18llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
+553-43622 files not shown
+656-52328 files

LLVM/project dc66b51llvm/lib/Target/PowerPC PPCISelLowering.cpp PPC.td, llvm/test/CodeGen/PowerPC fmf-propagation.ll

[PowerPC] Remove `NoNaNsFPMath` uses (#183449)

DeltaFile
+2-221llvm/test/CodeGen/PowerPC/fmf-propagation.ll
+1-3llvm/lib/Target/PowerPC/PPCISelLowering.cpp
+0-4llvm/lib/Target/PowerPC/PPC.td
+3-2283 files

LLVM/project 593c77cclang/lib/Sema SemaOverload.cpp, clang/test/SemaTemplate temp_arg_nontype_cxx11.cpp

[clang] stop error recovery in SFINAE for narrowing in converted constant expressions

A narrowing conversion in a converted constant expression should produce an
invalid expression so that [temp.deduct.general]p7 is satisfied, by stopping
substitution at this point.

Fixes #167709
DeltaFile
+10-1clang/test/SemaTemplate/temp_arg_nontype_cxx11.cpp
+8-1clang/lib/Sema/SemaOverload.cpp
+18-22 files

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

[Clang][AST] Fix extending an unsigned to signed in `ExprConstant.cpp` (#180563)

Fixes #154713.

The crash was due to `Index` sometimes being an unsigned 64-bit integer
which was being zero-extended to a signed 64-bit, triggering an
assertion failure in `APSInt::getExtValue`. This patch zero-extends it
to a unsigned 64-bit integer instead, since `HandleLValueVectorElement`
takes in a `uint64_t` anyway.
DeltaFile
+13-0clang/test/SemaCXX/vector.cpp
+1-1clang/lib/AST/ExprConstant.cpp
+1-0clang/docs/ReleaseNotes.rst
+15-13 files

OpenBSD/src dD9nIMvsys/dev/acpi acpidmar.c

   Reserve the first MB of the DVA address space because qwx(4) doesn't
   succeed in doing DMA when the DVA is 0x1000 and PCI-PCI bridges may not
   forward address in part of that first MB as well.

   ok chris@
VersionDeltaFile
1.11+12-2sys/dev/acpi/acpidmar.c
+12-21 files

FreeBSD/doc ce5cc64website/data/en/vendors consulting.toml misc.toml

remove stale FreeBSD Mall links

PR: 293468
DeltaFile
+0-7website/data/en/vendors/consulting.toml
+0-5website/data/en/vendors/misc.toml
+0-122 files

LLVM/project afe985cflang/include/flang/Parser openmp-utils.h

[flang][OpenMP] Add is_range<R> trait to detect classes with begin/end, NFC
DeltaFile
+16-9flang/include/flang/Parser/openmp-utils.h
+16-91 files

LLVM/project cc8d8a2llvm/test/CodeGen/SystemZ zos-ada-relocations.ll

Update test case to account for ALIAS syntax change.
DeltaFile
+1-1llvm/test/CodeGen/SystemZ/zos-ada-relocations.ll
+1-11 files

FreeBSD/src 73d9153tests/sys/kern Makefile

tests/kern: put ssl_sendfile under MK_OPENSSL != no

Reported by:    wosch
DeltaFile
+1-1tests/sys/kern/Makefile
+1-11 files

LLVM/project 176b134llvm/lib/Target/SystemZ SystemZAsmPrinter.cpp, llvm/test/CodeGen/SystemZ zos-ada-relocations.ll

[SystemZ] Emit external aliases for indirect function descriptors in the ADA section

This is the last of the three patches aimed to support indirect symbol handling for
the SystemZ backend.

An external alias is emitted for indirect function descriptors within the ADA
section, rather than a temporary alias, while also setting all of the appropriate
symbol attributes that are needed for the HLASM streamer to emit the correct XATTR
and ALIAS instructions for the indirect symbols.

Moreover, this patch updates the `CodeGen/SystemZ/zos-ada-relocations.ll` test
as the ADA section is currently the only user of indirect symbols on z/OS.
DeltaFile
+7-4llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
+5-1llvm/test/CodeGen/SystemZ/zos-ada-relocations.ll
+12-52 files

LLVM/project 502aa43llvm/lib/MC MCAsmInfoGOFF.cpp, llvm/lib/Target/SystemZ/MCTargetDesc SystemZHLASMAsmStreamer.cpp

Fix syntax of alias.
DeltaFile
+7-6llvm/lib/MC/MCAsmInfoGOFF.cpp
+2-2llvm/lib/Target/SystemZ/MCTargetDesc/SystemZHLASMAsmStreamer.cpp
+9-82 files

FreeBSD/src 5547a7bsys/netinet ip_divert.c

divert: Use a better source identifier for netisr_queue_src() calls

These opaque IDs are used by netisr to distribute work among threads.
The mapping function is simply SourceID % numthreads, so using socket
addresses as source IDs isn't going to distribute packets well due to
alignment.

Use the divert socket's generation number instead, as that suits this
purpose much better.

Reviewed by:    zlei, glebius
MFC after:      1 week
Sponsored by:   OPNsense
Sponsored by:   Klara, Inc.
Differential Revision:  https://reviews.freebsd.org/D55537
DeltaFile
+4-2sys/netinet/ip_divert.c
+4-21 files

LLVM/project 19c862dclang/lib/CIR/CodeGen CIRGenFunction.cpp CIRGenExprCXX.cpp

[CIR][NFC] Fix unused variable warnings (#183604)

We have accumulated four places where variables were only being used in
asserts. This change silences the warnings for that.
DeltaFile
+3-2clang/lib/CIR/CodeGen/CIRGenFunction.cpp
+1-1clang/lib/CIR/CodeGen/CIRGenExprCXX.cpp
+1-1clang/lib/CIR/CodeGen/CIRGenAsm.cpp
+5-43 files