[all-commits] [llvm/llvm-project] b393a8: [NFC] Remove extra spaces from comments in Target....

Nathan Ridge via All-commits all-commits at lists.llvm.org
Tue Jan 21 22:34:50 PST 2025


  Branch: refs/heads/users/HighCommander4/clangd-issue-1249
  Home:   https://github.com/llvm/llvm-project
  Commit: b393a8758c4b6ac389ea9231b172ad93e32f43d0
      https://github.com/llvm/llvm-project/commit/b393a8758c4b6ac389ea9231b172ad93e32f43d0
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M llvm/include/llvm/Target/Target.td

  Log Message:
  -----------
  [NFC] Remove extra spaces from comments in Target.td (#123788)


  Commit: cac67d39362b23466708e464c00ce84abe16bece
      https://github.com/llvm/llvm-project/commit/cac67d39362b23466708e464c00ce84abe16bece
  Author: Oleksandr T. <oleksandr.tarasiuk at outlook.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaDeclCXX.cpp
    A clang/test/SemaCXX/warn-base-type-qualifiers.cpp
    M libcxx/include/tuple

  Log Message:
  -----------
  [Clang] emit -Wignored-qualifiers diagnostic for cv-qualified base classes (#121419)

Fixes #55474


  Commit: 89f119cbdae0beb606229ca422cdd9e1400d0746
      https://github.com/llvm/llvm-project/commit/89f119cbdae0beb606229ca422cdd9e1400d0746
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/intrinsic-vector-match.ll
    M llvm/test/CodeGen/RISCV/rvv/splat-vectors.ll

  Log Message:
  -----------
  [RISCV] Update matchSplatAsGather to use the index of extract_elt if in-bounds (#118873)

This is a follow-up to #117878 and allows the usage of vrgather if the index
we are accessing in VT is constant and within bounds.

This patch replaces the previous behavior of bailing out if the length of the
search vector is greater than the vector of elements we are searching for.
Since matchSplatAsGather works on EXTRACT_VECTOR_ELT, and we know the index
from which the element is extracted, we only need to check if we are doing an
insert from a larger vector into a smaller one, in which we do an extract
instead.

Co-authored-by: Luke Lau luke_lau at icloud.com
Co-authored-by: Philip Reames preames at rivosinc.com


  Commit: e7001061b73c97960a3b01537851b089e84b2a8e
      https://github.com/llvm/llvm-project/commit/e7001061b73c97960a3b01537851b089e84b2a8e
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp

  Log Message:
  -----------
  [RISCV] Revise naming and style in matchSplatAsGather [nfc]


  Commit: bfafbe3a5cda14a0be5cc81eb58ca2c27c3c21f1
      https://github.com/llvm/llvm-project/commit/bfafbe3a5cda14a0be5cc81eb58ca2c27c3c21f1
  Author: alx32 <103613512+alx32 at users.noreply.github.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M llvm/test/tools/llvm-gsymutil/ARM_AArch64/macho-gsym-merged-callsites-dsym.yaml

  Log Message:
  -----------
  [llvm-gsymutil] Fix flaky test (#123814)

The `macho-gsym-merged-callsites-dsym.yaml` test was failing with
expensive checks on. This is because we still can't reliably associate
line table information to functions until
https://github.com/llvm/llvm-project/pull/123391 is merged.

Example failure:
https://lab.llvm.org/buildbot/#/builders/16/builds/12374


  Commit: 5651544c3647910ddb9f65414b8181f2560b999c
      https://github.com/llvm/llvm-project/commit/5651544c3647910ddb9f65414b8181f2560b999c
  Author: Un1q32 <joey.t.reinhart at gmail.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/test/Driver/darwin-version.c

  Log Message:
  -----------
  Make armv6 iOS by default instead of macOS when targeting Darwin (#117243)

AFAIK the only publicly released armv6 devices that ran Darwin were the
iPhone 2G, iPhone 3G, iPod touch 1, and the iPod touch 2, all of which
were iOS devices.


  Commit: c95d7894c904c097a3e27d9f5c85e0d30b366cd5
      https://github.com/llvm/llvm-project/commit/c95d7894c904c097a3e27d9f5c85e0d30b366cd5
  Author: Eric Fiselier <eric at efcs.ca>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M .github/workflows/libcxx-restart-preempted-jobs.yaml

  Log Message:
  -----------
  Fix incorrect console.print -> console.log to fix libc++ restarter


  Commit: e2d9e999a2adfb85008ca7d228e90c406baf9838
      https://github.com/llvm/llvm-project/commit/e2d9e999a2adfb85008ca7d228e90c406baf9838
  Author: Nick Desaulniers <nickdesaulniers at users.noreply.github.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M libc/cmake/modules/LLVMLibCTestRules.cmake
    M libc/test/src/math/smoke/nan_test.cpp
    M libc/test/src/math/smoke/nanf128_test.cpp
    M libc/test/src/math/smoke/nanf16_test.cpp
    M libc/test/src/math/smoke/nanf_test.cpp
    M libc/test/src/math/smoke/nanl_test.cpp

  Log Message:
  -----------
  [libc] fix -Wextra-semi (#123783)

Found while trying to consolidate our command line flags between tests and
underlying object files.

    error: extra ';' after member function definition [-Werror,-Wextra-semi]

Link: #119281


  Commit: 659e66e2b392677755436c981c92ea091af356b1
      https://github.com/llvm/llvm-project/commit/659e66e2b392677755436c981c92ea091af356b1
  Author: Jacek Caban <jacek at codeweavers.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M lld/COFF/Chunks.cpp
    M lld/COFF/Chunks.h
    M lld/COFF/Writer.cpp
    M lld/test/COFF/pdata-arm64ec.test

  Log Message:
  -----------
  [LLD][COFF] Implement ARM64X relocations for the exception table (#123723)


  Commit: 48b2ce9c12ec27176611e359db3ed9125a5da64b
      https://github.com/llvm/llvm-project/commit/48b2ce9c12ec27176611e359db3ed9125a5da64b
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M libcxx/docs/CodingGuidelines.rst

  Log Message:
  -----------
  [libc++] Document that internal aliases should be marked _LIBCPP_NODEBUG (#122175)

In #118710 we've added ``_LIBCPP_NODEBUG`` to all internal aliases, but
didn't actually document it. This patch adds documentation by adding the
new requirement and reasoning to the coding guidelines.


  Commit: 2d317d903a6c469d4bf64298b21b6dac83f1fc8b
      https://github.com/llvm/llvm-project/commit/2d317d903a6c469d4bf64298b21b6dac83f1fc8b
  Author: Peng Liu <winner245 at hotmail.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M libcxx/include/__vector/vector_bool.h
    M libcxx/test/std/containers/sequences/vector.bool/shrink_to_fit.pass.cpp

  Log Message:
  -----------
  [libc++] Fix no-op shrink_to_fit for vector<bool> (#120495)

This PR addresses an issue where the `shrink_to_fit` function in
`vector<bool>` is effectively a no-op, meaning it will never shrink the
capacity.

Fixes #122502


  Commit: 80097a1fa5c776790c1f0b313cfac923d86a82f9
      https://github.com/llvm/llvm-project/commit/80097a1fa5c776790c1f0b313cfac923d86a82f9
  Author: A. Jiang <de34 at live.cn>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M libcxx/include/string
    M libcxx/test/std/strings/basic.string/string.cons/from_range.pass.cpp
    M libcxx/test/std/strings/basic.string/string.modifiers/string_insert/insert_range.pass.cpp

  Log Message:
  -----------
  [libc++] Fix input-only range handling for `basic_string` (#116890)

By calling `std::move` for related functions when the iterator is
possibly input-only. Also slightly changes the conditions of branch for
contiguous iterators to avoid error.

Fixes #116502


  Commit: 733a98db4a264f474564cc2064b8862dedd8458f
      https://github.com/llvm/llvm-project/commit/733a98db4a264f474564cc2064b8862dedd8458f
  Author: A. Jiang <de34 at live.cn>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M libcxx/include/__memory/uninitialized_algorithms.h
    M libcxx/include/__vector/vector.h
    M libcxx/include/__vector/vector_bool.h
    M libcxx/test/std/containers/sequences/vector.bool/assign_range.pass.cpp
    M libcxx/test/std/containers/sequences/vector.bool/construct_from_range.pass.cpp
    M libcxx/test/std/containers/sequences/vector.bool/insert_range.pass.cpp
    M libcxx/test/std/containers/sequences/vector/vector.cons/construct_from_range.pass.cpp
    M libcxx/test/std/containers/sequences/vector/vector.modifiers/assign_range.pass.cpp
    M libcxx/test/std/containers/sequences/vector/vector.modifiers/insert_range.pass.cpp

  Log Message:
  -----------
  [libc++] Fix input-only range handling for `vector` (#116157)

Changes:
- Carve out sized but input-only ranges for C++23.
- Call `std::move` for related functions when the iterator is possibly input-only.

Fixes #115727


  Commit: 6c787ff6cfb5fdf489019a1389f8315391ad435f
      https://github.com/llvm/llvm-project/commit/6c787ff6cfb5fdf489019a1389f8315391ad435f
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-interleaved-accesses.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-interleaved-masked-accesses.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/interleaved-accesses.ll
    R llvm/test/Transforms/PhaseOrdering/AArch64/sve-interleave-vectorization.ll

  Log Message:
  -----------
  Revert "[LV]: Teach LV to recursively (de)interleave. (#122989)"

This reverts commit 9491f75e1d912b277247450d1c7b6d56f7faf885.

This triggers an assert when building with SVE enabled.
https://lab.llvm.org/buildbot/#/builders/143/builds/4795


  Commit: 3418cd082ae2c6d051d505014a62392429105fd4
      https://github.com/llvm/llvm-project/commit/3418cd082ae2c6d051d505014a62392429105fd4
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    A llvm/test/Transforms/LoopVectorize/AArch64/sve-interleaved-accesses-cost.ll

  Log Message:
  -----------
  [LV] Add test showing cost-model difference after 9491f75e1d9.

Reduced test case from
https://lab.llvm.org/buildbot/#/builders/143/builds/4847.


  Commit: c59ede638f48a80644ba0a6de0573d541fc05bbc
      https://github.com/llvm/llvm-project/commit/c59ede638f48a80644ba0a6de0573d541fc05bbc
  Author: Chris B <chris.bieneman at me.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M llvm/docs/DeveloperPolicy.rst

  Log Message:
  -----------
  Update Developer Policy for copyright notices (#123463)

This updates the developer policy to align with established community
norms for copyright notices in source code contributed to LLVM.

The updates clearly state that we do not accept code contianing explicit
copyright notices in source except where such code is a pre-existing
part of an external dependency that is being vendored into LLVM.

Explicit copyright notices in source add no value to the project since
copyright ownership is well tracked through git. Our policy already
requires that contributions made not by the original author have
appropriate attribution in git commit messsages or metadata.

Further, explicit copyright notices in code can easily get out of date
as the code is refactored, updated by additional authors or otherwise
changed over time. This leads to misleading out-of-date copyright
notices which do more harm than good.

This change should be viewed as a clarification and statement of
existing established policy, not a change in policy since it represents
the way the project has been operating.


  Commit: 9457418e66766d8fafc81f85eb8045986220ca3e
      https://github.com/llvm/llvm-project/commit/9457418e66766d8fafc81f85eb8045986220ca3e
  Author: Martin Storsjö <martin at martin.st>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M lld/COFF/InputFiles.cpp
    M lld/test/COFF/empty-section-decl.yaml
    M llvm/include/llvm/Object/COFF.h
    R llvm/test/Object/coff-sec-sym.test

  Log Message:
  -----------
  [LLD] [COFF] Fix linking MSVC generated implib header objects (#122811)

ecb5ea6a266d5cc4e05252f6db4c73613b73cc3b tried to fix cases when LLD
links what seems to be import library header objects from MSVC. However,
the fix seems incorrect; the review at https://reviews.llvm.org/D133627
concluded that if this (treating this kind of symbol as a common symbol)
is what link.exe does, it's fine.

However, this is most probably not what link.exe does. The symbol
mentioned in the commit message of
ecb5ea6a266d5cc4e05252f6db4c73613b73cc3b would be a common symbol with a
size of around 3 GB; this is not what might have been intended.

That commit tried to avoid running into the error ".idata$4 should not
refer to special section 0"; that issue is fixed for a similar style of
section symbols in 4a4a8a1476b1386b523dc5b292ba9a5a6748a9cf.

Therefore, revert ecb5ea6a266d5cc4e05252f6db4c73613b73cc3b and extend
the fix from 4a4a8a1476b1386b523dc5b292ba9a5a6748a9cf to also work for
the section symbols in MSVC generated import libraries.

The main detail about them, is that for symbols of type
IMAGE_SYM_CLASS_SECTION, the Value field is not an offset, but it is an
optional set of flags, corresponding to the Characteristics of the
section header (although it may be empty).


  Commit: 671ec34fb2d6b2cb1f82a69991d2aebb3bdc24bd
      https://github.com/llvm/llvm-project/commit/671ec34fb2d6b2cb1f82a69991d2aebb3bdc24bd
  Author: Jacek Caban <jacek at codeweavers.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M lld/COFF/SymbolTable.h
    M lld/COFF/Writer.cpp
    M lld/test/COFF/arm64x-export.test

  Log Message:
  -----------
  [LLD][COFF] Add support for hybrid exports on ARM64X (#123724)


  Commit: c912e98e8ea3678bf8344199a97530f7a310aed7
      https://github.com/llvm/llvm-project/commit/c912e98e8ea3678bf8344199a97530f7a310aed7
  Author: Martin Storsjö <martin at martin.st>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
    A llvm/test/tools/llvm-lib/member-names.test

  Log Message:
  -----------
  [llvm-lib] Don't rewrite paths for members in non-thin archives (#123416)

This matches what MS lib.exe does (and llvm-ar too); when adding files
to an archive, MS lib.exe stores the file name as it was given on the
command line, whereas llvm-lib rewrote it into a relative path name,
relative to the archive location. Such a rewrite makes sense for thin
archives, but not for regular archives. (MS lib.exe doesn't support
producing thin archives; that's an LLVM extension - see the
thin-relative.test testcase.)

The behaviour to rewrite these paths was added in
451c2ef199e9c5163007ac32e2d426fbfb37e664; it is unclear why it was
chosen to do the rewriting for non-thin archives as well. This quirk is
even pointed out in a code comment - but neither the code review at
https://reviews.llvm.org/D57842 nor the linked bug report at
https://crbug.com/41440160 mentions why this is done for all archives,
not only thin ones.

Therefore, assume that this only was done out of convenience, and change
llvm-lib to not adjust the paths for non-thin archives.

Normally, the actual member names doesn't matter for non-thin archives;
however for short import libraries, where each member is named e.g.
"foo.dll", the names do matter. If using llvm-lib to merge two import
libraries (as a non-thin library), preserve the original names rather
than making the member names relative.


  Commit: af84ed8ae5c1a7af96fb745582244dd219e2e481
      https://github.com/llvm/llvm-project/commit/af84ed8ae5c1a7af96fb745582244dd219e2e481
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M llvm/lib/ObjectYAML/ELFEmitter.cpp

  Log Message:
  -----------
  [ObjectYAML][NFC] Simplify ELFState<ELFT>::initProgramHeaders() (#123703)

This removes unused variables and dead code in the method.


  Commit: dd860bcfb57df429c0a1ad2e2d869ff3b795bc4d
      https://github.com/llvm/llvm-project/commit/dd860bcfb57df429c0a1ad2e2d869ff3b795bc4d
  Author: Deric Cheung <cheung.deric at gmail.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsSPIRV.td
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Headers/hlsl/hlsl_detail.h
    M clang/lib/Headers/hlsl/hlsl_intrinsics.h
    M clang/lib/Sema/SemaSPIRV.cpp
    A clang/test/CodeGenHLSL/builtins/reflect.hlsl
    A clang/test/CodeGenSPIRV/Builtins/reflect.c
    A clang/test/SemaHLSL/BuiltIns/reflect-errors.hlsl
    A clang/test/SemaSPIRV/BuiltIns/reflect-errors.c
    M llvm/include/llvm/IR/IntrinsicsSPIRV.td
    M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
    A llvm/test/CodeGen/SPIRV/hlsl-intrinsics/reflect.ll
    A llvm/test/CodeGen/SPIRV/opencl/reflect-error.ll

  Log Message:
  -----------
  [HLSL] Implement the `reflect` HLSL function (#122992)

Fixes #99152

Tasks completed:

- Implement `reflect` in `clang/lib/Headers/hlsl/hlsl_intrinsics.h`
- Implement the `reflect` SPIR-V target built-in in
`clang/include/clang/Basic/BuiltinsSPIRV.td`
- Add a SPIR-V fast path in `clang/lib/Headers/hlsl/hlsl_detail.h` in
the form
 ```c++
#if (__has_builtin(__builtin_spirv_reflect))
  return __builtin_spirv_reflect(...);
 #else
   return ...; // regular behavior
 #endif
 ```
- Add codegen for the SPIR-V `reflect` built-in to
`EmitSPIRVBuiltinExpr` in `clang/lib/CodeGen/CGBuiltin.cpp`
- Add HLSL codegen tests to
`clang/test/CodeGenHLSL/builtins/reflect.hlsl`
- Add SPIR-V built-in codegen tests to
`clang/test/CodeGenSPIRV/Builtins/reflect.c`
- Add sema tests to `clang/test/SemaHLSL/BuiltIns/reflect-errors.hlsl`
- Add SPIR-V sema tests to
`clang/test/CodeGenSPIRV/Builtins/reflect-errors.c`
- Create the `int_spv_reflect` intrinsic in
`llvm/include/llvm/IR/IntrinsicsSPIRV.td`
- In `llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp` create the
`reflect` lowering and map it to `int_spv_reflect` in
`SPIRVInstructionSelector::selectIntrinsic`
- Create a SPIR-V backend test case in
`llvm/test/CodeGen/SPIRV/hlsl-intrinsics/reflect.ll`

Additional tasks completed:

- Implement sema check for the `reflect` SPIR-V built-in in
`clang/lib/Sema/SemaSPIRV.cpp`
- Required for HLSL codegen to work via the SPIR-V fast path, because
the types defined in `clang/include/clang/Basic/BuiltinsSPIRV.td` are
being overridden
- Create SPIR-V backend error test case in
`llvm/test/CodeGen/SPIRV/opencl/reflect-error.ll`
- Since `reflect` is only available in the GLSL extended instruction
set, using it in OpenCL should result in an error

Incomplete tasks:

- Create SPIR-V backend test case in
`llvm/test/CodeGen/SPIRV/opencl/reflect.ll`
- An OpenCL test is not applicable in this case because the [OpenCL
SPIR-V extended instruction
set](https://registry.khronos.org/SPIR-V/specs/unified1/OpenCL.ExtendedInstructionSet.100.html)
does not include a `reflect` function


  Commit: 01045b75a16cfc6905ac38495e262a7da7183ef9
      https://github.com/llvm/llvm-project/commit/01045b75a16cfc6905ac38495e262a7da7183ef9
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVVMReflect.cpp

  Log Message:
  -----------
  [CUDA] Add missing zero initializer for reflect


  Commit: 81c0f3023fc38e3ea720045407a17f47653ea2ac
      https://github.com/llvm/llvm-project/commit/81c0f3023fc38e3ea720045407a17f47653ea2ac
  Author: Lang Hames <lhames at gmail.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp
    M llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp
    M llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/toy.cpp
    M llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/toy.cpp
    M llvm/examples/Kaleidoscope/Chapter4/toy.cpp
    M llvm/examples/Kaleidoscope/Chapter5/toy.cpp
    M llvm/examples/Kaleidoscope/Chapter6/toy.cpp
    M llvm/examples/Kaleidoscope/Chapter7/toy.cpp
    M llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h
    M llvm/unittests/ExecutionEngine/Orc/ExecutorAddressTest.cpp

  Log Message:
  -----------
  [ORC] Add ExecutorSymbolDef toPtr / fromPtr convenience functions.

This will simplify conversion of a number of APIs from ExecutorAddr to
ExecutorSymbolDef.


  Commit: debe7bd9168b3e7c2fdcef4f66a0ce033b6b4b54
      https://github.com/llvm/llvm-project/commit/debe7bd9168b3e7c2fdcef4f66a0ce033b6b4b54
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp

  Log Message:
  -----------
  [memprof] Migrate away from PointerUnion::dyn_cast (NFC) (#123716)

Note that PointerUnion::dyn_cast has been soft deprecated in
PointerUnion.h:

  // FIXME: Replace the uses of is(), get() and dyn_cast() with
  //        isa<T>, cast<T> and the llvm::dyn_cast<T>

Literal migration would result in dyn_cast_if_present (see the
definition of PointerUnion::dyn_cast), but this patch uses cast
because we expect the arguments to be of the requested types.  Note
that all these cases have assert and/or dereferences just after cast,
implying that the return value from cast must be nonnull.

---------

Co-authored-by: Nikita Popov <github at npopov.com>


  Commit: 4c91263045610391472fda0937893ac415f037c3
      https://github.com/llvm/llvm-project/commit/4c91263045610391472fda0937893ac415f037c3
  Author: Finn Plummer <50529406+inbelic at users.noreply.github.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M clang/include/clang/Basic/BuiltinsSPIRV.td
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Headers/hlsl/hlsl_detail.h
    M clang/lib/Headers/hlsl/hlsl_intrinsics.h
    M clang/lib/Sema/SemaSPIRV.cpp
    R clang/test/CodeGenHLSL/builtins/reflect.hlsl
    R clang/test/CodeGenSPIRV/Builtins/reflect.c
    R clang/test/SemaHLSL/BuiltIns/reflect-errors.hlsl
    R clang/test/SemaSPIRV/BuiltIns/reflect-errors.c
    M llvm/include/llvm/IR/IntrinsicsSPIRV.td
    M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
    R llvm/test/CodeGen/SPIRV/hlsl-intrinsics/reflect.ll
    R llvm/test/CodeGen/SPIRV/opencl/reflect-error.ll

  Log Message:
  -----------
  Revert "[HLSL] Implement the `reflect` HLSL function" (#123846)

Reverts llvm/llvm-project#122992

Due to an included failing test-case the commit causes build failures.


  Commit: d33e33fde770214e134ed58f992a5a95a522f7ff
      https://github.com/llvm/llvm-project/commit/d33e33fde770214e134ed58f992a5a95a522f7ff
  Author: Jacob Lalonde <jalalonde at fb.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M lldb/bindings/interface/SBSaveCoreOptionsDocstrings.i

  Log Message:
  -----------
  [LLDB] Add draft docstrings for SBSaveCoreOptions (#123132)

SBSaveCoreOptions has been around for awhile now, so I decided to draft
up some Docstrings describing the functionality better. Some of my
wording sounded a bit clunky due the optionality of each method call so
I would greatly appreciate feedback.

Includes the new method in #122541 so I will merge this as a follow up.


  Commit: b821aae912706d038f2d2558d37eeafd5a87fe0d
      https://github.com/llvm/llvm-project/commit/b821aae912706d038f2d2558d37eeafd5a87fe0d
  Author: AdityaK <hiraditya at msn.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/Gnu.cpp

  Log Message:
  -----------
  Remove references to MipsAndroid as it is unsupported (#123810)


  Commit: 635e154bbc94342080ccba583ff6fb16ea364f4b
      https://github.com/llvm/llvm-project/commit/635e154bbc94342080ccba583ff6fb16ea364f4b
  Author: AdityaK <hiraditya at msn.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/Arch/Mips.cpp
    M clang/lib/Driver/ToolChains/Arch/Mips.h

  Log Message:
  -----------
  Remove check for Android in Mips.cpp (#123793)


  Commit: 83cdcd5da463cffc028e484774c7dff91ae31677
      https://github.com/llvm/llvm-project/commit/83cdcd5da463cffc028e484774c7dff91ae31677
  Author: Hyunsung Lee <ita9naiwa at gmail.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h

  Log Message:
  -----------
  [MLIR/linalg] Update arg name of `generalizeNamedOp` in `Transforms.h` (#123679)

`Generalization.cpp:53`
```cpp
FailureOr<GenericOp> mlir::linalg::generalizeNamedOp(RewriterBase &rewriter,
                                                     LinalgOp linalgOp) {
  if (failed(generalizeNamedOpPrecondition(linalgOp)))
    return rewriter.notifyMatchFailure(linalgOp, "preconditions not met");

  SmallVector<Value> inputs = linalgOp.getDpsInputs();
  ValueRange outputs = linalgOp.getDpsInits();
  SmallVector<AffineMap> indexingMaps = linalgOp.getIndexingMapsArray();
  SmallVector<utils::IteratorType> iterators = linalgOp.getIteratorTypesArray();
  SmallVector<Type> resultTypes = linalgOp.hasPureTensorSemantics()
                                      ? TypeRange(ValueRange(outputs))
                                      : TypeRange{};
...
```

`generalizeNamedOp` in `Generalization.cpp` has a different arg name
than `generalizeNamedOp` in `Transforms.h`

Sync to use `linalgOp`


  Commit: 68fdc09eb528ac3b02605333054b4121ce47ec26
      https://github.com/llvm/llvm-project/commit/68fdc09eb528ac3b02605333054b4121ce47ec26
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M utils/bazel/configure.bzl
    M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel

  Log Message:
  -----------
  [bazel] Add SPIRV


  Commit: ec0958c0b7f3ef6233cf51697bea384322937a09
      https://github.com/llvm/llvm-project/commit/ec0958c0b7f3ef6233cf51697bea384322937a09
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel

  Log Message:
  -----------
  [bazel] Reorder targets


  Commit: 8a5f1ef88bd96a8b15937927d9d0cd51324ba6de
      https://github.com/llvm/llvm-project/commit/8a5f1ef88bd96a8b15937927d9d0cd51324ba6de
  Author: Lang Hames <lhames at gmail.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M llvm/lib/ExecutionEngine/Orc/LLJIT.cpp

  Log Message:
  -----------
  [ORC] Simplify error return. NFC.


  Commit: 6ab9dafec807a64a4e940bfaecc815e23454dfe8
      https://github.com/llvm/llvm-project/commit/6ab9dafec807a64a4e940bfaecc815e23454dfe8
  Author: Vinicius Tadeu Zein <vtzein at gmail.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/test/Sema/pragma-clang-section.c
    M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
    A llvm/test/CodeGen/X86/clang-section-coff.ll

  Log Message:
  -----------
  [clang] Implement #pragma clang section on COFF targets (#112714)

This patch implements the directive #pragma clang section on COFF targets
with the exact same features available on ELF and Mach-O.


  Commit: 7cf8addc2d487154dfb65db70829abc943345302
      https://github.com/llvm/llvm-project/commit/7cf8addc2d487154dfb65db70829abc943345302
  Author: Jason Eckhardt <jeckhardt at nvidia.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
    M llvm/include/llvm/Target/TargetLoweringObjectFile.h
    M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp

  Log Message:
  -----------
  [TLOF][NFC] Make emitLinkerDirectives virtual and public. (#123773)

Today, emitLinkerDirectives is private to TLOFCOFF-- it isolates parsing
and processing of the linker options. Similar processing is also done by
other TLOFs inline within emitModuleMetadata. This patch promotes
emitLinkerDirectives to a virtual (public) method so that this handling
is similarly isolated in the other TLOFs.

This also enables downstream targets to override just this handling
instead of the whole of emitModuleMetadata.


  Commit: d540ebf6cbf97b8bac45af837a741bcb5bd1e1f6
      https://github.com/llvm/llvm-project/commit/d540ebf6cbf97b8bac45af837a741bcb5bd1e1f6
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/WinCFGuard.cpp
    A llvm/test/CodeGen/AArch64/cfguard-arm64ec.ll

  Log Message:
  -----------
  [ARM64EC] Avoid emitting unnecessary symbol references with /guard:cf. (#123235)

.gfids$y contains a list of indirect calls for Control Flow Guard. This
wasn't working properly for ARM64EC: direct calls were being treated as
indirect calls. Make sure we correctly filter out direct calls.

This improves the protection from Control Flow Guard, and also fixes a
link error when using certain functions from oldnames.lib.


  Commit: d25a1f8887e59cb770749766af9b0c7caf88326e
      https://github.com/llvm/llvm-project/commit/d25a1f8887e59cb770749766af9b0c7caf88326e
  Author: Diego Caballero <dieg0ca6aller0 at gmail.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/include/mlir/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.h
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.cpp

  Log Message:
  -----------
  [mlir][Vector][NFC] Add `vector-transform-options` flag to ConvertVectorToLLVMPass (#123491)

This flag enables the configuration of some transformation such as the
lowering of contractions and transposes. The default configuration
preserves the existing behavior.


  Commit: b9813ceb95a81506b0bdedfae5e7b4b9f4d9c6bc
      https://github.com/llvm/llvm-project/commit/b9813ceb95a81506b0bdedfae5e7b4b9f4d9c6bc
  Author: Jacob Lalonde <jalalonde at fb.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M lldb/include/lldb/API/SBDebugger.h
    M lldb/tools/lldb-dap/lldb-dap.cpp

  Log Message:
  -----------
  [LLDB][LLDB-DAP] Wire up DAP to listen to external progress events (#123826)

Recently I added SBProgress (#119052), and during that original commit I
tested if the progress event was sent over LLDB-DAP, and it was. However
upon the suggestion of @JDevlieghere and @labath we added an external
category (#120171), which I did not test.

This small patch wires up DAP to listen for external events by default,
and adds the external category to the SBDebugger enumeration.


  Commit: e45de3dba7fad894bb5e10fd5018e5851061c672
      https://github.com/llvm/llvm-project/commit/e45de3dba7fad894bb5e10fd5018e5851061c672
  Author: William Huang <williamjhuang at google.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/JumpThreading.cpp
    M llvm/test/Transforms/JumpThreading/thread-debug-info.ll

  Log Message:
  -----------
  Move RemoveRedundantDbgInstrs outside of inner loop in JumpThreading (#123008)

This cleanup action only needs to be performed once when the entire
optimization is converged. Doing it in every iteration has a very high
time-complexity, as it queries every dbg value in a dense map

Compare before and after for one internal source file with many basic
blocks


![image](https://github.com/user-attachments/assets/1dac76a9-a974-4068-9aa1-4041f963fa8e)

![image](https://github.com/user-attachments/assets/73ea2ef1-d1f4-4064-8826-8c13fb539b8d)

>90% reduction in this extreme case.


  Commit: c26e1a22df4aad4f6a0d82e46fb1bbe379e0ba88
      https://github.com/llvm/llvm-project/commit/c26e1a22df4aad4f6a0d82e46fb1bbe379e0ba88
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/test/Fir/CUDA/cuda-code-gen.mlir

  Log Message:
  -----------
  [flang][cuda] Allocate descriptor in managed memory when memref is a block argument (#123829)


  Commit: 335f1a72b22560e61f6170efef740c9c26b24f1a
      https://github.com/llvm/llvm-project/commit/335f1a72b22560e61f6170efef740c9c26b24f1a
  Author: Alex Voicu <alexandru.voicu at amd.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/HipStdPar/HipStdPar.cpp
    M llvm/test/Transforms/HipStdPar/allocation-interposition.ll

  Log Message:
  -----------
  [opt][HIPSTDPAR] Handle `__hipstdpar_hidden_malloc` (#123150)

This patch adds support for replacing calls to
`__hipstdpar_hidden_malloc` with calls to `__libc_malloc`, similarly to
how we handle hidden `free`. A future paired change in the forwarding
header will leverage this capability in order to handle certain special
cases where it is not possible / desirable to allocate via the HIP
runtime.


  Commit: 011b618644113996e2c0a8e57db40f89d20878e3
      https://github.com/llvm/llvm-project/commit/011b618644113996e2c0a8e57db40f89d20878e3
  Author: Finn Plummer <50529406+inbelic at users.noreply.github.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M llvm/lib/Target/DirectX/DXIL.td
    M llvm/lib/Target/DirectX/DXILConstants.h
    M llvm/lib/Target/DirectX/DXILOpBuilder.cpp
    M llvm/test/CodeGen/DirectX/BufferLoad.ll
    M llvm/test/CodeGen/DirectX/BufferStore.ll
    M llvm/test/CodeGen/DirectX/CreateHandle.ll
    M llvm/test/CodeGen/DirectX/CreateHandleFromBinding.ll
    M llvm/test/CodeGen/DirectX/WaveActiveAllTrue.ll
    M llvm/test/CodeGen/DirectX/WaveActiveAnyTrue.ll
    M llvm/test/CodeGen/DirectX/WaveActiveCountBits.ll
    M llvm/test/CodeGen/DirectX/WaveGetLaneIndex.ll
    M llvm/test/CodeGen/DirectX/WaveReadLaneAt-vec.ll
    M llvm/test/CodeGen/DirectX/WaveReadLaneAt.ll
    M llvm/test/CodeGen/DirectX/abs.ll
    M llvm/test/CodeGen/DirectX/acos.ll
    M llvm/test/CodeGen/DirectX/asin.ll
    M llvm/test/CodeGen/DirectX/atan.ll
    M llvm/test/CodeGen/DirectX/bufferUpdateCounter.ll
    M llvm/test/CodeGen/DirectX/ceil.ll
    M llvm/test/CodeGen/DirectX/comput_ids.ll
    M llvm/test/CodeGen/DirectX/cos.ll
    M llvm/test/CodeGen/DirectX/cosh.ll
    M llvm/test/CodeGen/DirectX/countbits.ll
    M llvm/test/CodeGen/DirectX/dot4add_i8packed.ll
    M llvm/test/CodeGen/DirectX/dot4add_u8packed.ll
    M llvm/test/CodeGen/DirectX/exp.ll
    M llvm/test/CodeGen/DirectX/fdot.ll
    M llvm/test/CodeGen/DirectX/firstbithigh.ll
    M llvm/test/CodeGen/DirectX/floor.ll
    M llvm/test/CodeGen/DirectX/fmad.ll
    M llvm/test/CodeGen/DirectX/fmax.ll
    M llvm/test/CodeGen/DirectX/fmin.ll
    M llvm/test/CodeGen/DirectX/frac.ll
    M llvm/test/CodeGen/DirectX/idot.ll
    M llvm/test/CodeGen/DirectX/imad.ll
    M llvm/test/CodeGen/DirectX/isinf.ll
    M llvm/test/CodeGen/DirectX/log.ll
    M llvm/test/CodeGen/DirectX/log10.ll
    M llvm/test/CodeGen/DirectX/log2.ll
    M llvm/test/CodeGen/DirectX/reversebits.ll
    M llvm/test/CodeGen/DirectX/round.ll
    M llvm/test/CodeGen/DirectX/rsqrt.ll
    M llvm/test/CodeGen/DirectX/saturate.ll
    M llvm/test/CodeGen/DirectX/sin.ll
    M llvm/test/CodeGen/DirectX/sinh.ll
    M llvm/test/CodeGen/DirectX/smax.ll
    M llvm/test/CodeGen/DirectX/smin.ll
    M llvm/test/CodeGen/DirectX/splitdouble.ll
    M llvm/test/CodeGen/DirectX/sqrt.ll
    M llvm/test/CodeGen/DirectX/tan.ll
    M llvm/test/CodeGen/DirectX/tanh.ll
    M llvm/test/CodeGen/DirectX/trunc.ll
    M llvm/test/CodeGen/DirectX/umad.ll
    M llvm/test/CodeGen/DirectX/umax.ll
    M llvm/test/CodeGen/DirectX/umin.ll
    M llvm/test/CodeGen/DirectX/wave_is_first_lane.ll
    M llvm/utils/TableGen/DXILEmitter.cpp

  Log Message:
  -----------
  [DXIL] Define and generate `DXILAttribute` and `DXILProperty` (#117072)

- Redefines `DXILAttribute` to denote a function attribute, compatible
to how it was define in DXC/LLVM 3.7
- Fix how `DXILAttribute` is emitted to be a struct of set attributes
instead of an "or" of the enums
- Implement the lowering of `DXILAttribute` to LLVM function attributes
in `DXILOpBuilder.cpp`. A custom mapping is defined.
- Audit all current ops to specify the correct attributes consistent
with DXC. This is done here to allow for testing.
- Update testcases in `llvm/test/CodeGen/DirectX` of all ops with
attributes to match that attributes are set
- Update testcases of ops that had previously incorrectly set attributes
to check there is no attributes set
- Defines `DXILProperty` to denote the other type of attributes from DXC
used to query properties.
- Emit `DXILProperty` as a struct of set attributes.
- Updates `DXIL.td` to specify applicable `DXILProperty`s on ops

Note: `DXILProperty` was referred to as 'queryable attributes' in design
discussion. Changed to property to allow for better expression in
`DXIL.td`

Resolves #114461
Resolves #115912


  Commit: 4280316e3d0c684a1c9519212d1c7df71776f749
      https://github.com/llvm/llvm-project/commit/4280316e3d0c684a1c9519212d1c7df71776f749
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M flang/lib/Optimizer/CodeGen/CMakeLists.txt

  Log Message:
  -----------
  [flang][cuda] Fix link issue after c26e1a2


  Commit: 76b01875d355eea97f3255b1ecb059b1db487757
      https://github.com/llvm/llvm-project/commit/76b01875d355eea97f3255b1ecb059b1db487757
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M .github/workflows/build-ci-container.yml

  Log Message:
  -----------
  [Github] Move agent container to separate tar archive

This patch makes the build container job save the agent container image to a
separate tar file rather than bundling it in with the existing tar file. For
some reason, running podman save with two container images and then loading
that single tar file gets rid of the agent image and we end up with two
copies of the original image. This means that premerge jobs will fail with
the agent image because they cannot find the run.sh script.


  Commit: 9883aa925e4b5a730ed3705f88a73bfcb70e82e4
      https://github.com/llvm/llvm-project/commit/9883aa925e4b5a730ed3705f88a73bfcb70e82e4
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVSchedMIPSP8700.td
    M llvm/lib/Target/RISCV/RISCVSchedSyntacoreSCR1.td

  Log Message:
  -----------
  [RISCV] Remove some unnecessary UnsupportedSched* that are implied by others. NFC

Tablegen is missing a check that should have caught that these
were duplicated. I'm working to restore that check.


  Commit: 408931490735a87369462aac1685673c4bc22a3e
      https://github.com/llvm/llvm-project/commit/408931490735a87369462aac1685673c4bc22a3e
  Author: Vasileios Porpodas <vporpodas at google.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SandboxVectorizer/DependencyGraph.cpp

  Log Message:
  -----------
  [SandboxVec][DAG][NFC] Remove early return in notifyMoveInstr()

It used to early return when destination is same as origin. But it's redundant
because in that case the callback won't get called in the first place.


  Commit: e8811ad3cc2a840dcacde2f7ddea599d82f3b4e3
      https://github.com/llvm/llvm-project/commit/e8811ad3cc2a840dcacde2f7ddea599d82f3b4e3
  Author: Shoreshen <372660931 at qq.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
    A llvm/test/CodeGen/AMDGPU/sreg-xnull-regclass-bitwidth.mir

  Log Message:
  -----------
  [AMDGPU] Fix unreachable reg bit width (#122107)

Add register class bit width for SReg_256_XNULL and SReg_128_XNULL


  Commit: 12903fb3c73ad549c89585097f24d8b9952d849c
      https://github.com/llvm/llvm-project/commit/12903fb3c73ad549c89585097f24d8b9952d849c
  Author: Shubham Sandeep Rastogi <srastogi22 at apple.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M llvm/include/llvm/Passes/DroppedVariableStatsIR.h
    M llvm/lib/Passes/DroppedVariableStatsIR.cpp
    M llvm/unittests/IR/DroppedVariableStatsIRTest.cpp

  Log Message:
  -----------
  [NFC] Include PassID for runBeforePass children.

Debugging the dropped variable statistics for large LLVM IR files can be
made easier if the functions called before an optimization pass is run
includes the PassID of the pass that will be run after statistics
metrics are collected. This patch adds that support.


  Commit: ee5d60020ff55a74bdc01c6a8dece7e60322adf7
      https://github.com/llvm/llvm-project/commit/ee5d60020ff55a74bdc01c6a8dece7e60322adf7
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M .github/workflows/premerge.yaml

  Log Message:
  -----------
  Revert "[CI][Github] Disable premerge workflow on main"

This reverts commit 106f1056991317af7eaaf19239de93942ac37267.

Everything should be in working order now that the container job has been
updated to work properly. This has been tested on an individual job.


  Commit: 18ee7e1792cf4cc9b287ae10063a7c2b7792da8f
      https://github.com/llvm/llvm-project/commit/18ee7e1792cf4cc9b287ae10063a7c2b7792da8f
  Author: Jacob Lalonde <jalalonde at fb.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M lldb/bindings/interface/SBSaveCoreOptionsDocstrings.i

  Log Message:
  -----------
  Revert "[LLDB] Add draft docstrings for SBSaveCoreOptions" (#123873)

Reverts llvm/llvm-project#123132


  Commit: 8c2030b7d4c4f21270577187d6413c6b05784861
      https://github.com/llvm/llvm-project/commit/8c2030b7d4c4f21270577187d6413c6b05784861
  Author: Parth Arora <quic_partaror at quicinc.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M lld/ELF/ScriptParser.cpp
    M lld/test/ELF/linkerscript/diag.test
    M lld/test/ELF/linkerscript/operators.test

  Log Message:
  -----------
  [LLD] [ELF] Add support for linker script unary plus operator (#121508)

This commit adds support for linker script unary plus ('+') operator. It
is helpful for improving compatibility between LLD and GNU LD.

Closes #118047


  Commit: 7c58d6363a40fc6d1cdf6a147da8f3bb0d4f96ec
      https://github.com/llvm/llvm-project/commit/7c58d6363a40fc6d1cdf6a147da8f3bb0d4f96ec
  Author: Shoreshen <372660931 at qq.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.h
    M llvm/lib/Target/AMDGPU/VOP3Instructions.td
    M llvm/test/CodeGen/AMDGPU/carryout-selection.ll
    M llvm/test/CodeGen/AMDGPU/cmp_shrink.mir
    M llvm/test/CodeGen/AMDGPU/commute-op-sel.mir
    M llvm/test/CodeGen/AMDGPU/ctlz.ll
    M llvm/test/CodeGen/AMDGPU/cvt_f32_ubyte.ll
    M llvm/test/CodeGen/AMDGPU/llvm.is.fpclass.bf16.ll
    M llvm/test/CodeGen/AMDGPU/shrink-add-sub-constant.ll
    M llvm/test/CodeGen/AMDGPU/widen-smrd-loads.ll

  Log Message:
  -----------
  [AMDGPU] Add commute for some VOP3 inst (#121326)

add commute for some VOP3 inst, allow commute for both inline constant
operand, adjust tests

Fixes #111205


  Commit: ceaaa2b9ae3487f7ba0de553b1876e581fdbd0eb
      https://github.com/llvm/llvm-project/commit/ceaaa2b9ae3487f7ba0de553b1876e581fdbd0eb
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp

  Log Message:
  -----------
  [AMDGPU] Fix warnings

This patch fixes:

  llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:2792:14: error: comparison of
  integers of different signs: 'unsigned int' and 'int'
  [-Werror,-Wsign-compare]

  llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:2797:14: error: comparison of
  integers of different signs: 'unsigned int' and 'int'
  [-Werror,-Wsign-compare]


  Commit: 582fe3e0cac57cc47473f80dd96a2bd06ecd6290
      https://github.com/llvm/llvm-project/commit/582fe3e0cac57cc47473f80dd96a2bd06ecd6290
  Author: Scott Todd <scott.todd0 at gmail.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M mlir/cmake/modules/AddMLIRPython.cmake

  Log Message:
  -----------
  [mlir][python][cmake] Remove unsupported argument from AddMLIRPython. (#123858)

See https://cmake.org/cmake/help/latest/policy/CMP0175.html

> The `OUTPUT` form does not accept `PRE_BUILD`, `PRE_LINK`, or
`POST_BUILD` keywords.

When using CMake version 3.31+, this results in ~2000 lines of warning
spam in my downstream project:

```
CMake Warning (dev) at build-gcc/lib/cmake/mlir/AddMLIRPython.cmake:606 (add_custom_command):
  The following keywords are not supported when using
  add_custom_command(OUTPUT): PRE_BUILD.

  Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
  Run "cmake --help-policy CMP0175" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
Call Stack (most recent call first):
  build-gcc/lib/cmake/mlir/AddMLIRPython.cmake:222 (add_mlir_python_sources_target)
  build-gcc/lib/cmake/mlir/AddMLIRPython.cmake:256 (_process_target)
  compiler/bindings/python/CMakeLists.txt:239 (add_mlir_python_modules)
This warning is for project developers.  Use -Wno-dev to suppress it.
```

General docs:
https://cmake.org/cmake/help/latest/command/add_custom_command.html.
Note that `PRE_BUILD` only appears in the _second_ signature for the
function (which takes `TARGET`) not the first (which takes `OUTPUT`).


  Commit: 05861b39bafc9932d0acf5a5ca16aef2852539c5
      https://github.com/llvm/llvm-project/commit/05861b39bafc9932d0acf5a5ca16aef2852539c5
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M clang/lib/Serialization/ASTWriter.cpp
    A clang/test/Modules/vtable-in-explicit-instantiation.cppm

  Log Message:
  -----------
  [C++20] [Modules] Make sure vtable are generated for explicit template instantiation definition (#123871)

Close https://github.com/llvm/llvm-project/issues/123719

The reason is, we thought the external explicit template instantiation
declaration as the external definition incorrectly.


  Commit: c53faf63ff6bb60a383e0be17f1b9107adb62fda
      https://github.com/llvm/llvm-project/commit/c53faf63ff6bb60a383e0be17f1b9107adb62fda
  Author: Thurston Dang <thurston at google.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M lld/COFF/InputFiles.cpp
    M lld/test/COFF/empty-section-decl.yaml
    M llvm/include/llvm/Object/COFF.h
    A llvm/test/Object/coff-sec-sym.test

  Log Message:
  -----------
  Revert "[LLD] [COFF] Fix linking MSVC generated implib header objects" (#123877)

Reverts llvm/llvm-project#122811 due to buildbot breakage e.g.,
https://lab.llvm.org/buildbot/#/builders/52/builds/5421/steps/11/logs/stdio

ASan output from local re-run:
```
==2780289==ERROR: AddressSanitizer: use-after-poison on address 0x7e0b87e28d28 at pc 0x55a979a99e7e bp 0x7ffe4b18f0b0 sp 0x7ffe4b18f0a8
READ of size 1 at 0x7e0b87e28d28 thread T0
    #0 0x55a979a99e7d in getStorageClass /usr/local/google/home/thurston/buildbot_repro/llvm-project/llvm/include/llvm/Object/COFF.h:344
    #1 0x55a979a99e7d in isSectionDefinition /usr/local/google/home/thurston/buildbot_repro/llvm-project/llvm/include/llvm/Object/COFF.h:429:9
    #2 0x55a979a99e7d in getSymbols /usr/local/google/home/thurston/buildbot_repro/llvm-project/lld/COFF/LLDMapFile.cpp:54:42
    #3 0x55a979a99e7d in lld::coff::writeLLDMapFile(lld::coff::COFFLinkerContext const&) /usr/local/google/home/thurston/buildbot_repro/llvm-project/lld/COFF/LLDMapFile.cpp:103:40
    #4 0x55a979a16879 in (anonymous namespace)::Writer::run() /usr/local/google/home/thurston/buildbot_repro/llvm-project/lld/COFF/Writer.cpp:810:3
    #5 0x55a979a00aac in lld::coff::writeResult(lld::coff::COFFLinkerContext&) /usr/local/google/home/thurston/buildbot_repro/llvm-project/lld/COFF/Writer.cpp:354:15
    #6 0x55a97985f7ed in lld::coff::LinkerDriver::linkerMain(llvm::ArrayRef<char const*>) /usr/local/google/home/thurston/buildbot_repro/llvm-project/lld/COFF/Driver.cpp:2826:3
    #7 0x55a97984cdd3 in lld::coff::link(llvm::ArrayRef<char const*>, llvm::raw_ostream&, llvm::raw_ostream&, bool, bool) /usr/local/google/home/thurston/buildbot_repro/llvm-project/lld/COFF/Driver.cpp:97:15
    #8 0x55a9797f9793 in lld::unsafeLldMain(llvm::ArrayRef<char const*>, llvm::raw_ostream&, llvm::raw_ostream&, llvm::ArrayRef<lld::DriverDef>, bool) /usr/local/google/home/thurston/buildbot_repro/llvm-project/lld/Common/DriverDispatcher.cpp:163:12
    #9 0x55a9797fa3b6 in operator() /usr/local/google/home/thurston/buildbot_repro/llvm-project/lld/Common/DriverDispatcher.cpp:188:15
    #10 0x55a9797fa3b6 in void llvm::function_ref<void ()>::callback_fn<lld::lldMain(llvm::ArrayRef<char const*>, llvm::raw_ostream&, llvm::raw_ostream&, llvm::ArrayRef<lld::DriverDef>)::$_0>(long) /usr/local/google/home/thurston/buildbot_repro/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:46:12
    #11 0x55a97966cb93 in operator() /usr/local/google/home/thurston/buildbot_repro/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:69:12
    #12 0x55a97966cb93 in llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) /usr/local/google/home/thurston/buildbot_repro/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:426:3
    #13 0x55a9797f9dc3 in lld::lldMain(llvm::ArrayRef<char const*>, llvm::raw_ostream&, llvm::raw_ostream&, llvm::ArrayRef<lld::DriverDef>) /usr/local/google/home/thurston/buildbot_repro/llvm-project/lld/Common/DriverDispatcher.cpp:187:14
    #14 0x55a979627512 in lld_main(int, char**, llvm::ToolContext const&) /usr/local/google/home/thurston/buildbot_repro/llvm-project/lld/tools/lld/lld.cpp:103:14
    #15 0x55a979628731 in main /usr/local/google/home/thurston/buildbot_repro/llvm_build_asan/tools/lld/tools/lld/lld-driver.cpp:17:10
    #16 0x7ffb8b202c89 in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
    #17 0x7ffb8b202d44 in __libc_start_main csu/../csu/libc-start.c:360:3
    #18 0x55a97953ef60 in _start (/usr/local/google/home/thurston/buildbot_repro/llvm_build_asan/bin/lld+0x8fd1f60)
```


  Commit: 9d0bfea9fa8663b9d98483fb12f0ac2b199a8a0c
      https://github.com/llvm/llvm-project/commit/9d0bfea9fa8663b9d98483fb12f0ac2b199a8a0c
  Author: Lang Hames <lhames at gmail.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h

  Log Message:
  -----------
  [ORC] Remove an unimplemented method decl. NFC.


  Commit: ae139988ae2547a6ee4be5850201dedbd3d0ec66
      https://github.com/llvm/llvm-project/commit/ae139988ae2547a6ee4be5850201dedbd3d0ec66
  Author: Lang Hames <lhames at gmail.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h

  Log Message:
  -----------
  [JITLink] Fix comment: addSection no longer takes an alignment. NFC.


  Commit: 2841cdbfda92b3fb5fbec726f3376b198106d496
      https://github.com/llvm/llvm-project/commit/2841cdbfda92b3fb5fbec726f3376b198106d496
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M lldb/include/lldb/Host/Editline.h
    M lldb/include/lldb/Utility/AnsiTerminal.h
    M lldb/source/Core/IOHandler.cpp
    M lldb/source/Host/common/Editline.cpp
    M lldb/test/API/terminal/TestEditline.py
    M lldb/unittests/Editline/EditlineTest.cpp
    M lldb/unittests/Utility/AnsiTerminalTest.cpp

  Log Message:
  -----------
  [lldb] Support format string in the prompt (#123430)

Implement ansi::StripAnsiTerminalCodes and fix a long standing bug where
using format strings in lldb's prompt resulted in an incorrect prompt
column width.


  Commit: 3bd8b02aa0c5fcbb005f6d72f58f4a05421e7823
      https://github.com/llvm/llvm-project/commit/3bd8b02aa0c5fcbb005f6d72f58f4a05421e7823
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M clang/lib/Format/QualifierAlignmentFixer.cpp
    M clang/unittests/Format/QualifierFixerTest.cpp

  Log Message:
  -----------
  [clang-format] Handle leading C++11 attribute in QualifierAlignment (#123690)

Fixes #123573.


  Commit: 9cbc1f29cabc01c02a523c11d098c00650f6955c
      https://github.com/llvm/llvm-project/commit/9cbc1f29cabc01c02a523c11d098c00650f6955c
  Author: Han-Chung Wang <hanhan0912 at gmail.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M mlir/lib/Bindings/Python/IRAttributes.cpp
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalgNamed.cpp
    M mlir/lib/Conversion/VectorToXeGPU/VectorToXeGPU.cpp
    M mlir/lib/Dialect/ArmNeon/Transforms/LowerContractionToSMMLAPattern.cpp
    M mlir/lib/Dialect/Linalg/TransformOps/GPUHeuristics.cpp
    M mlir/lib/Dialect/Linalg/Transforms/BlockPackMatmul.cpp
    M mlir/lib/Dialect/Linalg/Transforms/TransposeConv2D.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
    M mlir/lib/Dialect/NVGPU/TransformOps/NVGPUTransformOps.cpp
    M mlir/lib/Dialect/Vector/Transforms/VectorDropLeadUnitDim.cpp
    M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
    M mlir/lib/Dialect/X86Vector/Transforms/AVXTranspose.cpp

  Log Message:
  -----------
  [mlir][NFC] Avoid using braced initializer lists to call a constructor. (#123714)

In the LLVM style guide, we prefer not using braced initializer lists to
call a constructor. Also, we prefer using an equal before the open curly
brace if we use a braced initializer list when initializing a variable.

See

https://llvm.org/docs/CodingStandards.html#do-not-use-braced-initializer-lists-to-call-a-constructor
for more details.

The style guide does not explain the reason well. There is an article
from abseil, which mentions few benefits. E.g., we can avoid the most
vexing parse, etc. See https://abseil.io/tips/88 for more details.

Signed-off-by: hanhanW <hanhan0912 at gmail.com>


  Commit: 5d76642a3e385ca87ff2feee353b1c10c2280c0a
      https://github.com/llvm/llvm-project/commit/5d76642a3e385ca87ff2feee353b1c10c2280c0a
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M clang/include/clang/Format/Format.h

  Log Message:
  -----------
  [clang-format][NFC] Keep option names sorted in Format.h


  Commit: 07d03c84620582a3c205254898aaffdf62df27fd
      https://github.com/llvm/llvm-project/commit/07d03c84620582a3c205254898aaffdf62df27fd
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    A clang/test/Modules/module-local-hidden-friend.cppm

  Log Message:
  -----------
  [NFC] [C++20] [Modules] Add two tests for comparison lookup within modules


  Commit: 65df99c208ed40271f6dcdfc29bed56540467ce7
      https://github.com/llvm/llvm-project/commit/65df99c208ed40271f6dcdfc29bed56540467ce7
  Author: schittir <sindhu.chittireddy at intel.com>
  Date:   2025-01-21 (Tue, 21 Jan 2025)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp

  Log Message:
  -----------
  [NFC] Avoid potential nullptr deref by using castAs<> (#123395)

Use castAs<> instead of getAs<>


  Commit: 527c030df8b18071553721329339326bfe82e2a5
      https://github.com/llvm/llvm-project/commit/527c030df8b18071553721329339326bfe82e2a5
  Author: Piotr Fusik <p.fusik at samsung.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rvv/vandn-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/vandn-vp.ll

  Log Message:
  -----------
  [RISCV][test] Add VANDN tests with constants


  Commit: 7256c91ad29c1407320d5949414fd4736d1f2644
      https://github.com/llvm/llvm-project/commit/7256c91ad29c1407320d5949414fd4736d1f2644
  Author: Lang Hames <lhames at gmail.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
    M llvm/include/llvm/ExecutionEngine/JITLink/MachO.h
    M llvm/lib/ExecutionEngine/JITLink/MachO.cpp

  Log Message:
  -----------
  [JITLink][MachO] Add getOrCreateLocalMachOHeader utility.

This function can be called on a LinkGraph to get an anonymous symbol pointing
to the start of a mach_header / mach_header_64 block with suitable cputype and
cpusubtype values for the LinkGraph, and with filetype = MachO::MH_OBJECT.

This functionality will be used in the upcoming compact-unwind support patch:
For graphs that do not have a suitable existing header to use (indicated by the
presence of a "__jitlink$libunwind_dso_base" symbol) the compact-unwind support
plugin will create a local header to use as the dso-base to report to
libunwind.


  Commit: 382bafc9579f40bd834b78df671ac45308310462
      https://github.com/llvm/llvm-project/commit/382bafc9579f40bd834b78df671ac45308310462
  Author: Lang Hames <lhames at gmail.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h
    M llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp

  Log Message:
  -----------
  [ORC][MachO] Prepare MachOPlatform for compact-unwind support.

The MachOPlatform::MachOPlatformPlugin class will now inject a
"__jitlink$libunwind_dso_base" symbol into each LinkGraph pointing to the Mach
header for the containing JITDylib. The compact-unwind support plugin will use
this symbol as the dso-base for the __unwind_info sections. (Failure to inject
this symbol would result in the compact-unwind support plugin creating a new
header for every graph).


  Commit: 6aeffcdb913052e43335130e129e36babaa9b252
      https://github.com/llvm/llvm-project/commit/6aeffcdb913052e43335130e129e36babaa9b252
  Author: Sergei Barannikov <barannikov88 at gmail.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M llvm/include/llvm/Target/TargetSelectionDAG.td
    A llvm/test/TableGen/SDNodeInfoEmitter/ambiguous-constraints.td
    A llvm/test/TableGen/SDNodeInfoEmitter/basic.td
    A llvm/test/TableGen/SDNodeInfoEmitter/namespace.td
    A llvm/test/TableGen/SDNodeInfoEmitter/skipped-nodes.td
    M llvm/utils/TableGen/CMakeLists.txt
    M llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
    M llvm/utils/TableGen/Common/CodeGenDAGPatterns.h
    A llvm/utils/TableGen/SDNodeInfoEmitter.cpp

  Log Message:
  -----------
  [TableGen] Add a backend generating SDNode descriptions (#123002)

This patch adds a simplistic backend that gathers all target-specific
SelectionDAG nodes and emits descriptions for most of them.

This includes generating node enumeration, node names, and information
about node "prototype" that can be used to verify that a node is valid.

The patch also extends SDNode by adding target-specific flags, which are
also included in the generated tables.

Part of #119709,
[RFC](https://discourse.llvm.org/t/rfc-tablegen-erating-sdnode-descriptions/83627).

Pull Request: https://github.com/llvm/llvm-project/pull/123002


  Commit: 3630d9ef65b30af7e4ca78e668649bbc48b5be66
      https://github.com/llvm/llvm-project/commit/3630d9ef65b30af7e4ca78e668649bbc48b5be66
  Author: TiborGY <tibor.gyori at chem.u-szeged.hu>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
    M llvm/test/CodeGen/AArch64/O3-pipeline.ll
    M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
    M llvm/test/CodeGen/ARM/O3-pipeline.ll
    M llvm/test/CodeGen/LoongArch/opt-pipeline.ll
    M llvm/test/CodeGen/PowerPC/O3-pipeline.ll
    M llvm/test/CodeGen/RISCV/O3-pipeline.ll
    M llvm/test/CodeGen/X86/opt-pipeline.ll

  Log Message:
  -----------
  [PartiallyInlineLibCalls] Add infrastructure for emitting optimization remarks from PartiallyInlineLibCalls (#122654)

I am planning to add some optimization remarks to the
`PartiallyInlineLibCalls` pass. However, since this pass does not emit any 
optimization remarks yet, I have to add the "infrastructure" for that first, which 
is what this PR is about.


  Commit: 8fad58a6482c300c012ab30105f0ae0118081fcd
      https://github.com/llvm/llvm-project/commit/8fad58a6482c300c012ab30105f0ae0118081fcd
  Author: David CARLIER <devnexen at gmail.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M compiler-rt/lib/rtsan/rtsan_interceptors_posix.cpp
    M compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp

  Log Message:
  -----------
  [compiler-rt][rtsan] process_vm_readv/process_vm_writev interception. (#123839)


  Commit: 1d23fb976bdcc263c48ed2f5186e5589fca3d267
      https://github.com/llvm/llvm-project/commit/1d23fb976bdcc263c48ed2f5186e5589fca3d267
  Author: Nathan Ridge <zeratul976 at hotmail.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M clang/include/clang/Sema/SemaCodeCompletion.h
    M clang/lib/Sema/SemaCodeComplete.cpp
    M clang/test/CodeCompletion/member-access.cpp

  Log Message:
  -----------
  [clang][CodeComplete] Use HeuristicResolver to resolve pointee types (#121315)

Fixes https://github.com/clangd/clangd/issues/810


  Commit: ff7e418b347def66c4c965939af814e0473b5951
      https://github.com/llvm/llvm-project/commit/ff7e418b347def66c4c965939af814e0473b5951
  Author: Nathan Ridge <zeratul976 at hotmail.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M .github/workflows/build-ci-container.yml
    M .github/workflows/libcxx-restart-preempted-jobs.yaml
    M .github/workflows/premerge.yaml
    M clang/docs/LanguageExtensions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Format/Format.h
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/lib/Driver/ToolChains/Arch/Mips.cpp
    M clang/lib/Driver/ToolChains/Arch/Mips.h
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/lib/Driver/ToolChains/Gnu.cpp
    M clang/lib/Format/QualifierAlignmentFixer.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/test/CodeCompletion/member-access.cpp
    M clang/test/Driver/darwin-version.c
    A clang/test/Modules/module-local-hidden-friend.cppm
    A clang/test/Modules/vtable-in-explicit-instantiation.cppm
    M clang/test/Sema/pragma-clang-section.c
    A clang/test/SemaCXX/warn-base-type-qualifiers.cpp
    M clang/unittests/Format/QualifierFixerTest.cpp
    M compiler-rt/lib/rtsan/rtsan_interceptors_posix.cpp
    M compiler-rt/lib/rtsan/tests/rtsan_test_interceptors_posix.cpp
    M flang/lib/Optimizer/CodeGen/CMakeLists.txt
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/test/Fir/CUDA/cuda-code-gen.mlir
    M libc/cmake/modules/LLVMLibCTestRules.cmake
    M libc/test/src/math/smoke/nan_test.cpp
    M libc/test/src/math/smoke/nanf128_test.cpp
    M libc/test/src/math/smoke/nanf16_test.cpp
    M libc/test/src/math/smoke/nanf_test.cpp
    M libc/test/src/math/smoke/nanl_test.cpp
    M libcxx/docs/CodingGuidelines.rst
    M libcxx/include/__memory/uninitialized_algorithms.h
    M libcxx/include/__vector/vector.h
    M libcxx/include/__vector/vector_bool.h
    M libcxx/include/string
    M libcxx/include/tuple
    M libcxx/test/std/containers/sequences/vector.bool/assign_range.pass.cpp
    M libcxx/test/std/containers/sequences/vector.bool/construct_from_range.pass.cpp
    M libcxx/test/std/containers/sequences/vector.bool/insert_range.pass.cpp
    M libcxx/test/std/containers/sequences/vector.bool/shrink_to_fit.pass.cpp
    M libcxx/test/std/containers/sequences/vector/vector.cons/construct_from_range.pass.cpp
    M libcxx/test/std/containers/sequences/vector/vector.modifiers/assign_range.pass.cpp
    M libcxx/test/std/containers/sequences/vector/vector.modifiers/insert_range.pass.cpp
    M libcxx/test/std/strings/basic.string/string.cons/from_range.pass.cpp
    M libcxx/test/std/strings/basic.string/string.modifiers/string_insert/insert_range.pass.cpp
    M lld/COFF/Chunks.cpp
    M lld/COFF/Chunks.h
    M lld/COFF/SymbolTable.h
    M lld/COFF/Writer.cpp
    M lld/ELF/ScriptParser.cpp
    M lld/test/COFF/arm64x-export.test
    M lld/test/COFF/pdata-arm64ec.test
    M lld/test/ELF/linkerscript/diag.test
    M lld/test/ELF/linkerscript/operators.test
    M lldb/include/lldb/API/SBDebugger.h
    M lldb/include/lldb/Host/Editline.h
    M lldb/include/lldb/Utility/AnsiTerminal.h
    M lldb/source/Core/IOHandler.cpp
    M lldb/source/Host/common/Editline.cpp
    M lldb/test/API/terminal/TestEditline.py
    M lldb/tools/lldb-dap/lldb-dap.cpp
    M lldb/unittests/Editline/EditlineTest.cpp
    M lldb/unittests/Utility/AnsiTerminalTest.cpp
    M llvm/docs/DeveloperPolicy.rst
    M llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp
    M llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp
    M llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/toy.cpp
    M llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/toy.cpp
    M llvm/examples/Kaleidoscope/Chapter4/toy.cpp
    M llvm/examples/Kaleidoscope/Chapter5/toy.cpp
    M llvm/examples/Kaleidoscope/Chapter6/toy.cpp
    M llvm/examples/Kaleidoscope/Chapter7/toy.cpp
    M llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
    M llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
    M llvm/include/llvm/ExecutionEngine/JITLink/MachO.h
    M llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h
    M llvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h
    M llvm/include/llvm/ExecutionEngine/Orc/Shared/ExecutorSymbolDef.h
    M llvm/include/llvm/Passes/DroppedVariableStatsIR.h
    M llvm/include/llvm/Target/Target.td
    M llvm/include/llvm/Target/TargetLoweringObjectFile.h
    M llvm/include/llvm/Target/TargetSelectionDAG.td
    M llvm/lib/CodeGen/AsmPrinter/WinCFGuard.cpp
    M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
    M llvm/lib/ExecutionEngine/JITLink/MachO.cpp
    M llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
    M llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp
    M llvm/lib/ObjectYAML/ELFEmitter.cpp
    M llvm/lib/Passes/DroppedVariableStatsIR.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.h
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
    M llvm/lib/Target/AMDGPU/VOP3Instructions.td
    M llvm/lib/Target/DirectX/DXIL.td
    M llvm/lib/Target/DirectX/DXILConstants.h
    M llvm/lib/Target/DirectX/DXILOpBuilder.cpp
    M llvm/lib/Target/NVPTX/NVVMReflect.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVSchedMIPSP8700.td
    M llvm/lib/Target/RISCV/RISCVSchedSyntacoreSCR1.td
    M llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
    M llvm/lib/Transforms/HipStdPar/HipStdPar.cpp
    M llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
    M llvm/lib/Transforms/Scalar/JumpThreading.cpp
    M llvm/lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/SandboxVectorizer/DependencyGraph.cpp
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/test/CodeGen/AArch64/O3-pipeline.ll
    A llvm/test/CodeGen/AArch64/cfguard-arm64ec.ll
    M llvm/test/CodeGen/AMDGPU/carryout-selection.ll
    M llvm/test/CodeGen/AMDGPU/cmp_shrink.mir
    M llvm/test/CodeGen/AMDGPU/commute-op-sel.mir
    M llvm/test/CodeGen/AMDGPU/ctlz.ll
    M llvm/test/CodeGen/AMDGPU/cvt_f32_ubyte.ll
    M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
    M llvm/test/CodeGen/AMDGPU/llvm.is.fpclass.bf16.ll
    M llvm/test/CodeGen/AMDGPU/shrink-add-sub-constant.ll
    A llvm/test/CodeGen/AMDGPU/sreg-xnull-regclass-bitwidth.mir
    M llvm/test/CodeGen/AMDGPU/widen-smrd-loads.ll
    M llvm/test/CodeGen/ARM/O3-pipeline.ll
    M llvm/test/CodeGen/DirectX/BufferLoad.ll
    M llvm/test/CodeGen/DirectX/BufferStore.ll
    M llvm/test/CodeGen/DirectX/CreateHandle.ll
    M llvm/test/CodeGen/DirectX/CreateHandleFromBinding.ll
    M llvm/test/CodeGen/DirectX/WaveActiveAllTrue.ll
    M llvm/test/CodeGen/DirectX/WaveActiveAnyTrue.ll
    M llvm/test/CodeGen/DirectX/WaveActiveCountBits.ll
    M llvm/test/CodeGen/DirectX/WaveGetLaneIndex.ll
    M llvm/test/CodeGen/DirectX/WaveReadLaneAt-vec.ll
    M llvm/test/CodeGen/DirectX/WaveReadLaneAt.ll
    M llvm/test/CodeGen/DirectX/abs.ll
    M llvm/test/CodeGen/DirectX/acos.ll
    M llvm/test/CodeGen/DirectX/asin.ll
    M llvm/test/CodeGen/DirectX/atan.ll
    M llvm/test/CodeGen/DirectX/bufferUpdateCounter.ll
    M llvm/test/CodeGen/DirectX/ceil.ll
    M llvm/test/CodeGen/DirectX/comput_ids.ll
    M llvm/test/CodeGen/DirectX/cos.ll
    M llvm/test/CodeGen/DirectX/cosh.ll
    M llvm/test/CodeGen/DirectX/countbits.ll
    M llvm/test/CodeGen/DirectX/dot4add_i8packed.ll
    M llvm/test/CodeGen/DirectX/dot4add_u8packed.ll
    M llvm/test/CodeGen/DirectX/exp.ll
    M llvm/test/CodeGen/DirectX/fdot.ll
    M llvm/test/CodeGen/DirectX/firstbithigh.ll
    M llvm/test/CodeGen/DirectX/floor.ll
    M llvm/test/CodeGen/DirectX/fmad.ll
    M llvm/test/CodeGen/DirectX/fmax.ll
    M llvm/test/CodeGen/DirectX/fmin.ll
    M llvm/test/CodeGen/DirectX/frac.ll
    M llvm/test/CodeGen/DirectX/idot.ll
    M llvm/test/CodeGen/DirectX/imad.ll
    M llvm/test/CodeGen/DirectX/isinf.ll
    M llvm/test/CodeGen/DirectX/log.ll
    M llvm/test/CodeGen/DirectX/log10.ll
    M llvm/test/CodeGen/DirectX/log2.ll
    M llvm/test/CodeGen/DirectX/reversebits.ll
    M llvm/test/CodeGen/DirectX/round.ll
    M llvm/test/CodeGen/DirectX/rsqrt.ll
    M llvm/test/CodeGen/DirectX/saturate.ll
    M llvm/test/CodeGen/DirectX/sin.ll
    M llvm/test/CodeGen/DirectX/sinh.ll
    M llvm/test/CodeGen/DirectX/smax.ll
    M llvm/test/CodeGen/DirectX/smin.ll
    M llvm/test/CodeGen/DirectX/splitdouble.ll
    M llvm/test/CodeGen/DirectX/sqrt.ll
    M llvm/test/CodeGen/DirectX/tan.ll
    M llvm/test/CodeGen/DirectX/tanh.ll
    M llvm/test/CodeGen/DirectX/trunc.ll
    M llvm/test/CodeGen/DirectX/umad.ll
    M llvm/test/CodeGen/DirectX/umax.ll
    M llvm/test/CodeGen/DirectX/umin.ll
    M llvm/test/CodeGen/DirectX/wave_is_first_lane.ll
    M llvm/test/CodeGen/LoongArch/opt-pipeline.ll
    M llvm/test/CodeGen/PowerPC/O3-pipeline.ll
    M llvm/test/CodeGen/RISCV/O3-pipeline.ll
    M llvm/test/CodeGen/RISCV/rvv/intrinsic-vector-match.ll
    M llvm/test/CodeGen/RISCV/rvv/splat-vectors.ll
    M llvm/test/CodeGen/RISCV/rvv/vandn-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/vandn-vp.ll
    A llvm/test/CodeGen/X86/clang-section-coff.ll
    M llvm/test/CodeGen/X86/opt-pipeline.ll
    A llvm/test/TableGen/SDNodeInfoEmitter/ambiguous-constraints.td
    A llvm/test/TableGen/SDNodeInfoEmitter/basic.td
    A llvm/test/TableGen/SDNodeInfoEmitter/namespace.td
    A llvm/test/TableGen/SDNodeInfoEmitter/skipped-nodes.td
    M llvm/test/Transforms/HipStdPar/allocation-interposition.ll
    M llvm/test/Transforms/JumpThreading/thread-debug-info.ll
    A llvm/test/Transforms/LoopVectorize/AArch64/sve-interleaved-accesses-cost.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-interleaved-accesses.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/sve-interleaved-masked-accesses.ll
    M llvm/test/Transforms/LoopVectorize/RISCV/interleaved-accesses.ll
    R llvm/test/Transforms/PhaseOrdering/AArch64/sve-interleave-vectorization.ll
    M llvm/test/tools/llvm-gsymutil/ARM_AArch64/macho-gsym-merged-callsites-dsym.yaml
    A llvm/test/tools/llvm-lib/member-names.test
    M llvm/unittests/ExecutionEngine/Orc/ExecutorAddressTest.cpp
    M llvm/unittests/IR/DroppedVariableStatsIRTest.cpp
    M llvm/utils/TableGen/CMakeLists.txt
    M llvm/utils/TableGen/Common/CodeGenDAGPatterns.cpp
    M llvm/utils/TableGen/Common/CodeGenDAGPatterns.h
    M llvm/utils/TableGen/DXILEmitter.cpp
    A llvm/utils/TableGen/SDNodeInfoEmitter.cpp
    M mlir/cmake/modules/AddMLIRPython.cmake
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/include/mlir/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.h
    M mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
    M mlir/lib/Bindings/Python/IRAttributes.cpp
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
    M mlir/lib/Conversion/TosaToLinalg/TosaToLinalgNamed.cpp
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVMPass.cpp
    M mlir/lib/Conversion/VectorToXeGPU/VectorToXeGPU.cpp
    M mlir/lib/Dialect/ArmNeon/Transforms/LowerContractionToSMMLAPattern.cpp
    M mlir/lib/Dialect/Linalg/TransformOps/GPUHeuristics.cpp
    M mlir/lib/Dialect/Linalg/Transforms/BlockPackMatmul.cpp
    M mlir/lib/Dialect/Linalg/Transforms/TransposeConv2D.cpp
    M mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
    M mlir/lib/Dialect/NVGPU/TransformOps/NVGPUTransformOps.cpp
    M mlir/lib/Dialect/Vector/Transforms/VectorDropLeadUnitDim.cpp
    M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
    M mlir/lib/Dialect/X86Vector/Transforms/AVXTranspose.cpp
    M utils/bazel/configure.bzl
    M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel

  Log Message:
  -----------
  Merge branch 'main' into users/HighCommander4/clangd-issue-1249


Compare: https://github.com/llvm/llvm-project/compare/58029449d63a...ff7e418b347d

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list