LLVM/project b8b5962llvm/lib/CodeGen InsertCodePrefetch.cpp

[NFC] clang-format llvm/lib/CodeGen/InsertCodePrefetch.cpp. (#191959)
DeltaFile
+4-3llvm/lib/CodeGen/InsertCodePrefetch.cpp
+4-31 files

NetBSD/pkgsrc WQzKJllgraphics/raqm distinfo Makefile

   raqm: updated to 0.10.5

   0.10.5
   Check for NULL return from malloc in couple of places.
VersionDeltaFile
1.5+4-4graphics/raqm/distinfo
1.7+3-3graphics/raqm/Makefile
+7-72 files

LLVM/project f1fcaa2mlir/include/mlir/IR BuiltinDialectBytecode.td

Remove ifdefs for now
DeltaFile
+0-4mlir/include/mlir/IR/BuiltinDialectBytecode.td
+0-41 files

HardenedBSD/src 47a5508sys/fs/nfs nfs_commonsubs.c nfsid.h, sys/nfs nfs_diskless.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+66-10sys/fs/nfs/nfs_commonsubs.c
+44-0sys/nfs/nfs_diskless.c
+13-0sys/fs/nfs/nfsid.h
+1-0sys/fs/nfs/nfsrvstate.h
+124-104 files

LLVM/project 7c671demlir/utils/vscode package.json

Bump version

Created using jj-spr 0.1.0
DeltaFile
+1-1mlir/utils/vscode/package.json
+1-11 files

DragonFlyBSD/src 8e1fcacsys/dev/misc/syscons syscons.c

kernel - Fix console access by non-root

* Fix console access via /dev/tty or /dev/ttyv* via a user login,
  when logged in as that user.

  The priv check was only allowing root access and needed a flag to
  also allow matching users access.

* Note that console access from a restricted root "root" user such
  as from a jail is not allowed (intentionally), because console ioctls
  can be dangerous.

Reported-by: aly, peeterm
DeltaFile
+7-2sys/dev/misc/syscons/syscons.c
+7-21 files

LLVM/project fe2ba89llvm/test/CodeGen/AMDGPU memory-legalizer-private-wavefront.ll memory-legalizer-private-singlethread.ll, llvm/test/CodeGen/RISCV/rvv vfma-vp.ll

Rebase

Created using jj-spr 0.1.0
DeltaFile
+4,582-5,914llvm/test/CodeGen/RISCV/rvv/vfma-vp.ll
+8,544-1,366llvm/test/CodeGen/AMDGPU/memory-legalizer-private-wavefront.ll
+8,544-1,366llvm/test/CodeGen/AMDGPU/memory-legalizer-private-singlethread.ll
+8,544-1,366llvm/test/CodeGen/AMDGPU/memory-legalizer-private-workgroup.ll
+8,449-1,355llvm/test/CodeGen/AMDGPU/memory-legalizer-private-agent.ll
+8,449-1,355llvm/test/CodeGen/AMDGPU/memory-legalizer-private-cluster.ll
+47,112-12,7225,841 files not shown
+524,207-206,4185,847 files

LLVM/project ee9ae0dmlir/utils/vscode package.json, mlir/utils/vscode/src mlirContext.ts

[jj-spr] initial version

Created using jj-spr 0.1.0
DeltaFile
+18-0mlir/utils/vscode/package.json
+12-0mlir/utils/vscode/src/mlirContext.ts
+30-02 files

LLVM/project 2db12ccllvm/lib/Frontend/OpenMP OMPIRBuilder.cpp, mlir/test/Target/LLVMIR openmp-llvm.mlir

Add test for fallback path and update assert message
DeltaFile
+65-0mlir/test/Target/LLVMIR/openmp-llvm.mlir
+2-2llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+67-22 files

FreeBSD/ports 708d77daudio/ft2-clone distinfo Makefile

audio/ft2-clone: Update to 2.16
DeltaFile
+3-3audio/ft2-clone/distinfo
+1-1audio/ft2-clone/Makefile
+4-42 files

FreeBSD/ports 2c55d53x11/xterm distinfo Makefile

x11/xterm: Update to 409
DeltaFile
+3-3x11/xterm/distinfo
+1-1x11/xterm/Makefile
+4-42 files

HardenedBSD/ports 708d77daudio/ft2-clone distinfo Makefile

audio/ft2-clone: Update to 2.16
DeltaFile
+3-3audio/ft2-clone/distinfo
+1-1audio/ft2-clone/Makefile
+4-42 files

HardenedBSD/ports 2c55d53x11/xterm distinfo Makefile

x11/xterm: Update to 409
DeltaFile
+3-3x11/xterm/distinfo
+1-1x11/xterm/Makefile
+4-42 files

LLVM/project 4b00dd5llvm/lib/Frontend/OpenMP OMPIRBuilder.cpp, mlir/test/Target/LLVMIR openmp-llvm.mlir

[OpenMP][OMPIRBuilder] Support complex types in atomic update/capture

Route struct-typed values through the libcall path in
`emitAtomicUpdate`.

Previously, the libcall path was gated on `RMWOp == BAD_BINOP`, so
atomic capture swap patterns (`v = x; x = expr`) for complex values
lowered as structs fell through to the cmpxchg path. That path called
`getScalarSizeInBits()` on a struct type, produced 0, and triggered an
assertion in `IntegerType::get()`.

Remove the `BAD_BINOP` restriction so struct types always use the
libcall path. This is safe because the libcall path does not use
`RMWOp` and already handles arbitrary type sizes correctly.

Also fix `LoadSize` in the libcall path to use `XElemTy` rather than
the pointer type, which previously gave the wrong size for larger
complex types such as `complex(8)`.


    [3 lines not shown]
DeltaFile
+22-0mlir/test/Target/LLVMIR/openmp-llvm.mlir
+5-8llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
+27-82 files

LLVM/project d9c02ffcompiler-rt/lib/xray/tests/unit fdr_controller_test.cpp fdr_log_writer_test.cpp, llvm/lib/XRay Trace.cpp InstrumentationMap.cpp

[XRay] Remove unused argument of DataExtractor constructor (NFC) (#191864)

`AddressSize` parameter is not used by `DataExtractor` and will be
removed in the future. See #190519 for more context.
DeltaFile
+14-14compiler-rt/lib/xray/tests/unit/fdr_controller_test.cpp
+5-5llvm/lib/XRay/Trace.cpp
+3-3llvm/unittests/XRay/FDRTraceWriterTest.cpp
+3-3compiler-rt/lib/xray/tests/unit/fdr_log_writer_test.cpp
+2-2llvm/unittests/XRay/FDRProducerConsumerTest.cpp
+1-3llvm/lib/XRay/InstrumentationMap.cpp
+28-302 files not shown
+30-328 files

LLVM/project 429f39fllvm/lib/Target/LoongArch LoongArchISelDAGToDAG.cpp LoongArchLSXInstrInfo.td, llvm/test/CodeGen/LoongArch/lasx/ir-instruction sub.ll

[LoongArch] Select VSUBI for add with negative splat immediates

Currently, vector add with a negative splat immediate is lowered as a
vector splat followed by a register-register add, e.g.:

```
vrepli.b $vr1, -1
vadd.b   $vr0, $vr0, $vr1
```

This misses the opportunity to use the more efficient VSUBI instruction
with a positive immediate.

This patch introduces `selectVSplatImmNeg` to detect negative splat
immediates whose negated value fits in a 5-bit unsigned immediate. New
patterns `(Pat{Vr,Xr}Nimm5)` are added to match:

```
add v, splat(-imm)  -->  vsubi v, v, imm

    [12 lines not shown]
DeltaFile
+22-0llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.cpp
+16-0llvm/lib/Target/LoongArch/LoongArchLSXInstrInfo.td
+5-10llvm/test/CodeGen/LoongArch/lasx/ir-instruction/sub.ll
+5-10llvm/test/CodeGen/LoongArch/lsx/ir-instruction/sub.ll
+12-0llvm/lib/Target/LoongArch/LoongArchLASXInstrInfo.td
+2-0llvm/lib/Target/LoongArch/LoongArchISelDAGToDAG.h
+62-206 files

LLVM/project d833724llvm/test/CodeGen/LoongArch/lasx/ir-instruction sub.ll, llvm/test/CodeGen/LoongArch/lsx/ir-instruction sub.ll

[LoongArch][NFC] Add tests for add with negative splat immediates
DeltaFile
+66-0llvm/test/CodeGen/LoongArch/lsx/ir-instruction/sub.ll
+66-0llvm/test/CodeGen/LoongArch/lasx/ir-instruction/sub.ll
+132-02 files

LLVM/project 13060e1clang/include/clang/CIR MissingFeatures.h, clang/include/clang/CIR/Dialect/IR CIROps.td

[CIR] Remove OpenCLKernel enum and updated the ordering to match llvm::CallingConv
DeltaFile
+8-8clang/include/clang/CIR/Dialect/IR/CIROps.td
+0-4clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+0-1clang/include/clang/CIR/MissingFeatures.h
+8-133 files

LLVM/project 6f8ba79clang/include/clang/CIR MissingFeatures.h, clang/lib/CIR/CodeGen CIRGenModule.cpp CIRGenItaniumCXXABI.cpp

[CIR] Restore MissingFeatures asserts and fix OpenCLKernel handling
DeltaFile
+6-5clang/lib/CIR/CodeGen/CIRGenModule.cpp
+5-1clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp
+3-1clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+2-1clang/lib/CIR/CodeGen/CIRGenCall.cpp
+2-0clang/include/clang/CIR/MissingFeatures.h
+18-85 files

LLVM/project c7a63b2clang/include/clang/CIR/Dialect/IR CIROps.td, clang/lib/CIR/CodeGen CIRGenModule.cpp

[CIR] Add calling_conv attribute to FuncOp with lowering support
DeltaFile
+38-0clang/test/CIR/IR/calling-conv.cir
+34-0clang/test/CIR/Lowering/calling-conv.cir
+24-5clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
+26-1clang/lib/CIR/Dialect/IR/CIRDialect.cpp
+16-1clang/include/clang/CIR/Dialect/IR/CIROps.td
+5-6clang/lib/CIR/CodeGen/CIRGenModule.cpp
+143-133 files not shown
+146-219 files

LLVM/project d3f369eclang/include/clang/CIR/Dialect/IR CIROps.td

[CIR] Add calling convention values to CIR_CallingConv
DeltaFile
+8-3clang/include/clang/CIR/Dialect/IR/CIROps.td
+8-31 files

LLVM/project f4e1a51bolt/lib/Core BinaryContext.cpp DIEBuilder.cpp, bolt/lib/Rewrite LinuxKernelRewriter.cpp DWARFRewriter.cpp

[bolt] Remove unused argument of DataExtractor constructor (NFC) (#191841)

`AddressSize` parameter is not used by `DataExtractor` and will be
removed in the future. See #190519 for more context.

I took the liberty of switching from using the `StringRef` constructor
overload to `ArrayRef` where appropriate.
DeltaFile
+26-34bolt/lib/Rewrite/LinuxKernelRewriter.cpp
+3-6bolt/lib/Core/BinaryContext.cpp
+2-6bolt/lib/Core/DIEBuilder.cpp
+2-5bolt/lib/Rewrite/DWARFRewriter.cpp
+2-4bolt/lib/Rewrite/RewriteInstance.cpp
+2-4bolt/lib/Core/DebugNames.cpp
+37-596 files not shown
+43-6812 files

LLVM/project 3a5555dclang/lib/CIR/CodeGen CIRGenBuiltinAMDGPU.cpp, clang/test/CIR/CodeGenHIP builtins-amdgcn-logb-scalbn.hip

[CIR][AMDGPU] Fix FltSemantics, naming convention, and CIR APIs
DeltaFile
+52-61clang/lib/CIR/CodeGen/CIRGenBuiltinAMDGPU.cpp
+12-0clang/test/CIR/CodeGenHIP/builtins-amdgcn-logb-scalbn.hip
+64-612 files

LLVM/project 8619a5eflang/lib/Lower/OpenMP OpenMP.cpp, flang/test/Lower/OpenMP declare-target-named-main-interface.f90 real10.f90

[flang][OpenMP] Avoid marking named main programs as declare target (#190250)

A bare `!$omp declare target` could incorrectly mark `_QQmain` as
`omp.declare_target` when it appeared in an interface body inside a
named
main program. That pulled host-only callees into device compilation and
caused offload link failures.

Fix this by skipping main programs in the implicit-capture path.
Also add a regression test for the named-main interface case and update
`real10.f90` to use a valid container for the bare `declare target`
form.

This fixes offload link failures where `_QQmain` was incorrectly treated
as
a device function and pulled in host-only symbols such as Fortran I/O
runtime calls.

Minimal reproducer:

    [13 lines not shown]
DeltaFile
+32-0flang/test/Lower/OpenMP/declare-target-named-main-interface.f90
+6-3flang/lib/Lower/OpenMP/OpenMP.cpp
+3-3flang/test/Lower/OpenMP/real10.f90
+41-63 files

LLVM/project 93a6725clang/lib/Driver/ToolChains FreeBSD.h, clang/test/Driver instrprof-ld.c sanitizer-ld.c

[ToolChains][FreeBSD] Set default Linker to LLD for FreeBSD (#190596)

When the linker is specified as ld, toolchain applies special handling
by invoking (triple)-ld instead of resolving ld via standard PATH
lookup. This causes GNU ld installed via the system package manager to
take the precedence (since (triple)-ld appears earlier in the search
path), effectively overriding ld.lld.

As a result, we set the default Linker on FreeBSD to ld.lld to indicate
we want to use lld by default.
DeltaFile
+2-2clang/test/Driver/instrprof-ld.c
+4-0clang/lib/Driver/ToolChains/FreeBSD.h
+2-2clang/test/Driver/sanitizer-ld.c
+1-1clang/test/Driver/coverage-ld.c
+9-54 files

LLVM/project f11b437clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

fix undefined void ty
DeltaFile
+1-0clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+1-01 files

LLVM/project 525dd8cclang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

unreachable on RDC compilation
DeltaFile
+2-1clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+2-11 files

LLVM/project 5d46d7fclang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp, clang/test/CIR/CodeGenCUDA device-stub.cu

[CIR][CUDA] Handle CUDA module constructor and destructor emission.
DeltaFile
+121-2clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+41-0clang/test/CIR/CodeGenCUDA/device-stub.cu
+162-22 files

LLVM/project 562f89bclang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

Use vfs from ast context to get gpubinary
DeltaFile
+0-1clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+0-11 files

LLVM/project 13baf13clang/lib/CIR/Dialect/Transforms LoweringPrepare.cpp

fix fmt
DeltaFile
+1-0clang/lib/CIR/Dialect/Transforms/LoweringPrepare.cpp
+1-01 files