LLVM/project f513f44llvm/test/Transforms/Inline inline-call-with-asm-call.ll ignore-debug-info.ll, llvm/test/Transforms/Inline/AArch64 inline-target-attr.ll

[Inline] Remove redundant run lines in tests (#179959)

625038d5d5f406385f44983ac2a442b20ad7b241 added NewPM CGSCC coverage to
all of the inliner tests. Now that the NewPM is the default for the
middle end, both check lines cover the same thing (with -passes="inline"
expanding to -passes="cgscc(inline)"). Given that, remove them to get
rid of the redundancy and make the tests run slightly faster (not
measured).
DeltaFile
+0-3llvm/test/Transforms/Inline/inline-call-with-asm-call.ll
+0-2llvm/test/Transforms/Inline/ignore-debug-info.ll
+0-1llvm/test/Transforms/Inline/2007-12-19-InlineNoUnwind.ll
+0-1llvm/test/Transforms/Inline/2008-09-02-NoInline.ll
+0-1llvm/test/Transforms/Inline/2009-01-08-NoInlineDynamicAlloca.ll
+0-1llvm/test/Transforms/Inline/AArch64/inline-target-attr.ll
+0-974 files not shown
+0-8380 files

LLVM/project 0c8b435clang/lib/Driver/ToolChains HIPSPV.cpp, clang/test/Driver hipspv-toolchain-rdc.hip hipspv-toolchain.hip

[Clang][retry 2] Lift HIPSPV onto the new offload driver (#179902)

Update HIPSPV toolchain to support `--offload-new-driver`. Additionally,
tailor llvm-spirv invocation for
[chipStar](github.com/CHIP-SPV/chipStar) via `spirv64-*-chipstar`
offload triple.

AFAICT, all the relevant test failures in the previous PR (#178664) came
from tests involving `-Xoffload-compiler ‘-###’` in their RUN
directives. I have reworked those tests in this PR.
DeltaFile
+98-42clang/test/Driver/hipspv-toolchain-rdc.hip
+92-16clang/test/Driver/hipspv-toolchain.hip
+59-11clang/lib/Driver/ToolChains/HIPSPV.cpp
+66-0clang/test/Driver/hipspv-toolchain-rdc-separate.hip
+39-10clang/test/Driver/hipspv-link-static-library.hip
+27-8clang/test/Driver/hipspv-pass-plugin.hip
+381-879 files not shown
+439-11215 files

LLVM/project 4d27530llvm/include/llvm/Object OffloadBinary.h, llvm/lib/Object OffloadBinary.cpp

[Offloading] Offload Binary Format V2: Support Multiple Entries (#169425)

This PR updates the OffloadBinary format from version 1 to version 2,
enabling support for multiple offloading entries in a single binary.
This allows combining multiple device images into a single binary with
common global metadata while maintaining backwards compatibility with
version 1 binaries.

# Key Changes
## Binary Format Enhancements
  **Version 2 Format Changes:**
  - Changed from single-entry to multi-entry design
  - Updated `Header` structure:
    - Renamed `EntryOffset` → `EntriesOffset` (offset to entries array)
    - Renamed `EntrySize` → `EntriesCount` (number of entries)
- Added `StringEntry::ValueSize` field to support explicit string value
sizes (enables non-null-terminated strings)
- Introduced `OffloadEntryFlags` enum with `OIF_Metadata` flag for
metadata-only entries (entries without binary images)

    [34 lines not shown]
DeltaFile
+156-62llvm/lib/Object/OffloadBinary.cpp
+209-1llvm/unittests/Object/OffloadingTest.cpp
+87-40llvm/include/llvm/Object/OffloadBinary.h
+28-28llvm/tools/obj2yaml/offload2yaml.cpp
+17-15llvm/lib/ObjectYAML/OffloadEmitter.cpp
+15-0llvm/test/ObjectYAML/Offload/malformed-entries-count.yaml
+512-1469 files not shown
+541-17215 files

FreeBSD/src c5ee920usr.sbin/wpa/wpa_supplicant wpa_supplicant.conf.5

wpa_supplicant.conf.5: Remove removed variables

2005-09-25 - wpa_supplicant v0.4.5 removed "server_nai"
2008-02-22 - wpa_supplicant v0.6.3 removed "eappsk" and "nai"

PR:                     284126
MFC after:              3 days
Reviewed by:            carlavilla, ziaee
Reported by:            J.R. Oldroyd <fbsd at opal.com>
Differential Revision:  https://reviews.freebsd.org/D49010
DeltaFile
+0-6usr.sbin/wpa/wpa_supplicant/wpa_supplicant.conf.5
+0-61 files

LLVM/project 1091077libc/shared/math f16fmaf128.h, libc/src/__support/math f16fmaf128.h CMakeLists.txt

[libc][math] Refactor f16fmaf128 to Header Only (#177850)

Closes #175318 

In preparation for:
https://discourse.llvm.org/t/rfc-make-clang-builtin-math-functions-constexpr-with-llvm-libc-to-support-c-23-constexpr-math-functions/86450
DeltaFile
+37-0libc/src/__support/math/f16fmaf128.h
+30-0libc/shared/math/f16fmaf128.h
+13-1utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+12-0libc/src/__support/math/CMakeLists.txt
+7-0libc/test/shared/shared_math_test.cpp
+2-4libc/src/math/generic/f16fmaf128.cpp
+101-53 files not shown
+104-79 files

LLVM/project 8dbb9f6llvm/lib/Transforms/Vectorize SLPVectorizer.cpp, llvm/test/Transforms/PhaseOrdering/X86 loadcombine.ll

[SLP]Remove LoadCombine workaround after handling of the copyables

LoadCombine pattern handling was added as a workaround for the cases,
where the SLP vectorizer could not vectorize the code effectively. With
the copyables support, it can handle it directly.

Also, patch adds support for scalar loads[ + bswap] pattern for byte
sized loads (+ reverse bytes for bswap)

Reviewers: RKSimon, hiraditya

Pull Request: https://github.com/llvm/llvm-project/pull/174205
DeltaFile
+38-378llvm/test/Transforms/SLPVectorizer/X86/bad-reduction.ll
+142-99llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
+12-204llvm/test/Transforms/PhaseOrdering/X86/loadcombine.ll
+4-17llvm/test/Transforms/SLPVectorizer/X86/load-merge-inseltpoison.ll
+4-17llvm/test/Transforms/SLPVectorizer/X86/load-merge.ll
+200-7155 files

LLVM/project f517520llvm/utils profcheck-xfail.txt

[ProfCheck] Add ExpandIRInsts test to xfail list

We have not finished fixing all the ExpandIRInsts tests for the
profcheck configuration (PRs are in flight), so disable for now until
those land so it is easier to catch more regressions.
DeltaFile
+1-0llvm/utils/profcheck-xfail.txt
+1-01 files

FreeBSD/src dc2ec1csbin/geom/core geom.8

geom.8: Improve classes list into a table

Add missing entries MD, VFS, and DISK. Refactor list into a three
column table, so the data is all visible at once, buying us ten lines
at MANWIDTH 80, and still rendering nicely at MANWIDTH 59.

PR:             292530
MFC after:      3 days
Reported by:    Slawomir Wojciech Wojtczak <vermaden at interia.pl>
DeltaFile
+9-36sbin/geom/core/geom.8
+9-361 files

LLVM/project ddda8d7clang/lib/AST/ByteCode Compiler.cpp, clang/test/AST/ByteCode cxx20.cpp

[clang][bytecode] Fix reading union template parameter object (#179899)

Before this patch, reading union template parameter object will trigger
diagnostics saying it's not initialized. This patch fixes this issue.

Reading union template parameter with no active fields, class type
fields, or bit-fields is handled as a drive-by.

AI usage: The implementation was generated by AI and modified by me
afterwards.

Assisted-by: GPT-5.2

---------

Co-authored-by: Timm Baeder <tbaeder at redhat.com>
DeltaFile
+22-6clang/lib/AST/ByteCode/Compiler.cpp
+24-0clang/test/AST/ByteCode/cxx20.cpp
+46-62 files

pkgng/pkgng 73cabc8libpkg pkg_add.c pkg_create.c

Plug more memory leaks
DeltaFile
+6-0libpkg/pkg_add.c
+1-0libpkg/pkg_create.c
+7-02 files

LLVM/project d3fb3c5llvm/include/llvm/CodeGen/GlobalISel CallLowering.h, llvm/lib/CodeGen/GlobalISel CallLowering.cpp

[GISel][CallLowering] Keep IR types longer (#179946)

GISel CallLowering currently does a Type -> EVT -> Type roundtrip early
on when populating ArgInfo in splitToValueType(). This is a bit odd as
this structure operates at the IR Type level. Keep the original type
there and only convert to EVT when performing assignments.
DeltaFile
+15-18llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
+12-12llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_kernel.ll
+1-1llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
+1-1llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
+29-324 files

LLVM/project 7b50a7dllvm/include/llvm/CodeGen/GlobalISel CSEInfo.h, llvm/lib/CodeGen/GlobalISel CSEInfo.cpp

GlobalISel: Remove unused argument from CSEInfo

Nothing uses this force recomputation.
DeltaFile
+2-3llvm/lib/CodeGen/GlobalISel/CSEInfo.cpp
+1-2llvm/include/llvm/CodeGen/GlobalISel/CSEInfo.h
+3-52 files

FreeBSD/src b18604esys/modules/hyperv/pcib Makefile

hyperv: Add opt_acpi.h to SRCS

Add opt_acpi.h to SRCS as it is required by the hyper-v pcib sources.

Reviewed by: imp
Sponsored by: Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D48166
DeltaFile
+1-0sys/modules/hyperv/pcib/Makefile
+1-01 files

LLVM/project 13e0537clang/include/clang/Basic TokenKinds.h, clang/lib/CodeGen ItaniumCXXABI.cpp

translate typeinfo to default encoding, address other comments
DeltaFile
+13-4clang/lib/CodeGen/ItaniumCXXABI.cpp
+4-4clang/lib/Lex/TextEncodingConfig.cpp
+0-7clang/include/clang/Basic/TokenKinds.h
+17-153 files

LLVM/project 25b4609flang/test/Lower dummy-procedure-character.f90 equivalence-2.f90

[flang][NFC] Converted five tests from old lowering to new lowering (part 14) (#179852)

Tests converted from test/Lower: dummy-procedure-character.f90,
dummy-procedure-in-entry.f90, dummy-procedure.f90, equivalence-1.f90,
equivalence-2.f90
DeltaFile
+79-41flang/test/Lower/dummy-procedure-character.f90
+51-28flang/test/Lower/equivalence-2.f90
+28-24flang/test/Lower/equivalence-1.f90
+25-23flang/test/Lower/dummy-procedure.f90
+13-15flang/test/Lower/dummy-procedure-in-entry.f90
+196-1315 files

FreeBSD/ports 3851fc4devel/jenkins distinfo Makefile

devel/jenkins: Update to 2.549

Sponsored by:   The FreeBSD Foundation

(cherry picked from commit aa5ff26f66bc7ba749e5b413a80e11b05b128962)
DeltaFile
+3-3devel/jenkins/distinfo
+1-1devel/jenkins/Makefile
+4-42 files

FreeBSD/ports ecc7981devel/jenkins-lts distinfo Makefile

devel/jenkins-lts: Update to 2.541.1

Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-3devel/jenkins-lts/distinfo
+1-1devel/jenkins-lts/Makefile
+4-42 files

pkgng/pkgng cc8ccb9libpkg pkg_add.c

Attempt to plug more leaks
DeltaFile
+6-0libpkg/pkg_add.c
+6-01 files

FreeBSD/src ee44ab9usr.bin/diff diffdir.c

diff: Fix build

rc must be defined first.

Fixes:          590126789c84
MFC after:      1 week
X-MFC with:     590126789c84
DeltaFile
+2-0usr.bin/diff/diffdir.c
+2-01 files

LLVM/project d737229llvm/lib/CodeGen ExpandIRInsts.cpp, llvm/test/Transforms/ExpandIRInsts/X86 expand-int-convert-small.ll

[ExpandIRInsts] Allow int bw == float bw in itofp (#179943)

I don't think anything here requires the integer bit width to be
strictly larger. It's fine if it's the same (in which case some zexts
just go away).

Add tests on half + i32 that can be verified by alive2. Note that half
is handled via float, so the minimum supported type is i32 rather than
i16.

Proof (uitofp): https://alive2.llvm.org/ce/z/CsMfkU
Proof (sitofp): https://alive2.llvm.org/ce/z/jzuxyt
DeltaFile
+150-0llvm/test/Transforms/ExpandIRInsts/X86/expand-int-convert-small.ll
+2-2llvm/lib/CodeGen/ExpandIRInsts.cpp
+152-22 files

LLVM/project e0c2cc7llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU buffer-fat-pointers-contents-legalization.ll

[AMDGPU][GlobalISel] Add buffer store byte/short RegBankLegalize rules (#179367)

DeltaFile
+356-114llvm/test/CodeGen/AMDGPU/buffer-fat-pointers-contents-legalization.ll
+4-2llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+3-3llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.buffer.store.ll
+3-3llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.struct.buffer.store.ll
+1-1llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.raw.ptr.buffer.store.ll
+1-1llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.struct.ptr.buffer.store.ll
+368-1246 files

OPNSense/core 96ceae0src/opnsense/mvc/app/library/OPNsense/Firewall ForwardRule.php

Firewall: NAT: Destination NAT - fix target mapping inconsistency leading to ip and network references not being processed (e.g. "lan ip", "wan network")
DeltaFile
+2-2src/opnsense/mvc/app/library/OPNsense/Firewall/ForwardRule.php
+2-21 files

LLVM/project 8283972llvm/utils/gn/secondary/lldb/source/Plugins/Process/Utility BUILD.gn

[gn build] Port 427bb1cc1b09
DeltaFile
+0-1llvm/utils/gn/secondary/lldb/source/Plugins/Process/Utility/BUILD.gn
+0-11 files

FreeBSD/src d15d6bfsys/dev/acpica acpi.c

acpi: Fix trying to enter NONE state

In acpi_system_eventhandler_sleep(), I forgot to update
ACPI_STATE_UNKNOWN when switching to new sleep types.

Reviewed by:    olce
Approved by:    olce
Fixes:  97d152698f48 ("acpi: Use sleep types defined in sys/power.h")
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D55119
DeltaFile
+1-1sys/dev/acpica/acpi.c
+1-11 files

FreeBSD/src d35e369sys/dev/acpi_support acpi_ibm.c, sys/dev/syscons syscons.c

sys/power.h: enum power_sstate_transition

Turn POWER_SLEEP_STATE_* defines into enum power_sstate_transition.

Reviewed by:    markj
Approved by:    markj
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D52497
DeltaFile
+10-8sys/sys/power.h
+7-6sys/kern/subr_power.c
+6-1sys/dev/acpi_support/acpi_ibm.c
+2-2sys/dev/vt/vt_core.c
+2-2sys/dev/syscons/syscons.c
+27-195 files

FreeBSD/ports aa5ff26devel/jenkins distinfo Makefile

devel/jenkins: Update to 2.549

Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-3devel/jenkins/distinfo
+1-1devel/jenkins/Makefile
+4-42 files

LLVM/project 427bb1clldb/source/Plugins/Process/FreeBSD NativeRegisterContextFreeBSD_mips64.cpp NativeRegisterContextFreeBSD_mips64.h, lldb/source/Plugins/Process/Utility RegisterContextFreeBSD_mips64.cpp RegisterContextFreeBSD_mips64.h

[lldb] Remove mips64 support for FreeBSD (#179582)

The last FreeBSD version supporting mips64 is FreeBSD 13 which will be
EOLed on April 30th. LLVM 23.1.0 release is expected to be August 25th
according to the LLVM calendar. The usage of mips64 is less noticeable
so it's hard to know if it is properly working, and even if it works, it
is hard to test new features on FreeBSD mips64.

Thus, remove support for mips64 on FreeBSD.

---------

Signed-off-by: Minsoo Choo <minsoochoo0122 at proton.me>
DeltaFile
+0-240lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_mips64.cpp
+0-179lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_mips64.cpp
+0-75lldb/source/Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD_mips64.h
+0-30lldb/source/Plugins/Process/Utility/RegisterContextFreeBSD_mips64.h
+2-7lldb/source/Plugins/Process/Utility/RegisterContextPOSIX_mips64.cpp
+0-4lldb/source/Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp
+2-5357 files not shown
+6-54513 files

LLVM/project 5491721.github/workflows release-asset-audit.yml

workflows/release-asset-audit: Split workflow into two jobs (#179833)

This way we can assign an environment to the job that uses the
ISSUE_SUBSCRIBER_TOKEN secret.
DeltaFile
+23-3.github/workflows/release-asset-audit.yml
+23-31 files

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

[NFC][analyzer] Cleanup dead code around NodeBuilder (#179711)

As I was trying to understand the class `NodeBuilder` and its
subclasses, I wasted a few hours on studying dead or needlessly
complicated code. I'm creating this patch to ensure that others in the
future won't need to bother with this cruft.

This commit eliminates three deficiencies:
- (Small change:) In a constructor of `StmtNodeBuilder` I switched to
using the `takeNodes()` overload which accepts an `ExplodedNodeSet`
(instead of manually iterating).
- The `Finalized` attribute of NodeBuilder was completely irrelevant (it
was always initialized to `true`).
- The "main" feature of `NodeBuilderWithSinks` was that it gathered the
generated sink nodes into a set, but this was never actually used. As
the only other feature (storing a `ProgramPoint` in a data member) was
very trivial, I replaced this class with a plain `NodeBuilder` in the
only location that used it.
DeltaFile
+8-67clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
+14-9clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
+4-6clang/lib/StaticAnalyzer/Core/CoreEngine.cpp
+2-4clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
+28-864 files

LLVM/project f52d74cclang/lib/CIR/CodeGen CIRGenBuiltinAArch64.cpp CIRGenFunction.h

Address comments from Andy
DeltaFile
+16-14clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
+1-1clang/lib/CIR/CodeGen/CIRGenFunction.h
+17-152 files