LLVM/project 16a1e05lldb/packages/Python/lldbsuite/test/builders builder.py, lldb/packages/Python/lldbsuite/test/make Makefile.rules

[lldb] Support building test inferiors without debug info (#197002)

Add first class support for building test inferiors without debug info,
instead of having to pass `-g0` in the Makefile or the build dictionary.

```
def test(self):
    self.build(debug_info="none")
```

rdar://164923931
DeltaFile
+4-1lldb/test/API/lang/objcxx/objc-from-cpp-frames-without-debuginfo/TestObjCFromCppFramesWithoutDebugInfo.py
+4-0lldb/packages/Python/lldbsuite/test/make/Makefile.rules
+2-1lldb/test/API/commands/frame/var-dil/basics/NoDebugInfo/TestFrameVarDILNoDebugInfo.py
+0-1lldb/test/API/lang/objcxx/objc-from-cpp-frames-without-debuginfo/Makefile
+0-1lldb/test/API/commands/frame/var-dil/basics/NoDebugInfo/Makefile
+1-0lldb/packages/Python/lldbsuite/test/builders/builder.py
+11-46 files

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

[AMDGPU] Validate forced lit() immediate

Right now it takes validation path of an inline constant if fits
even though it is forced to literal encoding.
DeltaFile
+7-8llvm/test/MC/AMDGPU/literals.s
+7-1llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+14-92 files

LLVM/project 009fbc9clang/test/Driver clang-sycl-linker-test.cpp, clang/test/Driver/Inputs/SYCL two-kernels.ll

[clang-sycl-linker] Migrate tests from Driver/ to Tooling/ and use LLVM IR input (#197566)

1. Replace the C++ source test that required compiling with %clangxx and
separate Input files with self-contained .ll tests using split-file.

2. Split the test into two files:
- clang-sycl-linker.ll: basic tool behavior (link, dev libs, AOT,
errors)
  - clang-sycl-linker-split-mode.ll: device code split mode handling

Co-Authored-By: Claude
DeltaFile
+0-99clang/test/Driver/clang-sycl-linker-test.cpp
+97-0clang/test/Tooling/clang-sycl-linker.ll
+51-0clang/test/Tooling/clang-sycl-linker-split-mode.ll
+0-23clang/test/Driver/Inputs/SYCL/two-kernels.ll
+148-1224 files

LLVM/project 5208f2eclang/include/clang/AST DeclTemplate.h, clang/lib/AST DeclTemplate.cpp

[clang] NFC: add asserts enforcing template parameters have valid positions

Some tests are violating these assertions, so they are commented out.

Most of these are alias CTAD tests, with a couple of lambda in concepts tests on
top of that.

For the test in `clang/test/SemaTemplate/concepts.cpp`, that was broken by #195995
and needs a partial revert at least.
DeltaFile
+103-97clang/test/SemaTemplate/deduction-guide.cpp
+25-34clang/include/clang/AST/DeclTemplate.h
+14-15clang/lib/AST/DeclTemplate.cpp
+12-6clang/test/SemaCXX/ctad.cpp
+15-1clang/test/SemaCXX/cxx20-ctad-type-alias.cpp
+8-5clang/test/AST/ast-dump-ctad-alias.cpp
+177-1586 files not shown
+202-17012 files

LLVM/project d2a57ecllvm/lib/Target/AMDGPU SIInstrInfo.cpp, llvm/test/MachineVerifier/AMDGPU lit64.mir

[AMDGPU] Add lit64 machine verifier (#196457)
DeltaFile
+13-4llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+9-0llvm/test/MachineVerifier/AMDGPU/lit64.mir
+22-42 files

LLVM/project 8ebd857clang/lib/Format ContinuationIndenter.cpp

[clang-format][NFC] Correct comment (#197592)
DeltaFile
+1-1clang/lib/Format/ContinuationIndenter.cpp
+1-11 files

LLVM/project c5f8414compiler-rt/lib/scudo/standalone/tests flags_test.cpp

[scudo] Add test for initFlags()

Add a test case to verify that initFlags() correctly reads the
SCUDO_ALLOCATION_RING_BUFFER_SIZE environment variable and updates the
corresponding flag. This increases line coverage for flags.cpp to 100%.
DeltaFile
+13-0compiler-rt/lib/scudo/standalone/tests/flags_test.cpp
+13-01 files

LLVM/project 37c5916bolt/include/bolt/Profile DataAggregator.h, bolt/lib/Profile DataAggregator.cpp

[BOLT][NFCI] Drop CFG profile attachment in DataAggregator (#195986)
DeltaFile
+14-57bolt/lib/Profile/DataAggregator.cpp
+1-13bolt/include/bolt/Profile/DataAggregator.h
+15-702 files

LLVM/project fe787a8utils/bazel/llvm-project-overlay/lldb/source/Plugins BUILD.bazel

[Bazel] Fixes 882d025 (#197593)

This fixes 882d0251d44fa2db8dd6e5817a8baa72237f77c7.

Co-authored-by: Google Bazel Bot <google-bazel-bot at google.com>
DeltaFile
+1-0utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
+1-01 files

LLVM/project ccc9038clang/lib/Format UnwrappedLineParser.cpp, clang/unittests/Format FormatTestVerilog.cpp

[clang-format] Handle more Verilog attributes (#196455)

before

```SystemVerilog
(* x = "x" *) foreach(x[x]) x = x;
```

after

```SystemVerilog
(* x = "x" *) foreach (x[x])
  x = x;
```

The code for handling statements like the `foreach` preceded the part
for handling the attributes inside `(* *)`. So there was a problem with
some of the statements following attributes. The patch moves the part
for the statements down. The loop in the code was also unnecessary.
DeltaFile
+11-13clang/lib/Format/UnwrappedLineParser.cpp
+2-0clang/unittests/Format/FormatTestVerilog.cpp
+13-132 files

LLVM/project 3ccc276llvm/docs Instrumentor.rst

[Instrumentor][FIX] Fix oversight in docs heading (#197594)
DeltaFile
+1-1llvm/docs/Instrumentor.rst
+1-11 files

LLVM/project 7e735eacompiler-rt/cmake config-ix.cmake

[compiler-rt][cmake] Fix check_cxx_compiler_flag calls (#197529)

check_cxx_compiler_flag, when passing multiple flags, we must separate
them using a SEMICOLON-separated list. Not spaces. These checks
succeed incorrectly sometimes because "-Werror -mcrc" has a different
return value than "-Werror" "-mcrc" on some systems.

This issue was verified with LLVM_ENABLE_PROJECTS=llvm;compiler-rt,
and I'm uncertain whether it exists in runtime CMake builds.
Nonetheless, it's still a bug.

See:
https://cmake.org/cmake/help/latest/module/CheckCXXCompilerFlag.html

This issue was identified downstream in ChromiumOS.

ChromiumOS Bug:
https://issuetracker.google.com/507177988
DeltaFile
+34-34compiler-rt/cmake/config-ix.cmake
+34-341 files

OpenBSD/ports qLpwEUmwww/trac Makefile distinfo

   update trac to a snapshot from the 1.6-stable branch, fixes with py314
VersionDeltaFile
1.95+6-5www/trac/Makefile
1.45+2-2www/trac/distinfo
+8-72 files

LLVM/project b46eae5llvm/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp, llvm/test/MC/AMDGPU gfx1250_asm_vop2_err.s

Revert "[AMDGPU] Only src0 and mandatory literals can use literal64 (#196456)"

This reverts commit df6af482fc97cdb85749fc3872e702ba42f115b7.
DeltaFile
+0-15llvm/test/MC/AMDGPU/gfx1250_asm_vop2_err.s
+0-8llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+0-232 files

LLVM/project 882d025lldb/source/Plugins/Process/elf-core ProcessElfCore.cpp ProcessElfCore.h, lldb/test/API/functionalities/postmortem/elf-core TestLinuxCore.py elf-NT_FILE-NT_PRPSINFO-AT_EXECFN.yaml

Improve the executable name detection in ELF core files. (#197341)

A previous commit switched us to use the value of the AT_EXECFN, which
is an entry in the aux vector, as the executable path. As it turns out,
if a symlink is used to launch a program, the symlink path will be in
the AT_EXECFN string in core file memory. The PRPSINFO also contains a
basename of the program, and it will also be the symlink basename. The
best source of information to figure out the executable name is from the
NT_FILE note. This always has the resolved path to the executable.

Now the executable name is found in a reliable way starting with finding
the NT_FILE entry for the main executable. This can reliably be done by
finding the NT_FILE entry whose address contains the AT_PHDR aux vector
value. This value is the address of the program headers for the main
executable. If there is no NT_FILE entry we can find, we fall back to
the AT_EXECFN entry from memory and then fallback to the basename in the
PRPSINFO. This patch also creates a placeholder as the main executable
when the executable can't be found to ensure users can see which
executable they will need to track down in order to load the core file.

    [8 lines not shown]
DeltaFile
+144-55lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp
+51-2lldb/test/API/functionalities/postmortem/elf-core/TestLinuxCore.py
+29-0lldb/test/API/functionalities/postmortem/elf-core/elf-NT_FILE-NT_PRPSINFO-AT_EXECFN.yaml
+29-0lldb/test/API/functionalities/postmortem/elf-core/elf-NT_PRPSINFO-AT_EXECFN.yaml
+18-0lldb/test/API/functionalities/postmortem/elf-core/elf-NT_PRPSINFO.yaml
+8-2lldb/source/Plugins/Process/elf-core/ProcessElfCore.h
+279-596 files

LLVM/project 1bb237allvm/docs Instrumentor.rst UserGuides.rst, llvm/utils instrumentor-config-wizard.py

[Instrumentor][NFC] Add docs and config-wizard script (#197066)

This commit adds initial documentation for the instrumentor to the
html/man pages and provides a script that helps new users to setup the
config and stubs file interactively.

The script and docs have been created with Claude (AI) but
proofread/tested and modified afterwards.
DeltaFile
+834-0llvm/utils/instrumentor-config-wizard.py
+786-0llvm/docs/Instrumentor.rst
+5-0llvm/docs/UserGuides.rst
+1,625-03 files

LLVM/project 111ec2fllvm/test/MC/AMDGPU literals.s

[AMDGPU] Fix conflicted literal test. NFC. (#197587)
DeltaFile
+5-7llvm/test/MC/AMDGPU/literals.s
+5-71 files

OpenZFS/src 3e57137tests/zfs-tests/tests/functional/cli_root/zhack zhack_metaslab_leak.ksh

ZTS: zhack_metaslab_leak.ksh busy export

If the pool is active 'zpool export' will fail resulting in
a test failure.  Swap log_must with log_must_busy so the export
is retried when reported as busy before failing the test.

Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Closes #18512
DeltaFile
+2-2tests/zfs-tests/tests/functional/cli_root/zhack/zhack_metaslab_leak.ksh
+2-21 files

NetBSD/pkgsrc wQr4DGzcross/ppc-morphos-gcc distinfo, cross/ppc-morphos-gcc/patches patch-libcody_buffer.cc patch-libcody_client.cc

   Make cross/ppc-morphos-gcc compile on Fedora 44
VersionDeltaFile
1.1+273-0cross/ppc-morphos-gcc/patches/patch-libcody_buffer.cc
1.1+173-0cross/ppc-morphos-gcc/patches/patch-libcody_client.cc
1.1+108-0cross/ppc-morphos-gcc/patches/patch-libcody_server.cc
1.1+22-0cross/ppc-morphos-gcc/patches/patch-libcody_cody.hh
1.4+5-1cross/ppc-morphos-gcc/distinfo
+581-15 files

LLVM/project df6af48llvm/lib/Target/AMDGPU/AsmParser AMDGPUAsmParser.cpp, llvm/test/MC/AMDGPU gfx1250_asm_vop2_err.s

[AMDGPU] Only src0 and mandatory literals can use literal64 (#196456)
DeltaFile
+15-0llvm/test/MC/AMDGPU/gfx1250_asm_vop2_err.s
+8-0llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+23-02 files

LLVM/project a7ca414llvm/test/CodeGen/AMDGPU agpr-copy-no-free-registers.ll regpressure_printer.mir

Regenerated tests after rebasing.
DeltaFile
+140-44llvm/test/CodeGen/AMDGPU/agpr-copy-no-free-registers.ll
+15-15llvm/test/CodeGen/AMDGPU/regpressure_printer.mir
+155-592 files

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

[AMDGPU] Validate forced lit() immediate

Right now it takes validation path of an inline constant if fits
even though it is forced to literal encoding.
DeltaFile
+7-1llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+4-4llvm/test/MC/AMDGPU/literals.s
+11-52 files

LLVM/project e02b5c6libc CMakeLists.txt, libc/config/gpu/spirv entrypoints.txt

Fix libc building errors for SPIRV target (#197381)
DeltaFile
+3-0libc/config/gpu/spirv/entrypoints.txt
+1-1libc/CMakeLists.txt
+4-12 files

LLVM/project 862438cllvm/lib/Transforms/Vectorize LoadStoreVectorizer.cpp, llvm/test/Transforms/LoadStoreVectorizer/X86 or-disjoint-nested-add.ll or-disjoint-zext.ll

[LSV] Handle or-disjoint as an add-like operation for vectorization. (#197243)

LoadStoreVectorizer can safely handle `or disjoint` instructions as
`add nuw nsw`, when they are used for offset computations. This patch
enables vectorization of such patterns.

Assisted-by: Claude Opus 4.6 <noreply at anthropic.com>
DeltaFile
+188-0llvm/test/Transforms/LoadStoreVectorizer/X86/or-disjoint-nested-add.ll
+162-0llvm/test/Transforms/LoadStoreVectorizer/X86/or-disjoint-zext.ll
+33-18llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp
+383-183 files

LLVM/project 9ece46dllvm/lib/Target/AMDGPU SIInstrInfo.cpp, llvm/test/MachineVerifier/AMDGPU lit64.mir

[AMDGPU] Add lit64 machine verifier
DeltaFile
+13-4llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+9-0llvm/test/MachineVerifier/AMDGPU/lit64.mir
+22-42 files

LLVM/project a4dd5a6llvm/lib/Transforms/IPO Instrumentor.cpp, llvm/test/Instrumentation/Instrumentor test_filter.ll test_filter_pointer_null_config.json

[Instrumentor] Add a property filter for static properties

The user can define static filters in the json to limit instrumentation
to opportunities that match the static expression, e.g., is_volatile==1.
The matcher logic is pretty basic for now. Integer comparisons, string
equalities and startswith are supported.

The commit was prepared with Claude (AI) and proofread/tested by me.
DeltaFile
+441-0llvm/lib/Transforms/IPO/Instrumentor.cpp
+69-0llvm/test/Instrumentation/Instrumentor/test_filter.ll
+56-0llvm/test/Instrumentation/Instrumentor/test_filter_pointer_null_config.json
+56-0llvm/test/Instrumentation/Instrumentor/test_filter_config.json
+51-0llvm/test/Instrumentation/Instrumentor/test_filter_strings.ll
+43-0llvm/test/Instrumentation/Instrumentor/test_filter_pointer_null.ll
+716-08 files not shown
+858-214 files

LLVM/project 849e5c5llvm/lib/Target/AMDGPU/MCTargetDesc AMDGPUMCExpr.cpp AMDGPUMCCodeEmitter.cpp, llvm/test/MC/AMDGPU literals.s

[AMDGPU] Fix forced lit64 encoding on lit() modifier (#197561)

We were forcing lit64 encoding on a 64-bit operand with lit()
modifier. This is not required, not compatible with SP3, and
in the pathalogical case creates invalid 4 dword encoding if
used with a VOP3* instruction.

That said if lit() is used the immediate is silently truncated
even before the encoding, so the encoder only sees 32-bits of
relevant data and 32-bits of zeroes anyway. That is a separate
issue, but we never had a true 64-bit constant really properly
encoded with lit() modifier, only with lit64().
DeltaFile
+76-10llvm/test/MC/AMDGPU/literals.s
+7-0llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.cpp
+2-1llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.cpp
+2-0llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCExpr.h
+1-1llvm/test/MC/Disassembler/AMDGPU/literals.txt
+88-125 files

LLVM/project f10f908llvm/include/llvm/Transforms/IPO Instrumentor.h, llvm/lib/Transforms/IPO Instrumentor.cpp InstrumentorConfigFile.cpp

[Instrumentor] Allow multiple config files with different filters (#196235)

To instrument different functions in different ways we allow to provide
multiple config files now. Each file will result in one instrumentation
run. Multiple files can be passed via command line option or listed in a
"summary" file that is passed via command line option (to keep the
command length managable).
DeltaFile
+52-14llvm/lib/Transforms/IPO/Instrumentor.cpp
+56-0llvm/test/Instrumentation/Instrumentor/multi_config.ll
+20-20llvm/test/Instrumentation/Instrumentor/alloca_and_function.ll
+37-0llvm/lib/Transforms/IPO/InstrumentorConfigFile.cpp
+16-0llvm/test/Instrumentation/Instrumentor/multi_config_4.json
+12-2llvm/include/llvm/Transforms/IPO/Instrumentor.h
+193-3615 files not shown
+247-4621 files

LLVM/project 8536f60compiler-rt/lib/scudo/standalone/tests allocator_config_test.cpp

[scudo] Add unit tests for optional config flags

This patch adds checks for all optional configuration flags defined in
allocator_config.def to allocator_config_test.cpp. This increases the
code coverage of allocator_config_wrapper.h by exercising the template
instantiations for these optional flags.
DeltaFile
+25-0compiler-rt/lib/scudo/standalone/tests/allocator_config_test.cpp
+25-01 files

LLVM/project 9c053e6llvm/lib/Target/AMDGPU/Disassembler AMDGPUDisassembler.cpp, llvm/test/MC/AMDGPU literals.s

[AMDGPU] Fix disasm roundtrip for forced fp64 literal
DeltaFile
+2-4llvm/test/MC/AMDGPU/literals.s
+3-1llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp
+5-52 files