LLVM/project 30f9ce1libc/include/llvm-libc-macros/gpu signal-macros.h, libc/include/llvm-libc-macros/linux signal-macros.h

[libc] add SIG_HOLD for linux/gpu (#165007)

DeltaFile
+6-3libc/include/llvm-libc-macros/gpu/signal-macros.h
+6-3libc/include/llvm-libc-macros/linux/signal-macros.h
+12-62 files

LLVM/project a3d3339llvm/include/llvm/ADT RadixTree.h

Merge branch 'main' into revert-164551-re-land
DeltaFile
+1-0llvm/include/llvm/ADT/RadixTree.h
+1-01 files

LLVM/project a7c38b8llvm/include/llvm/ADT RadixTree.h

[ADT][NFC] Add missing #include <vector> (#165068)

Added in #164524. Fails when using libc++ in a mode that prunes
transitive headers.
DeltaFile
+1-0llvm/include/llvm/ADT/RadixTree.h
+1-01 files

LLVM/project c686dbellvm/lib/ExecutionEngine/Orc/TargetProcess LibraryScanner.cpp, llvm/unittests/ExecutionEngine/Orc LibraryResolverTest.cpp

Revert "REAPPLY [ORC] Add automatic shared library resolver for unresolved sy…"

This reverts commit 4f53413ff0a5e33cf6e39f538d4103fe0e310bf4.
DeltaFile
+0-1,161llvm/lib/ExecutionEngine/Orc/TargetProcess/LibraryScanner.cpp
+0-915llvm/unittests/ExecutionEngine/Orc/Inputs/C/C_macho.yaml
+0-896llvm/unittests/ExecutionEngine/Orc/LibraryResolverTest.cpp
+0-801llvm/unittests/ExecutionEngine/Orc/Inputs/D/D_macho.yaml
+0-723llvm/unittests/ExecutionEngine/Orc/Inputs/B/B_macho.yaml
+0-723llvm/unittests/ExecutionEngine/Orc/Inputs/Z/Z_macho.yaml
+0-5,21912 files not shown
+0-9,79718 files

LLVM/project c9a45d3llvm/lib/Target/ARM ARMInstrInfo.td

[ARM][KCFI] Fix bundle sizes to reflect worst-case expansion (#164917)

The KCFI_CHECK pseudo-instruction size for ARM got miscalculated. These
should represent worst-case expansion to ensure correct branch range
calculations and code layout.

Update the Size field for each ARM sub-architecture:

- ARM: 28 → 40 bytes (10 instructions @ 4 bytes when r3 spill needed)
- Thumb2: 32 → 34 bytes (mixed 16/32-bit instructions with r3 spill)
- Thumb1: 50 → 38 bytes (19 instructions @ 2 bytes with r2+r3 spills)

The ARM and Thumb2 sizes were underestimating the case where the target
register is r12, requiring r3 to be used as scratch and
spilled/restored. The Thumb1 size was overestimated and has been
corrected to the actual worst-case of 19 instructions.
DeltaFile
+7-5llvm/lib/Target/ARM/ARMInstrInfo.td
+7-51 files

LLVM/project 9161760.ci premerge_advisor_upload.py

[CI] Make Premerge Advisor Upload to Both Advisor Instances

So that we do not have to worry about synchronizing data between the two
clusters. This also enables this script to work on AArch64, although
we'll look at enabling that later.

Reviewers: cmtice

Reviewed By: cmtice

Pull Request: https://github.com/llvm/llvm-project/pull/165058
DeltaFile
+8-4.ci/premerge_advisor_upload.py
+8-41 files

LLVM/project cc4f462llvm/lib/Target/X86 X86ISelDAGToDAG.cpp, llvm/test/CodeGen/X86 issue163738.ll

[X86][ISel] Improve VPTERNLOG matching for negated logic trees (#164863)

This patch extends VPTERNLOG pattern matching to handle cases where an
outer NOT wraps a pure logical tree, such as `~(A | B | C)`. By
recognizing these negated logic trees, the instruction selector can now
emit a single vpternlog instruction.

The change preserves the match for patterns like `(x != C1) & (x !=
C2)`, which also have the xor-with-all-ones pattern outside. The patch
conservatively peels the outer XOR-with-all-ones only when it directly
wraps a foldable logical operator (AND, OR, XOR, or ANDNP).

Resolves #163738
DeltaFile
+45-11llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
+13-0llvm/test/CodeGen/X86/issue163738.ll
+58-112 files

LLVM/project 5fda2a5llvm/docs ProgrammersManual.rst, llvm/include/llvm/ADT RadixTree.h

[NFC][ADT] Add RadixTree (#164524)

This commit introduces a RadixTree implementation to LLVM.

RadixTree, as a Trie, is very efficient by searching for prefixes.

A Radix Tree is more efficient implementation of Trie.

The tree will be used to optimize Glob matching in SpecialCaseList:
* https://github.com/llvm/llvm-project/pull/164531 
* https://github.com/llvm/llvm-project/pull/164543 
* https://github.com/llvm/llvm-project/pull/164545

---------

Co-authored-by: Kazu Hirata <kazu at google.com>
Co-authored-by: Copilot <175728472+Copilot at users.noreply.github.com>
DeltaFile
+379-0llvm/unittests/ADT/RadixTreeTest.cpp
+350-0llvm/include/llvm/ADT/RadixTree.h
+10-0llvm/docs/ProgrammersManual.rst
+1-0llvm/unittests/ADT/CMakeLists.txt
+740-04 files

LLVM/project 3a59407.ci utils.sh

[CI] Make Postcommit Testing Pass In Correct Flags to Premerge Advisor

Before this patch we were passing in the previous commit rather than the
current commit due to a copy and paste adjustment failure from the PR
flow. We want the base SHA to just be the commit SHA for postcommit. We
also were not attaching the run number which made the source ID the
first JUnit XML file rather than the buildbot run number.
DeltaFile
+7-3.ci/utils.sh
+7-31 files

LLVM/project 5f01499.ci premerge_advisor_upload.py

fix

Created using spr 1.3.7
DeltaFile
+2-0.ci/premerge_advisor_upload.py
+2-01 files

LLVM/project 10a975blldb/include/lldb/Target Target.h, lldb/source/Commands CommandObjectTarget.cpp Options.td

[lldb] Introduce internal stop hooks (#164506)

Introduce the concept of internal stop hooks.
These are similar to LLDB's internal breakpoints:
LLDB itself will add them and users of LLDB will
not be able to add or remove them.

This change adds the following 3
independently-useful concepts:
* Maintain a list of internal stop hooks that will be populated by LLDB
and cannot be added to or removed from by users. They are managed in a
separate list in `Target::m_internal_stop_hooks`.
* `StopHookKind:CodeBased` and `StopHookCoded` represent a stop hook
defined by a C++ code callback (instead of command line expressions or a
Python class).
* Stop hooks that do not print any output can now also suppress the
printing of their header and description when they are hit via
`StopHook::GetSuppressOutput`.


    [11 lines not shown]
DeltaFile
+58-23lldb/include/lldb/Target/Target.h
+52-25lldb/source/Target/Target.cpp
+70-0lldb/test/Shell/ExecControl/StopHook/stop-hook-list.test
+51-12lldb/source/Commands/CommandObjectTarget.cpp
+8-2lldb/source/Commands/Options.td
+1-3lldb/source/Commands/CommandCompletions.cpp
+240-651 files not shown
+241-687 files

LLVM/project 7bb9a6allvm/include/llvm/ADT RadixTree.h, llvm/unittests/ADT RadixTreeTest.cpp

copilot

Created using spr 1.3.7
DeltaFile
+4-3llvm/include/llvm/ADT/RadixTree.h
+7-0llvm/unittests/ADT/RadixTreeTest.cpp
+11-32 files

LLVM/project 54d56dd.ci premerge_advisor_upload.py

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+6-4.ci/premerge_advisor_upload.py
+6-41 files

LLVM/project a88a204llvm/include/llvm/ADT RadixTree.h

update

Created using spr 1.3.7
DeltaFile
+4-2llvm/include/llvm/ADT/RadixTree.h
+4-21 files

LLVM/project 409c654.ci monolithic-windows.sh

[CI] Update Windows premerge testing to use clang-cl.exe (#164900)

Now that the Windows container contains clang, use it for building the
premerge tests. Measurements show this is significantly faster than
using msvc cl. Note we had to disable four warnings -Wc++98-compat,
-Wc++14-compat,  -Wunsafe-buffer-usage, and -Wold-style-cast to make
this work with 'check-mlir' on Windows (clang generates a lot of warnings
that msvc cl does not).
DeltaFile
+3-2.ci/monolithic-windows.sh
+3-21 files

LLVM/project 6bcab85llvm/lib/Target/AMDGPU AMDGPULowerVGPREncoding.cpp AMDGPUMCInstLower.cpp, llvm/lib/Target/AMDGPU/MCTargetDesc AMDGPUMCTargetDesc.cpp

[AMDGPU] Record old VGPR MSBs in the high bits of s_set_vgpr_msb

Fixes: SWDEV-562450
DeltaFile
+69-68llvm/test/CodeGen/AMDGPU/vgpr-lowering-gfx1250.mir
+18-18llvm/test/CodeGen/AMDGPU/whole-wave-functions.ll
+13-3llvm/lib/Target/AMDGPU/AMDGPULowerVGPREncoding.cpp
+2-2llvm/test/CodeGen/AMDGPU/vgpr-lowering-gfx1250-t16.mir
+1-1llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.cpp
+1-1llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
+104-936 files

LLVM/project 46849f5llvm/lib/Target/AMDGPU AMDGPULowerVGPREncoding.cpp, llvm/test/CodeGen/AMDGPU vgpr-lowering-gfx1250.mir

[AMDGPU] Reset VGPR MSBs at the end of fallthrough basic block

By convention a basic block shall start with MSBs zero. We also
need to know a previous mode in all cases as SWDEV-562450 asks
to record the old mode in the high bits of the mode.
DeltaFile
+33-39llvm/lib/Target/AMDGPU/AMDGPULowerVGPREncoding.cpp
+6-3llvm/test/CodeGen/AMDGPU/vgpr-lowering-gfx1250.mir
+39-422 files

LLVM/project a2a8d9dllvm/include/llvm/ADT RadixTree.h

Update llvm/include/llvm/ADT/RadixTree.h

Co-authored-by: Kazu Hirata <kazu at google.com>
DeltaFile
+1-1llvm/include/llvm/ADT/RadixTree.h
+1-11 files

LLVM/project 067b34fllvm/include/llvm/ADT RadixTree.h

Update llvm/include/llvm/ADT/RadixTree.h

Co-authored-by: Kazu Hirata <kazu at google.com>
DeltaFile
+1-1llvm/include/llvm/ADT/RadixTree.h
+1-11 files

LLVM/project ecd9566llvm/include/llvm/ADT RadixTree.h

Update llvm/include/llvm/ADT/RadixTree.h

Co-authored-by: Kazu Hirata <kazu at google.com>
DeltaFile
+1-2llvm/include/llvm/ADT/RadixTree.h
+1-21 files

LLVM/project 1ee0909llvm/include/llvm/ADT RadixTree.h

Apply suggestion from @kazutakahirata

Co-authored-by: Kazu Hirata <kazu at google.com>
DeltaFile
+2-2llvm/include/llvm/ADT/RadixTree.h
+2-21 files

LLVM/project a365761llvm/lib/ExecutionEngine/Orc/TargetProcess LibraryScanner.cpp, llvm/test/CodeGen/AArch64 arm64-cvt-simd-fptoi.ll

{} and comment

Created using spr 1.3.7
DeltaFile
+1,943-0llvm/test/CodeGen/AArch64/arm64-cvt-simd-fptoi.ll
+1,161-0llvm/lib/ExecutionEngine/Orc/TargetProcess/LibraryScanner.cpp
+790-131llvm/test/CodeGen/AMDGPU/fmaximum.ll
+790-131llvm/test/CodeGen/AMDGPU/fminimum.ll
+915-0llvm/unittests/ExecutionEngine/Orc/Inputs/C/C_macho.yaml
+896-0llvm/unittests/ExecutionEngine/Orc/LibraryResolverTest.cpp
+6,495-262803 files not shown
+32,099-6,982809 files

LLVM/project 1faa5e2mlir/lib/Bindings/Python IRCore.cpp

[MLIR][Python] fix getOwner
DeltaFile
+1-1mlir/lib/Bindings/Python/IRCore.cpp
+1-11 files

LLVM/project 22e3d1cflang/include/flang/Parser parse-tree.h, lld/test/wasm/lto relocation-model.ll

address comment

Created using spr 1.3.7
DeltaFile
+58-42llvm/include/llvm/IR/IntrinsicsNVVM.td
+30-0llvm/unittests/ADT/SmallVectorTest.cpp
+13-12flang/include/flang/Parser/parse-tree.h
+21-0lld/test/wasm/lto/relocation-model.ll
+12-9mlir/lib/Dialect/Affine/Transforms/LoopUnroll.cpp
+11-9mlir/test/lib/Dialect/SCF/TestLoopUnrolling.cpp
+145-7225 files not shown
+239-15331 files

LLVM/project c679539flang/include/flang/Parser parse-tree.h, lld/test/wasm/lto relocation-model.ll

[𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.7

[skip ci]
DeltaFile
+58-42llvm/include/llvm/IR/IntrinsicsNVVM.td
+30-0llvm/unittests/ADT/SmallVectorTest.cpp
+13-12flang/include/flang/Parser/parse-tree.h
+12-9mlir/lib/Dialect/Affine/Transforms/LoopUnroll.cpp
+21-0lld/test/wasm/lto/relocation-model.ll
+11-9mlir/test/lib/Dialect/SCF/TestLoopUnrolling.cpp
+145-7224 files not shown
+235-15330 files

LLVM/project e68cf1e.github/workflows pr-code-format.yml pr-code-lint.yml

[GitHub][CI] Remove 'Set Safe Directory' step (#165052)

DeltaFile
+0-8.github/workflows/pr-code-format.yml
+0-5.github/workflows/pr-code-lint.yml
+0-132 files

LLVM/project 4448ff4clang/include/clang/CIR MissingFeatures.h, clang/lib/CIR/CodeGen CIRGenCoroutine.cpp CIRGenBuiltin.cpp

[CIR] Emit CIR builtins: coroAlloc, coroBegin, and coroSize (#164180)

This PR adds support for emitting the builtins coroAlloc, coroBegin, and
coroSize.
DeltaFile
+75-2clang/lib/CIR/CodeGen/CIRGenCoroutine.cpp
+18-1clang/test/CIR/CodeGen/coro-task.cpp
+9-4clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
+1-3clang/include/clang/CIR/MissingFeatures.h
+3-0clang/lib/CIR/CodeGen/CIRGenFunction.h
+2-0clang/lib/CIR/CodeGen/CIRGenModule.h
+108-106 files

LLVM/project 7e76473llvm/include/llvm/DebugInfo/LogicalView/Core LVScope.h LVType.h, llvm/unittests/DebugInfo/LogicalView CompareElementsTest.cpp LogicalElementsTest.cpp

[DebugInfo] Add "override" where appropriate (NFC) (#164929)

Note that "override" makes "virtual" redundant.

Identified with modernize-use-override.
DeltaFile
+14-14llvm/include/llvm/DebugInfo/LogicalView/Core/LVScope.h
+6-6llvm/include/llvm/DebugInfo/LogicalView/Core/LVType.h
+3-3llvm/include/llvm/DebugInfo/LogicalView/Core/LVLine.h
+2-2llvm/unittests/DebugInfo/LogicalView/CompareElementsTest.cpp
+2-2llvm/unittests/DebugInfo/LogicalView/LogicalElementsTest.cpp
+2-2llvm/include/llvm/DebugInfo/LogicalView/Core/LVLocation.h
+29-2914 files not shown
+43-4320 files

LLVM/project b4d11c9clang/docs UsersManual.rst

[clang] Proofread UsersManual.rst (#164928)

DeltaFile
+30-30clang/docs/UsersManual.rst
+30-301 files

LLVM/project 8388a5bllvm/include/llvm/ADT STLForwardCompat.h SparseMultiSet.h, llvm/include/llvm/CodeGen ScheduleDAGInstrs.h

[ADT] Rename identity_cxx20 to identity (#164927)

Now that the old llvm::identity has moved into IndexedMap.h under a
different name, this patch renames identity_cxx20 to identity.  Note
that llvm::identity closely models std::identity from C++20.
DeltaFile
+1-1llvm/include/llvm/ADT/STLForwardCompat.h
+1-1llvm/include/llvm/ADT/SparseMultiSet.h
+1-1llvm/include/llvm/ADT/SparseSet.h
+1-1llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h
+1-1llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorAddress.h
+1-1llvm/lib/CodeGen/RegAllocFast.cpp
+6-61 files not shown
+7-77 files