LLVM/project 356f2fcllvm/test/tools/UpdateTestChecks/update_mir_test_checks x86-filter.test, llvm/test/tools/UpdateTestChecks/update_mir_test_checks/Inputs x86-filter.mir.filter-out.expected x86-filter.mir.filter.expected

[UpdateTestChecks] Add --filter/--filter-out support to update_mir_test_checks.py (#191059)

These options were already accepted by the script but silently ignored.
This patch makes them functional, consistent with
update_llc_test_checks.py.

Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.com>
DeltaFile
+67-0llvm/test/tools/UpdateTestChecks/update_mir_test_checks/Inputs/x86-filter.mir.filter-out.expected
+58-0llvm/test/tools/UpdateTestChecks/update_mir_test_checks/Inputs/x86-filter.mir.filter.expected
+55-0llvm/test/tools/UpdateTestChecks/update_mir_test_checks/Inputs/x86-filter.mir
+17-0llvm/test/tools/UpdateTestChecks/update_mir_test_checks/x86-filter.test
+3-2llvm/utils/UpdateTestChecks/mir.py
+1-0llvm/utils/update_mir_test_checks.py
+201-26 files

LLVM/project 78820cbclang/include/clang/Driver ToolChain.h, clang/lib/Driver ToolChain.cpp

[Clang] Enable multilib library support for Linux/Windows (#188584)

Summary:
This PR standardizes the logic used in the baremtal build to the common
toolchain interface. We then use this to handle the support in Linux and
Windows.

The multilib functionality allows us to select variant libraries based
off of a configuration file. For example, if the `multilib.yaml` file
detects `-fsanitize=address` it will automatically use the libraries
inside of `asan/` instead. These are layered so they do not necessarily
need to be complete library builds. More documentation can be found at
https://clang.llvm.org/docs/Multilib.html.

The motivation for this is so platforms like ROCm can use a more
standard way to ship debug / asan variants of libraries like OpenMP or
similar for both GPU an CPU targets.
DeltaFile
+107-0clang/lib/Driver/ToolChain.cpp
+5-96clang/lib/Driver/ToolChains/BareMetal.cpp
+78-0clang/test/Driver/mingw-multilib.yaml
+78-0clang/test/Driver/linux-multilib.yaml
+21-5clang/include/clang/Driver/ToolChain.h
+17-0clang/lib/Driver/ToolChains/MinGW.cpp
+306-1014 files not shown
+339-12210 files

LLVM/project f2b5dc2lldb/packages/Python/lldbsuite/test lldbtest.py, lldb/test/API/symstore TestSymStore.py

[lldb] Fix: Disable shared build dir when testing with PDB (#190991)

The mechanism to disable `SHARED_BUILD_TESTCASE` for tests
that set `TEST_WITH_PDB_DEBUG_INFO` doesn't work. The property 
was set on the wrong object. This patch fixes it and moves the assignment
after the for-loop, since the respective dict only exists there.
DeltaFile
+4-3lldb/packages/Python/lldbsuite/test/lldbtest.py
+0-1lldb/test/API/symstore/TestSymStore.py
+4-42 files

LLVM/project 12af401mlir/lib/Conversion/MathToEmitC MathToEmitC.cpp, mlir/test/Conversion/MathToEmitC math-to-emitc.mlir

[mlir][EmitC] Convert math::RoundEvenOp, SqrtOp and RsqrtOp (#190158)

This patch extends the Math-to-EmitC conversion to cover `math.roundeven` and
`math.sqrt` for scalar f32/f64 values.

`math.roundeven` and `math.sqrt` are lowered to `emitc.call_opaque` using the
appropriate target-specific names:

C: `roundevenf` / `roundeven`, `sqrtf` / `sqrt`
C++: `std::roundeven`, `std::sqrt`
The patch also adds coverage for `math.rsqrt`. There is no direct EmitC
lowering for `math.rsqrt`; instead, the new tests verify the existing expansion
path through `-math-expand-ops=ops=rsqrt`, followed by `-convert-math-to-emitc`
and `-convert-arith-to-emitc`. This ensures the cross-dialect lowering sequence
produces the expected `emitc.constant`, `emitc.call_opaque`, and `emitc.div`
operations for f32/f64.

Unsupported cases remain unchanged. In particular, the new test documents that
f16 math.rsqrt is not lowered because math.sqrt is only converted for f32/f64.
DeltaFile
+48-0mlir/test/Dialect/EmitC/math/ops.mlir
+20-0mlir/test/Conversion/MathToEmitC/math-to-emitc.mlir
+4-0mlir/lib/Conversion/MathToEmitC/MathToEmitC.cpp
+72-03 files

LLVM/project 8dfee39llvm/test/tools/UpdateTestChecks/update_mir_test_checks x86-filter.test, llvm/test/tools/UpdateTestChecks/update_mir_test_checks/Inputs x86-filter.mir.filter-out.expected x86-filter.mir.filter.expected

[UpdateTestChecks] Add --filter/--filter-out support to update_mir_test_checks.py

These options were already accepted by the script but silently ignored.
This patch makes them functional, consistent with update_llc_test_checks.py.

Co-Authored-By: Claude Sonnet 4.6 <noreply at anthropic.com>
DeltaFile
+67-0llvm/test/tools/UpdateTestChecks/update_mir_test_checks/Inputs/x86-filter.mir.filter-out.expected
+58-0llvm/test/tools/UpdateTestChecks/update_mir_test_checks/Inputs/x86-filter.mir.filter.expected
+55-0llvm/test/tools/UpdateTestChecks/update_mir_test_checks/Inputs/x86-filter.mir
+17-0llvm/test/tools/UpdateTestChecks/update_mir_test_checks/x86-filter.test
+3-2llvm/utils/UpdateTestChecks/mir.py
+1-0llvm/utils/update_mir_test_checks.py
+201-26 files

LLVM/project a7993bellvm/lib/Transforms/Vectorize LoopVectorize.cpp, llvm/test/Transforms/LoopVectorize/AArch64 predication_costs.ll aarch64-predication.ll

[LV] Don't skip VPlan cost model for div/rem instructions (#187056)

In LoopVectorizationPlanner::precomputeCosts we are skipping calculation
of costs using the VPlan cost model, instead preferring to use the
legacy costs. This helps to prevent the legacy and vplan cost model
assert firing, but really we should be encouraging full use of the VPlan
cost model.

I've created this initial PR to stop skipping the computation costs for
udiv/urem/sdiv/srem instructions. The VPlan costs seem to match up
nicely.

I intend to follow up with more PRs to move more opcodes across.
DeltaFile
+18-3llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+5-5llvm/test/Transforms/LoopVectorize/AArch64/predication_costs.ll
+2-4llvm/test/Transforms/LoopVectorize/AArch64/aarch64-predication.ll
+25-123 files

LLVM/project 60fdca0llvm/lib/Target/NVPTX NVPTXAsmPrinter.cpp, llvm/test/CodeGen/NVPTX globals_init.ll

[LLVM][NVPTX] Add vector ConstantInt/FP support to bufferAggregateConstant. (#182544)
DeltaFile
+11-0llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
+7-0llvm/test/CodeGen/NVPTX/globals_init.ll
+18-02 files

LLVM/project 270e065libcxx/test/std/utilities/format/format.functions format.locale.dynamic_format.pass.cpp format.locale.runtime_format.pass.cpp, libcxx/test/std/utilities/format/format.syn runtime_format_string.pass.cpp dynamic_format_string.pass.cpp

Reapply "[libc++][format] P3953R3: Rename `std::runtime_format` (#189657)" (#191939)

This reverts commit bfff42cd6733f451135cda9605557cdea59affc2.
DeltaFile
+86-0libcxx/test/std/utilities/format/format.functions/format.locale.dynamic_format.pass.cpp
+0-86libcxx/test/std/utilities/format/format.functions/format.locale.runtime_format.pass.cpp
+84-0libcxx/test/std/utilities/format/format.functions/format.dynamic_format.pass.cpp
+0-84libcxx/test/std/utilities/format/format.functions/format.runtime_format.pass.cpp
+0-70libcxx/test/std/utilities/format/format.syn/runtime_format_string.pass.cpp
+70-0libcxx/test/std/utilities/format/format.syn/dynamic_format_string.pass.cpp
+240-2408 files not shown
+301-29914 files

LLVM/project c0ea7d2lld/ELF/Arch LoongArch.cpp, lld/test/ELF loongarch-emit-relocs-mark-la.s

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+22-0lld/test/ELF/loongarch-emit-relocs-mark-la.s
+6-1lld/ELF/Arch/LoongArch.cpp
+28-12 files

LLVM/project 1207be6lldb/include/lldb/Target RegisterContextUnwind.h, lldb/source/Target RegisterContextUnwind.cpp

[lldb] Use UNWIND_LOG macro in more places in RegisterContextUnwind (#192032)

Replace calls to `UnwindLogMsg()`/`UnwindLogMsgVerbose()` with
`UNWIND_LOG`/`UNWIND_LOG_VERBOSE` macros introduced in 8417922c.

This replaces calls whose format string contains only '%d' and sometimes
'%s' specifiers, the rest will be addressed in a future patch.

As a result of this change, the `UnwindLogMsgVerbose()` is no longer
used and has been removed.
DeltaFile
+97-94lldb/source/Target/RegisterContextUnwind.cpp
+0-3lldb/include/lldb/Target/RegisterContextUnwind.h
+97-972 files

LLVM/project 8b5b987bolt/runtime instr.cpp

[BOLT][runtime] fix readlink bound check in getBinaryPath. (#191666)

Ret was uint32_t truncating the uint64_t __readlink return, and was
compared against the unrelated getdents64 BufSize (1024) instead of
sizeof(TargetPath) (NameMax, 4096). A truncated readlink of exactly
NameMax bytes also wrote one byte past TargetPath.
DeltaFile
+3-2bolt/runtime/instr.cpp
+3-21 files

LLVM/project 297510fbolt/runtime instr.cpp common.h

[BOLT][runtime] harden profile file open. (#191669)
DeltaFile
+2-2bolt/runtime/instr.cpp
+1-0bolt/runtime/common.h
+3-22 files

LLVM/project 2b593bellvm/lib/DebugInfo/LogicalView/Core LVElement.cpp

[llvm][DebugInfo] formatv in LVElement (#192002)

This relates to #35980.
DeltaFile
+1-1llvm/lib/DebugInfo/LogicalView/Core/LVElement.cpp
+1-11 files

LLVM/project 941b0f4llvm/lib/DebugInfo/LogicalView/Core LVLocation.cpp

[llvm][DebugInfo] formatv in LVLocation (#192003)

This relates to #35980.
DeltaFile
+13-14llvm/lib/DebugInfo/LogicalView/Core/LVLocation.cpp
+13-141 files

LLVM/project 8a5dc12llvm/lib/DebugInfo/LogicalView/Core LVObject.cpp

[llvm][DebugInfo] formatv in LVObject (#192004)

This relates to #35980.
DeltaFile
+1-1llvm/lib/DebugInfo/LogicalView/Core/LVObject.cpp
+1-11 files

LLVM/project 65c462allvm/lib/DebugInfo/LogicalView/Core LVRange.cpp

[llvm][DebugInfo] formatv in LVRange (#192006)

This relates to #35980.
DeltaFile
+6-4llvm/lib/DebugInfo/LogicalView/Core/LVRange.cpp
+6-41 files

LLVM/project 453d0e2llvm/lib/DebugInfo/LogicalView/Core LVScope.cpp

[llvm][DebugInfo] formatv in LVScope (#192008)

This relates to #35980.
DeltaFile
+12-11llvm/lib/DebugInfo/LogicalView/Core/LVScope.cpp
+12-111 files

LLVM/project 34e5b95llvm/lib/DebugInfo/LogicalView/Readers LVBinaryReader.cpp

[llvm][DebugInfo] formatv in LVBinaryReader (#192009)

This relates to #35980.
DeltaFile
+11-11llvm/lib/DebugInfo/LogicalView/Readers/LVBinaryReader.cpp
+11-111 files

LLVM/project cf3a6c8llvm/lib/DebugInfo/LogicalView/Readers LVCodeViewVisitor.cpp

[llvm][DebugInfo] formatv in LVCodeViewVisitor (#192010)

This relates to #35980.
DeltaFile
+4-5llvm/lib/DebugInfo/LogicalView/Readers/LVCodeViewVisitor.cpp
+4-51 files

LLVM/project 9f1da15llvm/lib/DebugInfo/DWARF DWARFUnwindTablePrinter.cpp

[llvm][DebugInfo] formatv in DWARFUnwindTablePrinter (#191999)

This relates to #35980.
DeltaFile
+2-1llvm/lib/DebugInfo/DWARF/DWARFUnwindTablePrinter.cpp
+2-11 files

LLVM/project 2e07997llvm/lib/DebugInfo/DWARF DWARFTypeUnit.cpp

[llvm][DebugInfo] formatv in DWARFTypeUnit (#191997)

This relates to #35980.
DeltaFile
+16-11llvm/lib/DebugInfo/DWARF/DWARFTypeUnit.cpp
+16-111 files

LLVM/project 20c2216llvm/lib/DebugInfo/DWARF DWARFListTable.cpp

[llvm][DebugInfo] formatv in DWARFListTable (#191996)

This relates to #35980.
DeltaFile
+14-11llvm/lib/DebugInfo/DWARF/DWARFListTable.cpp
+14-111 files

LLVM/project 32c3481libsycl/src/detail device_kernel_info.hpp device_image_wrapper.hpp

code cleanup

Signed-off-by: Tikhomirova, Kseniya <kseniya.tikhomirova at intel.com>
DeltaFile
+39-18libsycl/src/detail/device_kernel_info.hpp
+9-4libsycl/src/detail/device_image_wrapper.hpp
+2-4libsycl/src/detail/program_manager.hpp
+1-1libsycl/src/detail/program_manager.cpp
+1-0libsycl/src/detail/device_impl.hpp
+52-275 files

LLVM/project 8417922lldb/source/Target RegisterContextUnwind.cpp

[lldb] Start using formatv() in RegisterContextUnwind (NFCI) (#191576)

This introduces two macros that do the same
`UnwindLogMsg()`/`UnwindLogMsgVerbose()` functions, but allow using
`formatv()`-style formatting. In addition to the benefits that the
`formatv()` function provides, this makes `log enable -F lldb unwind`
print the correct methods names from which the messages originate
(previously, it printed the name of one of those two helper methods).

I didn't replace all function calls with macros because there are too
many of them for one PR. This only replaces calls whose format string
contains no specifiers or only '%s' specifiers.
DeltaFile
+130-106lldb/source/Target/RegisterContextUnwind.cpp
+130-1061 files

LLVM/project d023386llvm/lib/DebugInfo/DWARF DWARFDie.cpp

[llvm][DebugInfo] formatv in DWARFDie (#191992)

This relates to #35980.
DeltaFile
+6-6llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
+6-61 files

LLVM/project 1e68dccllvm/lib/DebugInfo/DWARF DWARFDebugRnglists.cpp

[llvm][DebugInfo] formatv in DWARFDebugRnglists (#191991)

This relates to #35980.
DeltaFile
+6-3llvm/lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp
+6-31 files

LLVM/project 4c543acllvm/lib/DebugInfo/DWARF DWARFDebugRangeList.cpp

[llvm][DebugInfo] formatv in DWARFDebugRangeList (#191989)

This relates to #35980.
DeltaFile
+6-5llvm/lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp
+6-51 files

LLVM/project cabb972mlir/include/mlir/Dialect/SPIRV/IR SPIRVTosaOps.td

[mlir][spirv] Mark several SPIR-V TOSA Ext Inst ops as NoMemoryEffects (#191814)

Initially such ops were marked Pure wrongly since they could overflow or
underflow the accumulator and result in undefined behavior.

Signed-off-by: Davide Grohmann <davide.grohmann at arm.com>
DeltaFile
+16-4mlir/include/mlir/Dialect/SPIRV/IR/SPIRVTosaOps.td
+16-41 files

LLVM/project 3fe0bdfllvm/docs LFI.rst, llvm/lib/Target/AArch64 AArch64InstrInfo.cpp

[LFI][AArch64] Add AArch64 LFI rewrites for system instructions (#186896)

This builds on the MCLFIRewriter infrastructure to add the
AArch64-specific LFI rewriter, which rewrites AArch64 instructions for
LFI sandboxing during the assembler step.

The initial rewriter handles system instructions: system calls, thread
pointer accesses, and also rejects modifications to reserved registers.
DeltaFile
+210-0llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCLFIRewriter.cpp
+72-36llvm/docs/LFI.rst
+81-0llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCLFIRewriter.h
+45-0llvm/test/MC/AArch64/LFI/reserved.s
+25-0llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+13-0llvm/test/MC/AArch64/LFI/tp.s
+446-363 files not shown
+465-369 files

LLVM/project 444ffdellvm/lib/DebugInfo/DWARF DWARFDebugFrame.cpp

[llvm][DebugInfo] formatv in DWARFDebugFrame (#191984)

This relates to #35980.
DeltaFile
+28-20llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
+28-201 files