LLVM/project 961676cllvm/lib/CodeGen/AsmPrinter CodeViewDebug.cpp, llvm/test/DebugInfo/COFF builtin-verbose-trap.ll

[CodeView] Generate debug info for artificial subprograms (#196327)

Based on https://clang.llvm.org/docs/AttributeReference.html#artificial,
Artificial subprograms are not required to have a non-zero line number
location, so don't ignore them.

Fix #195768
DeltaFile
+64-0llvm/test/DebugInfo/COFF/builtin-verbose-trap.ll
+14-3llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
+78-32 files

FreeBSD/src 0a2f768share/man/man4 iwlwifi.4 iwlwififw.4

man: iwlwifi/rtw88/rtw89: update man pages for Linux v7.0 based updates

For all:
- harmonize Copyright/license section according to style.9 and used
  SPDX only.
- mention that the current generation of the driver is based on
  Linux version 7.0.
- make linuxkpi.4 and linuxkpi_wlan.4 .Xr as the man pages do exist
  these days.

iwlwifi: update the card/chipset names supported (while we still can)
iwlwififw: leave a comment only that we can no longer update the
  man page and it will be removed in the future.
rtw88: update supported chipsets and add note to BUGS sections
rtw89: update supported chipsets and add note to BUGS sections

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Reviewed by:    ziaee
Differential Revision: https://reviews.freebsd.org/D57019
DeltaFile
+91-99share/man/man4/iwlwifi.4
+6-22share/man/man4/iwlwififw.4
+18-9share/man/man4/rtw88.4
+19-7share/man/man4/rtw89.4
+134-1374 files

LLVM/project 5cf3e86lldb/packages/Python/lldbsuite/test lldbutil.py

[lldb] Fix test timeouts on sanitized builds (#197953)

Switch to a fixed timeout and a shorter polling interval to reduce
wasted time. The total timeout in non-sanitized is 120s (same as the
existing implementation) and in sanitized builds, it is 600s matching
`lit_config.maxIndividualTestTime`.

Previously, sanitized builds could spend up to 20 seconds idling. While
this specific function wouldn't time out itself, it consumed a
significant portion of the overall test time budget. This would
eventually cause the test to hit the
`lit_config.maxIndividualTestTime` limit (currently 600 seconds).

This delay accumulates quickly in tests with multiple subtests that
implicitly rely on `wait_for_file_on_target` (for example,
`TestLLDBGdbServer.py`).
If a test has 5 subtests, it could lose 100 seconds (20s * 5) to idle
polling, leaving only 500 seconds for the entire test to finish.
DeltaFile
+10-13lldb/packages/Python/lldbsuite/test/lldbutil.py
+10-131 files

LLVM/project 4316df8lldb/test/API/python_api/process TestProcessAPI.py

[lldb] Check process info args only on linux. (#197988)

On other platform, the implementation is incomplete.

Unblocks CI
DeltaFile
+25-2lldb/test/API/python_api/process/TestProcessAPI.py
+25-21 files

LLVM/project 597e4aclibcxx/include module.modulemap.in, libcxx/include/__concepts primary_template.h

[libc++] Replace __is_primary_template with a concept (#197646)

`__is_primary_template` is only used in C++20 and later, so we can
replace it with a concept, which is significantly faster than the
current SFINAE machinery. In my testig this reduces the time to
instantiate `std::ranges::find_first_of` from ~48ms to ~40ms.
This also inlines the single remaining use of `_IsValidExpansion`.
DeltaFile
+33-0libcxx/include/__concepts/primary_template.h
+0-32libcxx/include/__type_traits/is_primary_template.h
+0-31libcxx/include/__type_traits/is_valid_expansion.h
+7-8libcxx/include/__iterator/concepts.h
+0-10libcxx/test/libcxx/utilities/meta/meta_base.pass.cpp
+1-8libcxx/include/module.modulemap.in
+41-896 files not shown
+47-10812 files

LLVM/project c82de49libc/config/linux/aarch64 entrypoints.txt, libc/config/linux/riscv entrypoints.txt

[libc] implement fgetwc (#196159)

Add fgetwc function and tests. Part 3/10.

Assisted by Gemini
DeltaFile
+149-0libc/test/src/wchar/fgetwc_test.cpp
+40-0libc/src/wchar/fgetwc.cpp
+28-0libc/src/wchar/fgetwc.h
+3-1libc/test/src/wchar/CMakeLists.txt
+1-1libc/config/linux/riscv/entrypoints.txt
+1-1libc/config/linux/aarch64/entrypoints.txt
+222-31 files not shown
+223-47 files

LLVM/project 05c5493libc/config/linux/aarch64 entrypoints.txt, libc/config/linux/riscv entrypoints.txt

[libc] implement getwc (#196163)

Add getwc function and tests. Part 7/10.

Assisted by Gemini
DeltaFile
+125-0libc/test/src/wchar/getwc_test.cpp
+40-0libc/src/wchar/getwc.cpp
+28-0libc/src/wchar/getwc.h
+3-1libc/test/src/wchar/CMakeLists.txt
+1-1libc/config/linux/aarch64/entrypoints.txt
+1-1libc/config/linux/riscv/entrypoints.txt
+198-31 files not shown
+199-47 files

LLVM/project a00859blibc/config/linux/aarch64 entrypoints.txt, libc/config/linux/riscv entrypoints.txt

[libc] implement putwchar (#196166)

Add putwchar function and tests. Part 10/10.

Assisted by Gemini
DeltaFile
+188-0libc/test/src/wchar/putwchar_test.cpp
+38-0libc/src/wchar/putwchar.cpp
+27-0libc/src/wchar/putwchar.h
+3-1libc/test/src/wchar/CMakeLists.txt
+1-1libc/config/linux/riscv/entrypoints.txt
+1-1libc/config/linux/aarch64/entrypoints.txt
+258-31 files not shown
+259-47 files

LLVM/project f15e7d9mlir/lib/Dialect/SPIRV/Transforms SPIRVWebGPUTransforms.cpp, mlir/test/Dialect/SPIRV/Transforms webgpu-prepare.mlir

[mlir][SPIR-V] Expand spirv.ISubBorrow in WebGPU prepare pass (#197957)
DeltaFile
+37-0mlir/test/Dialect/SPIRV/Transforms/webgpu-prepare.mlir
+24-12mlir/lib/Dialect/SPIRV/Transforms/SPIRVWebGPUTransforms.cpp
+61-122 files

LLVM/project cf510bcmlir/test/Integration/GPU/Vulkan subui_extended.mlir

[mlir][vulkan] Add arith.subui_extended integration test (#197958)
DeltaFile
+71-0mlir/test/Integration/GPU/Vulkan/subui_extended.mlir
+71-01 files

LLVM/project bd4afballdb/examples/python/templates scripted_process.py

[lldb] Add Hexagon register layout to Scripted{Frame,Thread} (#196892)

Add support for handling register information for Hexagon in
ScriptedFrame.get_register_info and ScriptedThread.get_register_info.
DeltaFile
+484-0lldb/examples/python/templates/scripted_process.py
+484-01 files

FreeBSD/doc c9c518dwebsite/themes/beastie/assets/styles main.css, website/themes/beastie/i18n ru.toml zh-tw.toml

New design for the FreeBSD website.
This is not the end of the road, this is the beginning of a
continuous improvement in our website.

Respecting our users privacy, the website can work without
JavaScript enabled.

Tested on:
* FreeBSD: Firefox, Chrome
* Debian GNU/Linux: Firefox, Chrome
* Windows 10: Firefox, Chrome, Edge, IE11
* Windows 11: Firefox, Chrome, Edge
* Android 16: Firefox, Chrome
* iOS: Firefox, Safari

Thanks for all the people who sent feedback about the new design:
* adrian@
* bapt@
* bcr@

    [27 lines not shown]
DeltaFile
+1,547-0website/themes/beastie/assets/styles/main.css
+288-534website/themes/beastie/i18n/ru.toml
+256-485website/themes/beastie/i18n/zh-tw.toml
+0-591website/themes/beastie/i18n/fr.toml
+0-591website/themes/beastie/i18n/de.toml
+0-586website/themes/beastie/i18n/zh-cn.toml
+2,091-2,78772 files not shown
+3,629-5,27578 files

LLVM/project 9d7a7f0llvm/lib/Target/AMDGPU AMDGPU.td AMDGPURemoveIncompatibleFunctions.cpp

[AMDGPU][NFC] Add Wave32Only feature for Wave32-only targets

GFX1250 supports only Wave32, but this was previously inferred
indirectly from the GFX1250Insts feature. This breaks for targets
like GFX13, which also have the GFX1250 feature but support both
Wave32 and Wave64.
DeltaFile
+5-0llvm/lib/Target/AMDGPU/AMDGPU.td
+1-1llvm/lib/Target/AMDGPU/AMDGPURemoveIncompatibleFunctions.cpp
+0-2llvm/lib/Target/AMDGPU/GCNSubtarget.h
+6-33 files

LLVM/project 6b5ca64llvm/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp, llvm/test/MC/AMDGPU literals.s

[AMDGPU] Restore lit() to be accepted as 64-bit FP operand (#197788)

It is worth to note that immediate value comes already truncated
to this point of validation.
DeltaFile
+93-2llvm/test/MC/AMDGPU/literals.s
+2-1llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+95-32 files

FreeNAS/freenas 716604asrc/middlewared/middlewared/apps webshell_app.py

prefer bash for webshell when possible

We have a certain demographic of end-users who will stumble
significantly in a webshell and file bug tickets if they
get presented with something too minimalistic. Default to
bash if available before falling back to sh.
DeltaFile
+17-3src/middlewared/middlewared/apps/webshell_app.py
+17-31 files

LLVM/project e511205llvm/test/CodeGen parse-cfi-unsigned-error.mir

[MC][Dwarf] Hotfix for test in c46f4315db72a25c426238a33b550a0a35e0503d (#197987)

Fix for missing `REQUIRES` in test in #183151

Change-Id: I75e314ef6a361bc5f0a70781d2e9019b0eff9f98
DeltaFile
+2-0llvm/test/CodeGen/parse-cfi-unsigned-error.mir
+2-01 files

LLVM/project ec2c6fblldb/source/Commands CommandObjectPlatform.cpp CommandObjectProcess.cpp, lldb/source/Core IOHandlerCursesGUI.cpp

[lldb] Move GetSelectedTarget from Debugger to CommandInterpreter (NFC) (#197805)

The notion of a "selected target" is something that belongs at the
command layer rather than the debugger layer. Jim and I were discussing
how this is a foot-gun and I suggested moving it into the
CommandInterpreter. Everyone else that needs to get their hands on the
current target should do so through the execution context. The latter is
trivial to swap out if the "selected one" isn't what you should be
operating on.
DeltaFile
+69-17lldb/source/Core/IOHandlerCursesGUI.cpp
+13-13lldb/source/Commands/CommandObjectPlatform.cpp
+10-8lldb/source/Commands/CommandObjectProcess.cpp
+5-5lldb/source/Commands/CommandCompletions.cpp
+4-4lldb/source/Commands/CommandObjectType.cpp
+4-4lldb/source/Commands/CommandObjectTarget.cpp
+105-5110 files not shown
+125-6716 files

LLVM/project 4d84edbllvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.cpp

Fix typo.
DeltaFile
+1-1llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+1-11 files

LLVM/project a73bb2bllvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.cpp SPIRVNonSemanticDebugHandler.h

[reviews] Use vectors.
DeltaFile
+6-6llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+3-4llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.h
+9-102 files

FreeNAS/freenas bd58e57src/freenas/debian control preinst, src/middlewared/debian control

NAS-141005 / 27.0.0-BETA.1 / Specify deps in middleware debian control files (#18948)

This commit makes some changes where deps were declared in truenas_build
but they should be declared in middleware instead.
DeltaFile
+11-0src/middlewared/debian/control
+1-1src/freenas/debian/control
+1-0src/freenas/debian/preinst
+13-13 files

FreeBSD/ports 74f7317devel/atlantis distinfo Makefile

devel/atlantis: Update to 0.43.0

ChangeLog:
https://github.com/runatlantis/atlantis/releases/tag/v0.43.0
DeltaFile
+5-5devel/atlantis/distinfo
+1-2devel/atlantis/Makefile
+6-72 files

FreeBSD/ports 9c2d4b3sysutils/terraform distinfo Makefile

sysutils/terraform: Update to 1.15.3

ChangeLog:
https://github.com/hashicorp/terraform/releases/tag/v1.15.3
DeltaFile
+27-27sysutils/terraform/distinfo
+2-3sysutils/terraform/Makefile
+29-302 files

LLVM/project 8a541ffllvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.h

[reviews] Fix docs after clang-format.
DeltaFile
+4-4llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.h
+4-41 files

LLVM/project e504903clang/include/clang/Analysis/Analyses/LifetimeSafety LifetimeAnnotations.h, clang/lib/Analysis/LifetimeSafety LifetimeAnnotations.cpp FactsGenerator.cpp

[LifetimeSafety] Fix false negative for GSL Owner methods inherited from a non-Owner base
DeltaFile
+44-0clang/test/Sema/warn-lifetime-safety.cpp
+10-6clang/lib/Analysis/LifetimeSafety/LifetimeAnnotations.cpp
+8-2clang/include/clang/Analysis/Analyses/LifetimeSafety/LifetimeAnnotations.h
+3-2clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
+65-104 files

LLVM/project f44c22bllvm/lib/Target/SPIRV SPIRVNonSemanticDebugHandler.cpp

[review] Switch to assert.
DeltaFile
+3-4llvm/lib/Target/SPIRV/SPIRVNonSemanticDebugHandler.cpp
+3-41 files

LLVM/project 3de4e36clang/include/clang/Lex MacroState.h

Add missing include
DeltaFile
+1-0clang/include/clang/Lex/MacroState.h
+1-01 files

LLVM/project dda529dllvm/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-865 files not shown
+143-9011 files

LLVM/project 8b28658llvm/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,568-2,598llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+1,912-1,913llvm/test/CodeGen/AMDGPU/gfx-callable-argument-types.ll
+2,700-12llvm/test/CodeGen/AMDGPU/accvgpr-spill-scc-clobber.mir
+631-631llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+505-510llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
+394-399llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.896bit.ll
+9,710-6,063108 files not shown
+14,825-9,527114 files

LLVM/project 54910cfllvm/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,926-0llvm/test/CodeGen/AMDGPU/amdgpu-spill-cfi-saved-regs.ll
+12-0llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
+10-0llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
+9-0llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
+2-0llvm/lib/Target/AMDGPU/SIRegisterInfo.h
+2,959-05 files

LLVM/project a790725llvm/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-16993 files not shown
+22,893-1,13299 files