[all-commits] [llvm/llvm-project] 1d0f40: [libc] fix generic __stack_check_fail for fuchsia ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Jan 2 16:57:37 PST 2025


  Branch: refs/heads/users/MaskRay/spr/lldwasm-replace-config-with-ctxarg
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d0f40ba05b76ff028c69054899f88f1c7452b4b
      https://github.com/llvm/llvm-project/commit/1d0f40ba05b76ff028c69054899f88f1c7452b4b
  Author: Tristan Ross <tristan.ross at midstall.com>
  Date:   2024-12-31 (Tue, 31 Dec 2024)

  Changed paths:
    M libc/src/compiler/generic/__stack_chk_fail.cpp

  Log Message:
  -----------
  [libc] fix generic __stack_check_fail for fuchsia (#121401)


  Commit: 2feffecb8853b1cdd38a0653df63d70412e65c12
      https://github.com/llvm/llvm-project/commit/2feffecb8853b1cdd38a0653df63d70412e65c12
  Author: Stephen Senran Zhang <zsrkmyn at gmail.com>
  Date:   2024-12-31 (Tue, 31 Dec 2024)

  Changed paths:
    M clang/test/CodeGen/AArch64/fpm-helpers.c
    M llvm/lib/IR/ConstantRange.cpp
    A llvm/test/Transforms/SCCP/range-and-or-bit-masked.ll
    M llvm/unittests/IR/ConstantRangeTest.cpp

  Log Message:
  -----------
  [ConstantRange] Estimate tighter lower (upper) bounds for masked binary and (or) (#120352)

Fixes #118108.

Co-author: Yingwei Zheng (@dtcxzyw)


  Commit: f1fa292cd61a70f41aa8dd8c33c4ac8d036dcfd0
      https://github.com/llvm/llvm-project/commit/f1fa292cd61a70f41aa8dd8c33c4ac8d036dcfd0
  Author: Vikram Hegde <115221833+vikramRH at users.noreply.github.com>
  Date:   2025-01-01 (Wed, 01 Jan 2025)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/mad_64_32.ll

  Log Message:
  -----------
  [AMDGPU] Pre-commit tests for "lshr + mad" fold (#119509)


  Commit: 283806695a6deeacd5d3eaf88becec2b627ab56f
      https://github.com/llvm/llvm-project/commit/283806695a6deeacd5d3eaf88becec2b627ab56f
  Author: Vikash Gupta <Vikash.Gupta at amd.com>
  Date:   2025-01-01 (Wed, 01 Jan 2025)

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/combine-select.mir

  Log Message:
  -----------
  [GlobalIsel] Add combine for select with constants (#121088)

The SelectionDAG Isel supports the both version of combines mentioned
below :
```
select Cond, Pow2, 0 --> (zext Cond)  << log2(Pow2) 
select Cond, 0, Pow2 --> (zext !Cond) << log2(Pow2)
```
The GlobalIsel for now only supports the first one defined in it's
generic combinerHelper.cpp. This patch adds the missing second one.


  Commit: eafbab6facb0627e11757efb1eae98f806387b55
      https://github.com/llvm/llvm-project/commit/eafbab6facb0627e11757efb1eae98f806387b55
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2025-01-01 (Wed, 01 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
    A llvm/test/Transforms/EntryExitInstrumenter/mcount-with-frompc.ll

  Log Message:
  -----------
  [EntryExitInstrumenter][AArch64][RISCV][LoongArch] Pass `__builtin_return_address(0)` into `_mcount` (#121107)

On RISC-V, AArch64, and LoongArch, the `_mcount` function takes
`__builtin_return_address(0)` as an argument since
`__builtin_return_address(1)` is not available on these platforms. This
patch fixes the argument passing to match the behavior of glibc/gcc.

Closes https://github.com/llvm/llvm-project/issues/121103.


  Commit: a29bd8cbab7390e5a9e3182e6e87908f4e7daced
      https://github.com/llvm/llvm-project/commit/a29bd8cbab7390e5a9e3182e6e87908f4e7daced
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-01-01 (Wed, 01 Jan 2025)

  Changed paths:
    M llvm/include/llvm/Passes/MachinePassRegistry.def
    M llvm/lib/Passes/PassBuilder.cpp

  Log Message:
  -----------
  [CodeGen][NewPM] Record parameterized machine pass names to PIC (#120554)

Required for `{start|stop}-{after-before}` cli


  Commit: 1623c435948ae305220e638066e968cb3296e567
      https://github.com/llvm/llvm-project/commit/1623c435948ae305220e638066e968cb3296e567
  Author: TilakChad <49703944+TilakChad at users.noreply.github.com>
  Date:   2025-01-01 (Wed, 01 Jan 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ExprCXX.cpp
    M clang/test/SemaCXX/cxx2c-pack-indexing.cpp

  Log Message:
  -----------
  [Clang] Resolved type of expression indexing into pack of values of a non-dependent type (#121405)


  Commit: ca2ab74838c41a4146835b5bcc91ce4732273f7d
      https://github.com/llvm/llvm-project/commit/ca2ab74838c41a4146835b5bcc91ce4732273f7d
  Author: xtex <xtex at envs.net>
  Date:   2025-01-01 (Wed, 01 Jan 2025)

  Changed paths:
    M clang/include/clang/Frontend/Utils.h
    M clang/lib/Frontend/DependencyFile.cpp
    M clang/test/Frontend/dependency-gen-symlink.c
    M clang/test/Frontend/dependency-gen-windows-duplicates.c
    M clang/test/VFS/external-names.c

  Log Message:
  -----------
  [clang] Canonicalize absolute paths in dependency file (#117458)

This fixes #117438.

If paths in dependency file are not absoulte, make (or ninja) will
canonicalize them.
While their canonicalization does not involves symbolic links expansion
(for IO performance concerns), leaving a non-absolute path in dependency
file may lead to unexpected canonicalization.
For example, '/a/../b', where '/a' is a symlink to '/c/d', it should be
'/c/b' but make (and ninja) canonicalizes it as '/b', and fails for file
not found.


  Commit: 50054ba2f446c29b46f0fe55e7b8c48b3818a23f
      https://github.com/llvm/llvm-project/commit/50054ba2f446c29b46f0fe55e7b8c48b3818a23f
  Author: Akshat Oke <Akshat.Oke at amd.com>
  Date:   2025-01-01 (Wed, 01 Jan 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/LiveRegMatrix.h
    M llvm/lib/CodeGen/LiveRegMatrix.cpp

  Log Message:
  -----------
  [CodeGen] LiveRegMatrix: Use allocator through a unique_ptr (#120556)

`LIU::Matrix` holds on to a pointer to the allocator in LiveRegMatrix and is left hanging when the allocator moves with the LiveRegMatrix.

This extends the lifetime of the allocator so that it does not get destroyed when moving a LiveRegMatrix object.


  Commit: ed572f2003275da8e06a634b4d6658b7921e8334
      https://github.com/llvm/llvm-project/commit/ed572f2003275da8e06a634b4d6658b7921e8334
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2025-01-01 (Wed, 01 Jan 2025)

  Changed paths:
    M libcxx/include/__algorithm/mismatch.h
    M libcxx/include/__algorithm/simd_utils.h

  Log Message:
  -----------
  Reapply "[libc++] Explicitly convert to masks in SIMD code (#107983)" (#121352)

This reverts commit 0ea40bf02138c02e7680ce6fa8169502f2a8bd42.

Passes with https://github.com/llvm/llvm-project/issues/121365 fix: 
https://lab.llvm.org/buildbot/#/builders/55/builds/4930


  Commit: fac6be61c6ccbae15647f4f2485415f630341e2a
      https://github.com/llvm/llvm-project/commit/fac6be61c6ccbae15647f4f2485415f630341e2a
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2025-01-01 (Wed, 01 Jan 2025)

  Changed paths:
    M mlir/CMakeLists.txt

  Log Message:
  -----------
  [mlir] Prepend include directories before LLVM includes (#121223)

Prepend mlir's include directories before system LLVM include
directories. This is particularly important for standalone builds, where
system include directory may contain the previous version of mlir, and
therefore various mlir targets (particularly tablegen) end up using the
headers from the previous version over the fresh ones. The new logic is
copied from clang.


  Commit: 6d3d952f11d350f6ad2cd6199681af158f4bd397
      https://github.com/llvm/llvm-project/commit/6d3d952f11d350f6ad2cd6199681af158f4bd397
  Author: Tomer Shafir <86107951+tomershafir at users.noreply.github.com>
  Date:   2025-01-01 (Wed, 01 Jan 2025)

  Changed paths:
    R llvm/test/tools/llvm-xray/X86/account-empty-stack-error.yaml
    A llvm/test/tools/llvm-xray/X86/account-exit-mismatch-empty-stack-error.yaml
    A llvm/test/tools/llvm-xray/X86/account-exit-mismatch-non-empty-stack-error.yaml
    M llvm/test/tools/llvm-xray/X86/account-keep-going.yaml

  Log Message:
  -----------
  [XRay][account] add account test for nonempty exit mismatch (#93564)

- Add `llvm-xray account` regression test for an exit mismatch with a
non empty stack (its a different code path than empty stack).
- Align empty stack test case name.


  Commit: 2a90efd854f5bcce65a7b0fe5a75860160dc103b
      https://github.com/llvm/llvm-project/commit/2a90efd854f5bcce65a7b0fe5a75860160dc103b
  Author: Stephen Senran Zhang <zsrkmyn at gmail.com>
  Date:   2025-01-01 (Wed, 01 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp

  Log Message:
  -----------
  [NFC][ConstraintElimination] Optimize code styles (#121422)

This patch does following things,

- prefer early exits;
- add missing std::move;
- avoid duplicate map lookups;
- prefer emplace_back to avoid unnecessary copies.


  Commit: 1135d36f869541f14934471e255c6e2631d6eebe
      https://github.com/llvm/llvm-project/commit/1135d36f869541f14934471e255c6e2631d6eebe
  Author: Mark Danial <118996571+madanial0 at users.noreply.github.com>
  Date:   2025-01-01 (Wed, 01 Jan 2025)

  Changed paths:
    M llvm/utils/lit/tests/shtest-format.py

  Log Message:
  -----------
  [AIX] [lit] Fix shtest-format.py to account for behaviour on AIX (#121426)

The changes from https://github.com/llvm/llvm-project/pull/121376 has
broken the ppc64 aix bot:
https://lab.llvm.org/buildbot/#/builders/64/builds/1835. Adjusted the
testcase to account for `cat` behaviour on AIX prior to the changes


  Commit: 8435225374e1dc17fddf618eec3cf8c396ac669f
      https://github.com/llvm/llvm-project/commit/8435225374e1dc17fddf618eec3cf8c396ac669f
  Author: Jacek Caban <jacek at codeweavers.com>
  Date:   2025-01-01 (Wed, 01 Jan 2025)

  Changed paths:
    M lld/COFF/Driver.cpp
    M lld/COFF/Driver.h
    M lld/COFF/InputFiles.cpp
    M lld/COFF/SymbolTable.cpp
    M lld/COFF/SymbolTable.h

  Log Message:
  -----------
  [LLD][COFF] Move addFile implementation to LinkerDriver (NFC) (#121342)

The addFile implementation does not rely on the SymbolTable object. With
#119294, the symbol table for input files is determined during the
construction of the objects representing them. To clarify that
relationship, this change moves the implementation from the SymbolTable
class to the LinkerDriver class.


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

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-shuffle-exact-vlen.ll

  Log Message:
  -----------
  Revert "[RISCV][CG]Use processShuffleMasks for per-register shuffles"

This reverts commit b8952d4b1b0c73bf39d6440ad3166a088ced563f.

spec x264 fails to build in all VLS configurations, with the assertion
failure: clang: ../llvm-project/llvm/lib/Target/RISCV/RISCVISelLowering.cpp:5246: llvm::SDValue lowerShuffleViaVRegSplitting(llvm::ShuffleVectorSDNode*, llvm::SelectionDAG&, const llvm::RISCVSubtarget&): Assertion `RegCnt == NumOfDestRegs && "Whole vector must be processed"' failed.

I can reduce a failing piece of IR, but the failure appears pretty
broad, so I suspect any reasonable vls build will hit it.


  Commit: 0cbe28df7100bf4384f84542d602f90cb783a2d4
      https://github.com/llvm/llvm-project/commit/0cbe28df7100bf4384f84542d602f90cb783a2d4
  Author: Nico Weber <thakis at chromium.org>
  Date:   2025-01-01 (Wed, 01 Jan 2025)

  Changed paths:
    M llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn

  Log Message:
  -----------
  [gn] port 28ae2ff2a44c


  Commit: bd154e823eba4d62366dfa3d56ae0b99ab171b96
      https://github.com/llvm/llvm-project/commit/bd154e823eba4d62366dfa3d56ae0b99ab171b96
  Author: Peng Huang <shawn.p.huang at gmail.com>
  Date:   2025-01-01 (Wed, 01 Jan 2025)

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

  Log Message:
  -----------
  Reapply "[Driver][OHOS] Fix lld link issue for OHOS (#118192)" (#120159)

The problem in original change is because OHOS::getCompilerRT()
pickes a wrong builtin runtime
`./lib/clang/20/lib/linux/libclang_rt.builtins-x86_64.a`,
if `./lib/clang/20/lib/linux/libclang_rt.builtins-x86_64.a` exist on the
test filesystem. It shouldn't happen with a clean build.


  Commit: 418dedc2341e807fe7501ad95526b0d7c2f167c4
      https://github.com/llvm/llvm-project/commit/418dedc2341e807fe7501ad95526b0d7c2f167c4
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-01-01 (Wed, 01 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

  Log Message:
  -----------
  [VPlan] Remove redundant setting of insert point in ::executePlan (NFC).

The entry block is a VPIRBasicBkock wrapping the original loop's
preheader, so the insert point doesn't need to be set.


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.cpp

  Log Message:
  -----------
  [VPlan] Replace VPBBs with VPIRBBs during skeleton creation (NFC).

Move replacement of VPBBs for vector preheader, middle block and scalar
preheader from VPlan::execute to skeleton creation, which actually
creates the IR basic blocks.

For now, the vector preheader can only be replaced after
prepareToExecute as it may create new instructions in the vector
preheader.


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

  Changed paths:
    M clang/docs/ClangFormat.rst
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Format/MatchFilePath.cpp
    M clang/unittests/Format/MatchFilePathTest.cpp

  Log Message:
  -----------
  [clang-format] Support globstar in .clang-format-ignore (#121404)

Closes #110160.
Closes #114969.


  Commit: 62cd050b635cbb201dd08188696448cf5ab23260
      https://github.com/llvm/llvm-project/commit/62cd050b635cbb201dd08188696448cf5ab23260
  Author: Roland McGrath <mcgrathr at google.com>
  Date:   2025-01-01 (Wed, 01 Jan 2025)

  Changed paths:
    M libc/docs/dev/header_generation.rst
    M libc/include/CMakeLists.txt
    A libc/include/arpa/inet.yaml
    A libc/include/assert.yaml
    A libc/include/complex.yaml
    A libc/include/ctype.yaml
    A libc/include/dirent.yaml
    A libc/include/dlfcn.yaml
    A libc/include/elf.yaml
    A libc/include/errno.yaml
    A libc/include/fcntl.yaml
    A libc/include/features.yaml
    A libc/include/fenv.yaml
    A libc/include/float.yaml
    A libc/include/inttypes.yaml
    A libc/include/limits.yaml
    A libc/include/link.yaml
    A libc/include/locale.yaml
    A libc/include/malloc.yaml
    A libc/include/math.yaml
    A libc/include/pthread.yaml
    A libc/include/sched.yaml
    A libc/include/search.yaml
    A libc/include/setjmp.yaml
    A libc/include/signal.yaml
    A libc/include/spawn.yaml
    A libc/include/stdbit.yaml
    A libc/include/stdckdint.yaml
    A libc/include/stdfix.yaml
    A libc/include/stdint.yaml
    A libc/include/stdio.yaml
    A libc/include/stdlib.yaml
    A libc/include/string.yaml
    A libc/include/strings.yaml
    A libc/include/sys/auxv.yaml
    A libc/include/sys/epoll.yaml
    A libc/include/sys/ioctl.yaml
    A libc/include/sys/mman.yaml
    A libc/include/sys/prctl.yaml
    A libc/include/sys/random.yaml
    A libc/include/sys/resource.yaml
    A libc/include/sys/select.yaml
    A libc/include/sys/sendfile.yaml
    A libc/include/sys/socket.yaml
    A libc/include/sys/stat.yaml
    A libc/include/sys/statvfs.yaml
    A libc/include/sys/syscall.yaml
    A libc/include/sys/time.yaml
    A libc/include/sys/types.yaml
    A libc/include/sys/utsname.yaml
    A libc/include/sys/wait.yaml
    A libc/include/termios.yaml
    A libc/include/threads.yaml
    A libc/include/time.yaml
    A libc/include/uchar.yaml
    A libc/include/unistd.yaml
    A libc/include/wchar.yaml
    M libc/src/math/docs/add_math_function.md
    R libc/utils/hdrgen/yaml/arpa/inet.yaml
    R libc/utils/hdrgen/yaml/assert.yaml
    R libc/utils/hdrgen/yaml/complex.yaml
    R libc/utils/hdrgen/yaml/ctype.yaml
    R libc/utils/hdrgen/yaml/dirent.yaml
    R libc/utils/hdrgen/yaml/dlfcn.yaml
    R libc/utils/hdrgen/yaml/elf.yaml
    R libc/utils/hdrgen/yaml/errno.yaml
    R libc/utils/hdrgen/yaml/fcntl.yaml
    R libc/utils/hdrgen/yaml/features.yaml
    R libc/utils/hdrgen/yaml/fenv.yaml
    R libc/utils/hdrgen/yaml/float.yaml
    R libc/utils/hdrgen/yaml/inttypes.yaml
    R libc/utils/hdrgen/yaml/limits.yaml
    R libc/utils/hdrgen/yaml/link.yaml
    R libc/utils/hdrgen/yaml/locale.yaml
    R libc/utils/hdrgen/yaml/malloc.yaml
    R libc/utils/hdrgen/yaml/math.yaml
    R libc/utils/hdrgen/yaml/pthread.yaml
    R libc/utils/hdrgen/yaml/sched.yaml
    R libc/utils/hdrgen/yaml/search.yaml
    R libc/utils/hdrgen/yaml/setjmp.yaml
    R libc/utils/hdrgen/yaml/signal.yaml
    R libc/utils/hdrgen/yaml/spawn.yaml
    R libc/utils/hdrgen/yaml/stdbit.yaml
    R libc/utils/hdrgen/yaml/stdckdint.yaml
    R libc/utils/hdrgen/yaml/stdfix.yaml
    R libc/utils/hdrgen/yaml/stdint.yaml
    R libc/utils/hdrgen/yaml/stdio.yaml
    R libc/utils/hdrgen/yaml/stdlib.yaml
    R libc/utils/hdrgen/yaml/string.yaml
    R libc/utils/hdrgen/yaml/strings.yaml
    R libc/utils/hdrgen/yaml/sys/auxv.yaml
    R libc/utils/hdrgen/yaml/sys/epoll.yaml
    R libc/utils/hdrgen/yaml/sys/ioctl.yaml
    R libc/utils/hdrgen/yaml/sys/mman.yaml
    R libc/utils/hdrgen/yaml/sys/prctl.yaml
    R libc/utils/hdrgen/yaml/sys/random.yaml
    R libc/utils/hdrgen/yaml/sys/resource.yaml
    R libc/utils/hdrgen/yaml/sys/select.yaml
    R libc/utils/hdrgen/yaml/sys/sendfile.yaml
    R libc/utils/hdrgen/yaml/sys/socket.yaml
    R libc/utils/hdrgen/yaml/sys/stat.yaml
    R libc/utils/hdrgen/yaml/sys/statvfs.yaml
    R libc/utils/hdrgen/yaml/sys/syscall.yaml
    R libc/utils/hdrgen/yaml/sys/time.yaml
    R libc/utils/hdrgen/yaml/sys/types.yaml
    R libc/utils/hdrgen/yaml/sys/utsname.yaml
    R libc/utils/hdrgen/yaml/sys/wait.yaml
    R libc/utils/hdrgen/yaml/termios.yaml
    R libc/utils/hdrgen/yaml/threads.yaml
    R libc/utils/hdrgen/yaml/time.yaml
    R libc/utils/hdrgen/yaml/uchar.yaml
    R libc/utils/hdrgen/yaml/unistd.yaml
    R libc/utils/hdrgen/yaml/wchar.yaml

  Log Message:
  -----------
  [libc] Move hdrgen yaml files into include/ (#121443)

The .yaml files should live next to the corresponding .h.def
files in libc/include/, rather than next to the implementation of
the tool in libc/utils/hdrgen/.  As with the .h.def files, there
is no need for a yaml/ subdirectory under include/.  This simpler
layout is more natural for maintenance and also simplifies build
integration outside the LLVM CMake build.


  Commit: 508929d42a8735b05815b5332a4733ed8d0bf1eb
      https://github.com/llvm/llvm-project/commit/508929d42a8735b05815b5332a4733ed8d0bf1eb
  Author: Roland McGrath <mcgrathr at google.com>
  Date:   2025-01-01 (Wed, 01 Jan 2025)

  Changed paths:
    M libc/utils/hdrgen/gpu_headers.py

  Log Message:
  -----------
  [libc] Make GpuHeaderFile a subclass (#121445)

Replace copy&paste from HeaderFile to GpuHeaderFile with
subclassing.  Only the __str__ method differs.


  Commit: 1a0d0ae234544dc4978f1e12730408cb83f6b923
      https://github.com/llvm/llvm-project/commit/1a0d0ae234544dc4978f1e12730408cb83f6b923
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2025-01-01 (Wed, 01 Jan 2025)

  Changed paths:
    M clang/docs/ClangFormatStyleOptions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Format/Format.h
    M clang/lib/Format/Format.cpp
    M clang/lib/Format/FormatToken.h
    M clang/lib/Format/FormatTokenLexer.cpp
    M clang/lib/Format/FormatTokenLexer.h
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/unittests/Format/TokenAnnotatorTest.cpp

  Log Message:
  -----------
  [clang-format] Add `VariableTemplates` option (#121318)

Closes #120148.


  Commit: 23ec9ee17eacb18eeb01d3c5a0d424852c7c1909
      https://github.com/llvm/llvm-project/commit/23ec9ee17eacb18eeb01d3c5a0d424852c7c1909
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86InstrAVX10.td
    M llvm/test/CodeGen/X86/fminimum-fmaximum.ll
    M llvm/test/TableGen/x86-fold-tables.inc

  Log Message:
  -----------
  [X86][AVX10.2] Lower fmininum/fmaximum to VMINMAX* (#121373)


  Commit: 096551537b2a747a3387726ca618ceeb3950e9bc
      https://github.com/llvm/llvm-project/commit/096551537b2a747a3387726ca618ceeb3950e9bc
  Author: Lang Hames <lhames at gmail.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/ELFNixPlatform.h
    M llvm/test/ExecutionEngine/JITLink/x86-64/LocalDependencyPropagation.s
    M llvm/tools/llvm-jitlink/llvm-jitlink-coff.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink-elf.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink-macho.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp

  Log Message:
  -----------
  "Reapply "[llvm-jitlink] Use concurrent linking by default." with more fixes.

This reapplies edca1d9bad2 which was reverted in 7ec139ad4bc due to bot
failures.

LocalDependencyPropagation.s is updated to use -num-threads=0 in order to
avoid interleaving debugging output.

ELFNixPlatform.h is updated to protect the deferred runtime function calls
map during bootstrap.


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

  Changed paths:
    M clang-tools-extra/clangd/unittests/Matchers.h
    M clang-tools-extra/clangd/unittests/TypeHierarchyTests.cpp

  Log Message:
  -----------
  [clangd] Remove clangd's HasValue GMock matcher (#121309)

An equivalent matcher under the name Optional has since been added
upstream to GMock.

Fixes https://github.com/llvm/llvm-project/issues/121308


  Commit: 0c68155002edb30d6b0df3f17fe1f44a01afacd9
      https://github.com/llvm/llvm-project/commit/0c68155002edb30d6b0df3f17fe1f44a01afacd9
  Author: Lang Hames <lhames at gmail.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp

  Log Message:
  -----------
  [llvm-jitlink] Fix llvm-jitlink for LLVM_ENABLE_THREADS=Off.

Commit edca1d9bad2 enabled threaded linking by default in llvm-jitlink, but we
need to handle the case where LLVM is built with -DLLVM_ENABLE_THREADS=Off.

This patch updates the llvm-jitlink tool to switch back to materialization on
the main thread (equivalent to llvm-jitlink -num-threads=0 ...) when LLVM is
built without thread support.


  Commit: 641a786bedc054e71764f69f6f448ad4e090c9a4
      https://github.com/llvm/llvm-project/commit/641a786bedc054e71764f69f6f448ad4e090c9a4
  Author: David Green <david.green at arm.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M llvm/test/Analysis/CostModel/AArch64/shuffle-select.ll
    A llvm/test/CodeGen/AArch64/shuffle-select.ll

  Log Message:
  -----------
  [AArch64] Add codegen shuffle-select test. NFC

This splits the shuffle-select CostModel test into a seperate CodeGen test and
removes the codegen from the CostModel version. An extra fp16 test is added
too.


  Commit: 45e874e39030bc622ea43fbcfc4fcdd1dd404353
      https://github.com/llvm/llvm-project/commit/45e874e39030bc622ea43fbcfc4fcdd1dd404353
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp
    M clang/test/CodeGen/builtin-memfns.c

  Log Message:
  -----------
  [clang][bytecode] Check for memcpy/memmove dummy pointers earlier (#121453)


  Commit: a3744f065a3ce38deaf650a8f92941c19980b32a
      https://github.com/llvm/llvm-project/commit/a3744f065a3ce38deaf650a8f92941c19980b32a
  Author: Spencer Abson <Spencer.Abson at arm.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M clang/include/clang/Basic/arm_immcheck_incl.td
    M clang/lib/Sema/SemaARM.cpp

  Log Message:
  -----------
  [clang][AArch64] Remove references to vector size in SVE immediate range checking. NFC


  Commit: d5c8af492f2d8620b04330024d46a5f48db546fe
      https://github.com/llvm/llvm-project/commit/d5c8af492f2d8620b04330024d46a5f48db546fe
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp
    M clang/test/AST/ByteCode/builtin-functions.cpp

  Log Message:
  -----------
  [clang][bytecode] Consider start index when copying composite array (#121461)

... elements.


  Commit: 34097c07e151fef0e5c645e1dac7f4872774317b
      https://github.com/llvm/llvm-project/commit/34097c07e151fef0e5c645e1dac7f4872774317b
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp
    M clang/test/AST/ByteCode/builtin-functions.cpp

  Log Message:
  -----------
  [clang][bytecode] Consider unknown-size arrays in memcpy/memcmp (#121462)

When emitting diagnostics for the number of elements.


  Commit: 4c5c5e2f41e62e4be9ca7bb6c42221cc11700321
      https://github.com/llvm/llvm-project/commit/4c5c5e2f41e62e4be9ca7bb6c42221cc11700321
  Author: ZhaoQi <zhaoqi01 at loongson.cn>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/JITLink/loongarch.h
    M llvm/lib/ExecutionEngine/JITLink/ELF_loongarch.cpp
    M llvm/lib/ExecutionEngine/JITLink/loongarch.cpp
    M llvm/test/ExecutionEngine/JITLink/LoongArch/ELF_loongarch32_relocations.s
    M llvm/test/ExecutionEngine/JITLink/LoongArch/ELF_loongarch64_relocations.s

  Log Message:
  -----------
  [JITLink][LoongArch] Add R_LARCH_{B16,B21} relocations support (#121096)


  Commit: 3ddc9f06ae61e916b333b096cef3560f0f5c6272
      https://github.com/llvm/llvm-project/commit/3ddc9f06ae61e916b333b096cef3560f0f5c6272
  Author: David Green <david.green at arm.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    A llvm/test/Analysis/CostModel/AArch64/shuffle-extract.ll
    M llvm/test/CodeGen/AArch64/shuffle-select.ll
    A llvm/test/Transforms/PhaseOrdering/AArch64/block_scaling_decompr_8bit.ll

  Log Message:
  -----------
  [AArch64] Additional shuffle subvector-extract cost tests. NFC

A Phase Ordering test for intrinsic shuffles is also added, showing a recent
regression from vector combining.


  Commit: 460e7d5f3054855af83e50f32a81ce71cac55a04
      https://github.com/llvm/llvm-project/commit/460e7d5f3054855af83e50f32a81ce71cac55a04
  Author: Abid Qadeer <haqadeer at amd.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp

  Log Message:
  -----------
  [flang][debug] Correct pointer size. (#120781)

We were passing size in bytes for the sizeInBits field in
DIDerivedTypeAttr with DW_TAG_pointer_type. Although this field is
un-used in this case but better to be accurate.


  Commit: 328ff042e33767d9abdc56bf62132e00b832ecc4
      https://github.com/llvm/llvm-project/commit/328ff042e33767d9abdc56bf62132e00b832ecc4
  Author: Abid Qadeer <haqadeer at amd.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp

  Log Message:
  -----------
  [flang][NFC] Replace dyn_cast_or_null with dyn_cast_if_present. (#120785)


  Commit: 450c6b02d224245656c41033cc0c849bde2045f3
      https://github.com/llvm/llvm-project/commit/450c6b02d224245656c41033cc0c849bde2045f3
  Author: josel-amd <jose.lopes at amd.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M mlir/include/mlir/Conversion/SCFToEmitC/SCFToEmitC.h
    M mlir/lib/Conversion/SCFToEmitC/SCFToEmitC.cpp
    M mlir/test/Conversion/SCFToEmitC/for.mlir
    M mlir/test/Conversion/SCFToEmitC/switch.mlir

  Log Message:
  -----------
  [MLIR][SCFToEmitC] Convert types while converting from SCF to EmitC (#118940)

Switch from rewrite patterns to conversion patterns. This allows to
perform type conversions together with other parts of the IR. For
example, this allows to convert from index to emit.size_t types.


  Commit: df728cf1d7959e214af68dbf4d6e3750fc7b5b13
      https://github.com/llvm/llvm-project/commit/df728cf1d7959e214af68dbf4d6e3750fc7b5b13
  Author: Matthias Gehre <matthias.gehre at amd.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M mlir/include/mlir/Conversion/SCFToEmitC/SCFToEmitC.h
    M mlir/lib/Conversion/SCFToEmitC/SCFToEmitC.cpp
    M mlir/test/Conversion/SCFToEmitC/for.mlir
    M mlir/test/Conversion/SCFToEmitC/switch.mlir

  Log Message:
  -----------
  Revert "[MLIR][SCFToEmitC] Convert types while converting from SCF to EmitC (#118940)"

This reverts commit 450c6b02d224245656c41033cc0c849bde2045f3.


  Commit: 76a4c4593ba9f8cad894d80ea75687cd86be3cdd
      https://github.com/llvm/llvm-project/commit/76a4c4593ba9f8cad894d80ea75687cd86be3cdd
  Author: Rajat Bajpai <rbajpai at nvidia.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/fcmp-fadd-select.ll

  Log Message:
  -----------
  [InstCombine] Fix constant swap case of fcmp + fadd + sel xfrm (#119419)

The fcmp + fadd + sel => fcmp + sel + fadd xfrm performs incorrect
transformation when select branch values are swapped. This change fixes
this.


  Commit: 1fa0302ba2efc5374b5d1cdc8715dfc0f1048c6c
      https://github.com/llvm/llvm-project/commit/1fa0302ba2efc5374b5d1cdc8715dfc0f1048c6c
  Author: Jacek Caban <jacek at codeweavers.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M lld/COFF/SymbolTable.cpp
    M lld/test/COFF/arm64x-loadconfig.s

  Log Message:
  -----------
  [LLD][COFF] Emit warnings for missing load config on EC targets (#121339)

ARM64EC and ARM64X images require a load configuration to be valid.


  Commit: 207e485f4b7e8113b8b329ddcde423aafc0a8832
      https://github.com/llvm/llvm-project/commit/207e485f4b7e8113b8b329ddcde423aafc0a8832
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

  Log Message:
  -----------
  [VPlan] Track VectorPH during skeleton creation. (NFC)

Split off from https://github.com/llvm/llvm-project/pull/108378.

This ensures that the logic works even if now vector region exits.


  Commit: 67c974bfd6b3dbba83865e8319a3e9d3274a44e9
      https://github.com/llvm/llvm-project/commit/67c974bfd6b3dbba83865e8319a3e9d3274a44e9
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h

  Log Message:
  -----------
  [lldb][DWARFASTParserClang][NFC] Remove redundant parameter to ParseChildParameters (#121033)

This was never set to anything other than `true`.


  Commit: 02b30128e8e87795b9262035a48990648cbec586
      https://github.com/llvm/llvm-project/commit/02b30128e8e87795b9262035a48990648cbec586
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp
    M clang/test/AST/ByteCode/builtin-constant-p.cpp

  Log Message:
  -----------
  [clang][bytecode] Always return false for invalid bcp results (#121467)


  Commit: 8178e7218833bcbcf4263016252681c81fb167db
      https://github.com/llvm/llvm-project/commit/8178e7218833bcbcf4263016252681c81fb167db
  Author: Marius Brehler <marius.brehler at amd.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Func/IR/FuncOps.td

  Log Message:
  -----------
  [mlir][func] Fix return op example (#121470)

Similiar to #121112.


  Commit: 9cd774d1e49f792b7546e5309c7b27d653b37132
      https://github.com/llvm/llvm-project/commit/9cd774d1e49f792b7546e5309c7b27d653b37132
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M llvm/lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86InstComments.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.cpp
    M llvm/lib/Target/X86/X86InstrAVX10.td
    M llvm/lib/Target/X86/X86InstrAVX512.td
    M llvm/lib/Target/X86/X86InstrFMA3Info.cpp
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    M llvm/lib/Target/X86/X86SchedSapphireRapids.td
    M llvm/lib/Target/X86/X86ScheduleZnver4.td
    M llvm/test/TableGen/x86-fold-tables.inc

  Log Message:
  -----------
  [X86][NFC] Move "_Int" after "k"/"kz" (#121450)

Address comment at
https://github.com/llvm/llvm-project/pull/121373#discussion_r1900402932


  Commit: 4b22ef7d6b9f739de63b6d07777424cf5dfb9f92
      https://github.com/llvm/llvm-project/commit/4b22ef7d6b9f739de63b6d07777424cf5dfb9f92
  Author: Nico Weber <thakis at chromium.org>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M lld/COFF/Writer.cpp

  Log Message:
  -----------
  [lld/COFF] Fix comment typo to cycle bots


  Commit: d622b66a820a0e5e61c131e9ae5b4db35292aa14
      https://github.com/llvm/llvm-project/commit/d622b66a820a0e5e61c131e9ae5b4db35292aa14
  Author: josel-amd <jose.lopes at amd.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M mlir/include/mlir/Conversion/SCFToEmitC/SCFToEmitC.h
    M mlir/lib/Conversion/SCFToEmitC/CMakeLists.txt
    M mlir/lib/Conversion/SCFToEmitC/SCFToEmitC.cpp
    M mlir/test/Conversion/SCFToEmitC/for.mlir
    M mlir/test/Conversion/SCFToEmitC/switch.mlir

  Log Message:
  -----------
  Re-introduce Type Conversion on EmitC (#121476)

This PR reintroduces https://github.com/llvm/llvm-project/pull/118940
with a fix for the build issues on
cd9caf3aeed55280537052227f08bb1b41154efd


  Commit: a4deb809be8f5ec3adec3626e9d700f6168d0e9f
      https://github.com/llvm/llvm-project/commit/a4deb809be8f5ec3adec3626e9d700f6168d0e9f
  Author: Nico Weber <thakis at chromium.org>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

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

  Log Message:
  -----------
  Revert "Reapply "[Driver][OHOS] Fix lld link issue for OHOS (#118192)" (#120159)"

This reverts commit bd154e823eba4d62366dfa3d56ae0b99ab171b96.
Test fails with -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF, see
https://github.com/llvm/llvm-project/pull/120159#issuecomment-2567836727


  Commit: 6d604ba36326de849ccf00f30351ce21fde19471
      https://github.com/llvm/llvm-project/commit/6d604ba36326de849ccf00f30351ce21fde19471
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/bugprone/BUILD.gn
    M llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/cppcoreguidelines/BUILD.gn

  Log Message:
  -----------
  [gn build] Port e45e091b9089


  Commit: 073e65a8e5f92ca9c63c3fcd1c0ce2a36913f9a6
      https://github.com/llvm/llvm-project/commit/073e65a8e5f92ca9c63c3fcd1c0ce2a36913f9a6
  Author: John Brawn <john.brawn at arm.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/interleaved_cost.ll
    M llvm/test/Transforms/LoopVectorize/ARM/mve-interleaved-cost.ll

  Log Message:
  -----------
  [LoopVectorize] Make needsExtract notice scalarized instructions (#119720)

LoopVectorizationCostModel::needsExtract should recognise instructions
that have been widened by scalarizing as scalar instructions, and thus
not needing an extract when used by later scalarized instructions.

This fixes an incorrect cost calculation in computePredInstDiscount,
where we are adding a scalarization overhead cost when we shouldn't,
though I haven't come up with a test case where it makes a difference.
It will make a difference when the cost model switches to using the cost
kind TCK_CodeSize for optsize, as not doing this causes the test
LoopVectorize/X86/small-size.ll to get worse.


  Commit: a9a3fb5b1a23e336a1656046ba1a36832e020d4e
      https://github.com/llvm/llvm-project/commit/a9a3fb5b1a23e336a1656046ba1a36832e020d4e
  Author: Bart Chrzaszcz <bart.chr at gmail.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

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

  Log Message:
  -----------
  Update BUILD.bazel due to PR #121476

Breaks bazel builds due to missing dependency


  Commit: bb27d5e5c6b194a1440b8ac4e5ace68d0ee2a849
      https://github.com/llvm/llvm-project/commit/bb27d5e5c6b194a1440b8ac4e5ace68d0ee2a849
  Author: Donát Nagy <donat.nagy at ericsson.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
    M clang/lib/StaticAnalyzer/Core/CoreEngine.cpp
    M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
    A clang/test/Analysis/loop-assumptions.c
    M clang/test/Analysis/loop-unrolling.cpp
    M clang/test/Analysis/misc-ps-region-store.m

  Log Message:
  -----------
  [analyzer] Don't assume third iteration in loops (#119388)

This commit ensures that if the loop condition is opaque (the analyzer
cannot determine whether it's true or false) and there were at least two
iterations, then the analyzer doesn't make the unjustified assumption
that it can enter yet another iteration.

Note that the presence of a loop suggests that the developer thought
that two iterations can happen (otherwise an `if` would've been
sufficient), but it does not imply that the developer expected three or
four iterations -- and in fact there are many false positives where a
loop iterates over a two-element (or three-element) data structure, but
the analyzer cannot understand the loop condition and blindly assumes
that there may be three or more iterations. (In particular, analyzing
the FFMPEG project produces 100+ such false positives.)

Moreover, this provides some performance improvements in the sense that
the analyzer won't waste time on traversing the execution paths with 3
or 4 iterations in a loop (which are very similar to the paths with 2
iterations) and therefore will be able to traverse more branches
elsewhere on the `ExplodedGraph`.

This logic is disabled if the user enables the widen-loops analyzer
option (which is disabled by default), because the "simulate one final
iteration after the invalidation" execution path would be suppressed by
the "exit the loop if the loop condition is opaque and there were at
least two iterations" logic. If we want to support loop widening, we
would need to create a follow-up commit which ensures that it "plays
nicely" with this logic.


  Commit: 4a890c2c605640f48ecbaefebda8f3a42043ff3d
      https://github.com/llvm/llvm-project/commit/4a890c2c605640f48ecbaefebda8f3a42043ff3d
  Author: klensy <klensy at users.noreply.github.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/test/CodeGen/AArch64/vecreduce-add.ll

  Log Message:
  -----------
  [llvm][aarch64] fix copypaste typo (#120725)

moved from #119881


  Commit: 62d0aff3eb934439acac47348e2385f0751a1444
      https://github.com/llvm/llvm-project/commit/62d0aff3eb934439acac47348e2385f0751a1444
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M llvm/cmake/modules/Findzstd.cmake

  Log Message:
  -----------
  [cmake] Extend zstd.dll finding logic from MSVC to Clang (#121437)

Extend the special logic for finding `zstd.dll` in `Findzstd` to apply
to all MSVC-compatible configurations such as Clang targeting MSVC.

Fixes #121345


  Commit: 8ab88f11a12aaecb46f7b0eb5c13e7802258c1e1
      https://github.com/llvm/llvm-project/commit/8ab88f11a12aaecb46f7b0eb5c13e7802258c1e1
  Author: Jonas Paulsson <paulson1 at linux.ibm.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M llvm/utils/emacs/llvm-mode.el

  Log Message:
  -----------
  [emacs] Add noext as an attribute in llvm-mode.el (#121444)

The NoExt attribute was introduced with #100757, to exist alongside with
signext and zeroext.

This patch adds "noext" as an attribute to llvm-mode.el to get the proper
highlighting of the keyword.


  Commit: 11e482c4a32be6a315e5bf2ae7599cf10eb84836
      https://github.com/llvm/llvm-project/commit/11e482c4a32be6a315e5bf2ae7599cf10eb84836
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M llvm/lib/CodeGen/RegAllocGreedy.cpp
    M llvm/lib/CodeGen/RegAllocPriorityAdvisor.cpp
    M llvm/lib/CodeGen/RegAllocPriorityAdvisor.h
    A llvm/test/CodeGen/AMDGPU/dummy-regalloc-priority-advisor.mir

  Log Message:
  -----------
  RegAllocGreedy: Add dummy priority advisor for writing MIR tests (#121207)

I regularly struggle reproducing failures in greedy due to changes
in priority when resuming the allocation from MIR vs. a complete
compilation starting at IR. That is, the fix in
e0919b189bf2df4f97f22ba40260ab5153988b14 did not really fix the
problem of the instruction distance mattering.

Add a way to bypass all of the priority heuristics for MIR tests,
by prioritizing only by virtual register number. Could also
give this a more specific name, like PrioritizeLowVirtRegNumber


  Commit: 40ac34c518985f4ff119d2e67a5a412cc951104a
      https://github.com/llvm/llvm-project/commit/40ac34c518985f4ff119d2e67a5a412cc951104a
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M libcxx/include/__type_traits/aligned_storage.h
    M libcxx/include/__type_traits/make_signed.h
    M libcxx/include/__type_traits/make_unsigned.h
    M libcxx/include/__type_traits/type_list.h

  Log Message:
  -----------
  [libc++] Make __type_list variadic (#121117)

This makes these lists signficiantly more readable.


  Commit: 4075ddad7183e6f0b66e2c8cc7a03b461a8038e6
      https://github.com/llvm/llvm-project/commit/4075ddad7183e6f0b66e2c8cc7a03b461a8038e6
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M libcxx/.clang-tidy
    M libcxx/test/libcxx/clang_tidy.gen.py

  Log Message:
  -----------
  [libc++] Run clang-tidy only once per header (#121436)

There doesn't seem to be much of a reason to run clang-tidy twice per
headers, and running it only once makes the test a few seconds faster.


  Commit: 7326e903d72ba390a6368ff3e9eb2ab2251a1b13
      https://github.com/llvm/llvm-project/commit/7326e903d72ba390a6368ff3e9eb2ab2251a1b13
  Author: Brooks Davis <brooks at one-eyed-alien.net>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M flang/runtime/stop.cpp

  Log Message:
  -----------
  flang: fix backtrace build on FreeBSD (#120297)

FreeBSD's libexecinfo defines backtrace with a size_t for the size
argument and return type. This almost certainly doesn't make sense, but
what's done is done so cast the output to allow compilation. Otherwise
we get:

.../flang/runtime/stop.cpp:165:13: error: non-constant-expression cannot
be narrowed from type 'size_t' (aka 'unsigned long') to 'int' in
initializer list [-Wc++11-narrowing]
  165 |   int nptrs{backtrace(buffer, MAX_CALL_STACK)};
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


  Commit: cbff02b101c20ad6557d64c998d03dab5ee4aad7
      https://github.com/llvm/llvm-project/commit/cbff02b101c20ad6557d64c998d03dab5ee4aad7
  Author: hatoo <hato2000 at gmail.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td

  Log Message:
  -----------
  [mlir][emitc] Fix invalid syntax in example of emitc.return (#121112)

A return type of `emitc.func` must be specified with `->` instead of
`:`. I've verified the syntax using `mlir-translate --mlir-to-cpp`.


  Commit: 5ed6229019de43df0ff4b3e73097781e0f1a6651
      https://github.com/llvm/llvm-project/commit/5ed6229019de43df0ff4b3e73097781e0f1a6651
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    A llvm/test/Transforms/VectorCombine/X86/load-extractelement-scalarization.ll

  Log Message:
  -----------
  [VectorCombine] Add scalarizeLoadExtract infinite loop test from #120984 regression

scalarizeLoadExtract replaces instructions up the use list, which can result in the vectorcombine worklist adding users back to the worklist when they should really be erased first.


  Commit: f739aa4004165dc64d3a1f418d5ad3c84886f01a
      https://github.com/llvm/llvm-project/commit/f739aa4004165dc64d3a1f418d5ad3c84886f01a
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp

  Log Message:
  -----------
  [VectorCombine] replaceValue - add "VC: Replacing" debug message to help the log show replacement for old/new.


  Commit: 1849244685bc42b07b1b14e3f62e15c535e74c39
      https://github.com/llvm/llvm-project/commit/1849244685bc42b07b1b14e3f62e15c535e74c39
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineRegisterInfo.h
    M llvm/lib/CodeGen/MachineRegisterInfo.cpp
    M llvm/lib/CodeGen/MachineTraceMetrics.cpp
    M llvm/lib/CodeGen/SwiftErrorValueTracking.cpp

  Log Message:
  -----------
  [CodeGen] Remove atEnd method from defusechain iterators (#120610)

This was not used much and there are better ways of writing it.


  Commit: 5de7af4b9f05c7a9fb3775f45627b50aba47869b
      https://github.com/llvm/llvm-project/commit/5de7af4b9f05c7a9fb3775f45627b50aba47869b
  Author: Jinsong Ji <jinsong.ji at intel.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M llvm/lib/Support/Windows/Path.inc
    M llvm/unittests/Support/Path.cpp

  Log Message:
  -----------
  [llvm][Support][Windows] Fix slash in path for remove_directories (#121448)

Before 925471ed903dad871042d7ed0bab89ab6566a564 remove_directories
supports path with slash (instead of backslash).
The ILCreateFromPathW in new implementation requires backslash path,
so the call to remove_directories will fail if the path contains slash.

This is to normalize the path to make sure remove_directories still
support path with slash as well.


  Commit: bca92b12588d63556b749b4627af0112cd2d05c6
      https://github.com/llvm/llvm-project/commit/bca92b12588d63556b749b4627af0112cd2d05c6
  Author: Angus Lees <gus at inodes.org>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

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

  Log Message:
  -----------
  [bazel] Allow SupportTests to be built remotely and cached (#121375)

`SupportTests` fails in the bazel macOS sandbox, because
`FileSystemTest.permissions` expects to be able to modify file
permissions on some otherwise protected files.

Previously this test was marked `local` in bazel, which has
additional undesirable effects such as skipping remote build and cache.

Tighten the bazel tags to just `no-sandbox`.  Note in particular, that
this allows the test to build, execute, and cache remotely (if
configured).

Testing:
- Verified this test fails (as expected) on macOS with no tags, and
  passes with `no-sandbox`.
- Verified this test passes when executed remotely (using an Engflow RBE
  setup) with `no-sandbox`.


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

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

  Log Message:
  -----------
  [RISCV][TTI] Simplify compound check for readability [nfc] (#121504)

I misread this check earlier today on a review, so restructure it to be
easier to quickly scan.


  Commit: 035e64c0ec02b237a266ebc672718037fdd53eb2
      https://github.com/llvm/llvm-project/commit/035e64c0ec02b237a266ebc672718037fdd53eb2
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    M llvm/test/Transforms/VectorCombine/X86/concat-boolmasks.ll

  Log Message:
  -----------
  [VectorCombine] eraseInstruction - ensure we reattempt to fold other users of an erased instruction's operands (REAPPLIED)

As we're reducing the use count of the operands its more likely that they will now fold, as they were previously being prevented by a m_OneUse check, or the cost of retaining the extra instruction had been too high.

This is necessary for some upcoming patches, although the only change so far is instruction ordering as it allows some SSE folds of 256/512-bit with 128-bit subvectors to occur earlier in foldShuffleToIdentity as the subvector concats are free.

Reapplied with a fix for foldSingleElementStore/scalarizeLoadExtract which were replacing/removing memory operations - we need to ensure that the worklist is populated in the correct order so all users of the old memory operations are erased first, so there are no remaining users of the loads when its time to remove them as well.

Pulled out of #120984


  Commit: 5236e3dac59e16630a3730c84c2d3d65970a6db3
      https://github.com/llvm/llvm-project/commit/5236e3dac59e16630a3730c84c2d3d65970a6db3
  Author: Dominik Adamski <dominik.adamski at amd.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
    A flang/test/Analysis/AliasAnalysis/alias-analysis-omp-private-allocatable.mlir

  Log Message:
  -----------
  [Flang][Alias analysis] Fix alias analysis for omp private allocatable item (#120243)

Flang alias analysis crashes for omp private allocatable item. The issue
is described here : https://github.com/llvm/llvm-project/issues/116954 .

We know that private value can't alias with anything else unless it is POINTER
or TARGET. That's why we can simplify alias analysis logic.


  Commit: 5f5792aedb1f8088836ccd1c0a924c5e0bbf35db
      https://github.com/llvm/llvm-project/commit/5f5792aedb1f8088836ccd1c0a924c5e0bbf35db
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

  Log Message:
  -----------
  [VPlan] Use removeDeadRecipes in optimizeForVFAndUF (NFCI)

Split off from https://github.com/llvm/llvm-project/pull/108378.


  Commit: 3a423a10ff83684332195b5191b16f12c81985ba
      https://github.com/llvm/llvm-project/commit/3a423a10ff83684332195b5191b16f12c81985ba
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M llvm/include/llvm/IR/Metadata.h
    M llvm/include/llvm/Transforms/Utils/Local.h
    M llvm/lib/Analysis/MemoryProfileInfo.cpp
    M llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
    M llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/test/Transforms/MemCpyOpt/memcpy.ll
    A llvm/test/Transforms/SimplifyCFG/merge-calls-memprof.ll

  Log Message:
  -----------
  [MemProf][PGO] Prevent dropping of profile metadata during optimization (#121359)

This patch fixes a couple of places where memprof-related metadata
(!memprof and !callsite) were being dropped, and one place where PGO
metadata (!prof) was being dropped.

All were due to instances of combineMetadata() being invoked. That
function drops all metadata not in the list provided by the client, and
also drops any not in its switch statement.

Memprof metadata needed a case in the combineMetadata switch statement.
For now we simply keep the metadata of the instruction being kept, which
doesn't retain all the profile information when two calls with
memprof metadata are being combined, but at least retains some.

For the memprof metadata being dropped during call CSE, add memprof and
callsite metadata to the list of known ids in combineMetadataForCSE.

Neither memprof nor regular prof metadata were in the list of known ids
for the callsite in MemCpyOptimizer, which was added to combine AA
metadata after optimization of byval arguments fed by memcpy
instructions, and similar types of optimizations of memcpy uses.

There is one other callsite of combineMetadata, but it is only invoked
on load instructions, which do not carry these types of metadata.


  Commit: cd19f3f787b01481fd687834457686e16fffdbe6
      https://github.com/llvm/llvm-project/commit/cd19f3f787b01481fd687834457686e16fffdbe6
  Author: Nick Sarnie <nick.sarnie at intel.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/CMakeLists.txt
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/lib/Driver/ToolChains/SPIRV.h
    A clang/lib/Driver/ToolChains/SPIRVOpenMP.cpp
    A clang/lib/Driver/ToolChains/SPIRVOpenMP.h
    M clang/lib/Frontend/CompilerInvocation.cpp
    A clang/test/Driver/Inputs/spirv-openmp/lib/libomptarget-spirv64.bc
    A clang/test/Driver/spirv-openmp-toolchain.c
    M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp

  Log Message:
  -----------
  [Driver][clang-linker-wrapper] Add initial support for OpenMP offloading to generic SPIR-V (#120145)

This is the first of a series of patches to add support for OpenMP
offloading to SPIR-V through liboffload with the first intended target
being Intel GPUs. This patch implements the basic driver and
`clang-linker-wrapper` work for JIT mode. There are still many missing
pieces, so this is not yet usable.

We introduce `spirv64-intel-unknown` as the only currently supported
triple. The user-facing argument to enable offloading will be `-fopenmp
-fopenmp-targets=spirv64-intel`

Add a new `SPIRVOpenMPToolChain` toolchain based on the existing general
SPIR-V toolchain which will call all the required SPIR-V tools (and
eventually the SPIR-V backend) as well as add the corresponding device
RTL as an argument to the linker.

We can't get through the front end consistently yet, so it's difficult
to add any LIT tests that execute any tools, but front end changes are
planned very shortly, and then we can add those tests.

---------

Signed-off-by: Sarnie, Nick <nick.sarnie at intel.com>


  Commit: 4922350407127607a9e78fc6d19f3f6278b1e46b
      https://github.com/llvm/llvm-project/commit/4922350407127607a9e78fc6d19f3f6278b1e46b
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M llvm/utils/gn/secondary/clang/lib/Driver/BUILD.gn

  Log Message:
  -----------
  [gn build] Port cd19f3f787b0


  Commit: f03b100e93196ca1ecec20fde3fc48690b3dad7e
      https://github.com/llvm/llvm-project/commit/f03b100e93196ca1ecec20fde3fc48690b3dad7e
  Author: 王宇逸 <Strawberry_Str at hotmail.com>
  Date:   2025-01-03 (Fri, 03 Jan 2025)

  Changed paths:
    M llvm/lib/Target/TargetMachine.cpp
    M llvm/test/CodeGen/X86/mingw-refptr.ll

  Log Message:
  -----------
  [Cygwin] Fix global variable dll import (#121439)

This PR is necessary for cygwin target of Rust.

References:
*
https://github.com/rust-lang/llvm-project/commit/86657cc39f8e42ae73be810fb0703ddac0eeef94
*
https://github.com/Berrysoft/llvm-project/commit/a807e9f077351d3c6a68f4abe74c94a039759a2e


  Commit: f6cb56902c6dcafede21eb6662910b6ff661fc0f
      https://github.com/llvm/llvm-project/commit/f6cb56902c6dcafede21eb6662910b6ff661fc0f
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    R llvm/utils/TableGen/ARMTargetDefEmitter.cpp
    R llvm/utils/TableGen/Attributes.cpp
    A llvm/utils/TableGen/Basic/ARMTargetDefEmitter.cpp
    A llvm/utils/TableGen/Basic/Attributes.cpp
    M llvm/utils/TableGen/Basic/CMakeLists.txt
    A llvm/utils/TableGen/Basic/DirectiveEmitter.cpp
    A llvm/utils/TableGen/Basic/IntrinsicEmitter.cpp
    A llvm/utils/TableGen/Basic/RISCVTargetDefEmitter.cpp
    A llvm/utils/TableGen/Basic/TableGen.cpp
    A llvm/utils/TableGen/Basic/TableGen.h
    A llvm/utils/TableGen/Basic/VTEmitter.cpp
    M llvm/utils/TableGen/CMakeLists.txt
    R llvm/utils/TableGen/DirectiveEmitter.cpp
    R llvm/utils/TableGen/IntrinsicEmitter.cpp
    R llvm/utils/TableGen/RISCVTargetDefEmitter.cpp
    R llvm/utils/TableGen/TableGen.cpp
    R llvm/utils/TableGen/VTEmitter.cpp
    A llvm/utils/TableGen/llvm-min-tblgen.cpp
    A llvm/utils/TableGen/llvm-tblgen.cpp

  Log Message:
  -----------
  [llvm-(min-)tblgen] Avoid redundant source compilation (#114494)

All the sources of `llvm-min-tblgen` are also used for `llvm-tblgen`,
with identical compilation flags. Reuse the object files of
`llvm-min-tblgen` for `llvm-tblgen` by applying the usual source
structure of an executable: One file per executable which named after
the executable name containing the (in this case trivial) main function,
which just calls the tblgen_main in TableGen.cpp. This should also clear
up any confusion (including mine) of where each executable's main
function is.

While this slightly reduces build time, the main motivation is ccache.
Using the hard_link
option, building the object files for `llvm-tblgen` will result in a
hard link to the same object file already used for `llvm-min-tblgen`. To
signal the build system that the file is new, ccache will update the
file's time stamp. Unfortunately, time stamps are shared between all
hard-linked files s.t. this will indirectly also update the time stamps
for the object files used for `llvm-tblgen`. At the next run, Ninja will
recognize this time stamp discrepancy to the expected stamp recorded in
`.ninja_log` and rebuild those object files for `llvm-min-tblgen`, which
again will also update the stamp for the `llvm-tblgen`... . This is
especially annoying for tablegen because it means Ninja will re-run all
tablegenning in every build.

I am using the hard_link option because it reduces the cost of having
multiple build-trees of the LLVM sources and reduces the wear to the SSD
they are stored on.


  Commit: 06b6161d3fa9d69a07e9046dbdd2e230b257d948
      https://github.com/llvm/llvm-project/commit/06b6161d3fa9d69a07e9046dbdd2e230b257d948
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    A llvm/utils/TableGen/ARMTargetDefEmitter.cpp
    A llvm/utils/TableGen/Attributes.cpp
    R llvm/utils/TableGen/Basic/ARMTargetDefEmitter.cpp
    R llvm/utils/TableGen/Basic/Attributes.cpp
    M llvm/utils/TableGen/Basic/CMakeLists.txt
    R llvm/utils/TableGen/Basic/DirectiveEmitter.cpp
    R llvm/utils/TableGen/Basic/IntrinsicEmitter.cpp
    R llvm/utils/TableGen/Basic/RISCVTargetDefEmitter.cpp
    R llvm/utils/TableGen/Basic/TableGen.cpp
    R llvm/utils/TableGen/Basic/TableGen.h
    R llvm/utils/TableGen/Basic/VTEmitter.cpp
    M llvm/utils/TableGen/CMakeLists.txt
    A llvm/utils/TableGen/DirectiveEmitter.cpp
    A llvm/utils/TableGen/IntrinsicEmitter.cpp
    A llvm/utils/TableGen/RISCVTargetDefEmitter.cpp
    A llvm/utils/TableGen/TableGen.cpp
    A llvm/utils/TableGen/VTEmitter.cpp
    R llvm/utils/TableGen/llvm-min-tblgen.cpp
    R llvm/utils/TableGen/llvm-tblgen.cpp

  Log Message:
  -----------
  Revert "[llvm-(min-)tblgen] Avoid redundant source compilation (#114494)"

This reverts commit f6cb56902c6dcafede21eb6662910b6ff661fc0f.

Buildbot failures such as https://lab.llvm.org/buildbot/#/builders/89/builds/13541:
```
/usr/bin/ld: utils/TableGen/Basic/CMakeFiles/obj.LLVMTableGenBasic.dir/ARMTargetDefEmitter.cpp.o: undefined reference to symbol '_ZN4llvm23EnableABIBreakingChecksE'
/usr/bin/ld: /home/tcwg-buildbot/worker/flang-aarch64-libcxx/build/./lib/libLLVMSupport.so.20.0git: error adding symbols: DSO missing from command line
```

Going to investigate.


  Commit: 4b577830033066cfd1b2acf4fcf39950678b27bd
      https://github.com/llvm/llvm-project/commit/4b577830033066cfd1b2acf4fcf39950678b27bd
  Author: David CARLIER <devnexen at gmail.com>
  Date:   2025-01-02 (Thu, 02 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] fopencookie support. (#120864)


  Commit: c703b4645c79e889fd6a0f3f64f01f957d981aa4
      https://github.com/llvm/llvm-project/commit/c703b4645c79e889fd6a0f3f64f01f957d981aa4
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M mlir/python/mlir/_mlir_libs/__init__.py
    M mlir/python/mlir/ir.py
    M mlir/test/python/ir/dialects.py

  Log Message:
  -----------
  [mlir][py] Enable loading only specified dialects during creation. (#121421)

Gives option post as global list as well as arg to control which
dialects are loaded during context creation. This enables setting either
a good base set or skipping in individual cases.


  Commit: 976f3a078bbac1889aa9e68e297f73f111a896d6
      https://github.com/llvm/llvm-project/commit/976f3a078bbac1889aa9e68e297f73f111a896d6
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M llvm/Maintainers.md

  Log Message:
  -----------
  [LLVM] Update RISCV maintainers (#121301)

Add Philip Reames and myself as maintainers. I think between the two of
us we do a lot of the patch reviews.


  Commit: 2291d0aba927b885cf39150e59fde466a2524bb5
      https://github.com/llvm/llvm-project/commit/2291d0aba927b885cf39150e59fde466a2524bb5
  Author: Min-Yih Hsu <min.hsu at sifive.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/ISDOpcodes.h
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/test/CodeGen/RISCV/neg-abs.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-neg-abs.ll

  Log Message:
  -----------
  [DAGCombiner] Turn `(neg (max x, (neg x)))` into `(min x, (neg x))` (#120666)

This pattern was originally spotted in 429.mcf by @topperc.

We already have a DAGCombiner pattern to turn `(neg (abs x))` into `(min
x, (neg x))`. But in some cases `(neg (max x, (neg x)))` is formed by an
expanded `abs` followed by a `neg` that is generated only after the
`abs` expansion. This patch adds a separate pattern to match cases like
this, as well as its inverse pattern: `(neg (min X, (neg X))) --> (max
X, (neg X))`.

This pattern is applicable to both signed and unsigned min/max.


  Commit: 3cac26f5419b68d37e1919001e1c46a765df294f
      https://github.com/llvm/llvm-project/commit/3cac26f5419b68d37e1919001e1c46a765df294f
  Author: Min-Yih Hsu <min.hsu at sifive.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
    M llvm/include/llvm/CodeGen/GlobalISel/Utils.h
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/lib/CodeGen/GlobalISel/Utils.cpp
    M llvm/lib/Target/RISCV/RISCVCombine.td
    A llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll

  Log Message:
  -----------
  [GISel] Combine `(neg (min/max x, (neg x)))` into `(max/min x, (neg x))` (#120998)

This is the GISel version of #120666. Also supports both unsigned and
signed version of min & max.


  Commit: 37f540f7c0676632b57f564f2ea0ad2839ac43cf
      https://github.com/llvm/llvm-project/commit/37f540f7c0676632b57f564f2ea0ad2839ac43cf
  Author: Min-Yih Hsu <min.hsu at sifive.com>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M clang-tools-extra/clangd/unittests/Matchers.h
    M clang-tools-extra/clangd/unittests/TypeHierarchyTests.cpp
    M clang/docs/ClangFormat.rst
    M clang/docs/ClangFormatStyleOptions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/arm_immcheck_incl.td
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Format/Format.h
    M clang/include/clang/Frontend/Utils.h
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp
    M clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp
    M clang/lib/AST/ExprCXX.cpp
    M clang/lib/Driver/CMakeLists.txt
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/lib/Driver/ToolChains/SPIRV.h
    A clang/lib/Driver/ToolChains/SPIRVOpenMP.cpp
    A clang/lib/Driver/ToolChains/SPIRVOpenMP.h
    M clang/lib/Format/Format.cpp
    M clang/lib/Format/FormatToken.h
    M clang/lib/Format/FormatTokenLexer.cpp
    M clang/lib/Format/FormatTokenLexer.h
    M clang/lib/Format/MatchFilePath.cpp
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/lib/Frontend/DependencyFile.cpp
    M clang/lib/Sema/SemaARM.cpp
    M clang/lib/StaticAnalyzer/Core/CoreEngine.cpp
    M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
    M clang/test/AST/ByteCode/builtin-constant-p.cpp
    M clang/test/AST/ByteCode/builtin-functions.cpp
    A clang/test/Analysis/loop-assumptions.c
    M clang/test/Analysis/loop-unrolling.cpp
    M clang/test/Analysis/misc-ps-region-store.m
    M clang/test/CodeGen/AArch64/fpm-helpers.c
    M clang/test/CodeGen/builtin-memfns.c
    A clang/test/Driver/Inputs/spirv-openmp/lib/libomptarget-spirv64.bc
    A clang/test/Driver/spirv-openmp-toolchain.c
    M clang/test/Frontend/dependency-gen-symlink.c
    M clang/test/Frontend/dependency-gen-windows-duplicates.c
    M clang/test/SemaCXX/cxx2c-pack-indexing.cpp
    M clang/test/VFS/external-names.c
    M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
    M clang/unittests/Format/MatchFilePathTest.cpp
    M clang/unittests/Format/TokenAnnotatorTest.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/Analysis/AliasAnalysis.cpp
    M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
    M flang/runtime/stop.cpp
    A flang/test/Analysis/AliasAnalysis/alias-analysis-omp-private-allocatable.mlir
    M libc/docs/dev/header_generation.rst
    M libc/include/CMakeLists.txt
    A libc/include/arpa/inet.yaml
    A libc/include/assert.yaml
    A libc/include/complex.yaml
    A libc/include/ctype.yaml
    A libc/include/dirent.yaml
    A libc/include/dlfcn.yaml
    A libc/include/elf.yaml
    A libc/include/errno.yaml
    A libc/include/fcntl.yaml
    A libc/include/features.yaml
    A libc/include/fenv.yaml
    A libc/include/float.yaml
    A libc/include/inttypes.yaml
    A libc/include/limits.yaml
    A libc/include/link.yaml
    A libc/include/locale.yaml
    A libc/include/malloc.yaml
    A libc/include/math.yaml
    A libc/include/pthread.yaml
    A libc/include/sched.yaml
    A libc/include/search.yaml
    A libc/include/setjmp.yaml
    A libc/include/signal.yaml
    A libc/include/spawn.yaml
    A libc/include/stdbit.yaml
    A libc/include/stdckdint.yaml
    A libc/include/stdfix.yaml
    A libc/include/stdint.yaml
    A libc/include/stdio.yaml
    A libc/include/stdlib.yaml
    A libc/include/string.yaml
    A libc/include/strings.yaml
    A libc/include/sys/auxv.yaml
    A libc/include/sys/epoll.yaml
    A libc/include/sys/ioctl.yaml
    A libc/include/sys/mman.yaml
    A libc/include/sys/prctl.yaml
    A libc/include/sys/random.yaml
    A libc/include/sys/resource.yaml
    A libc/include/sys/select.yaml
    A libc/include/sys/sendfile.yaml
    A libc/include/sys/socket.yaml
    A libc/include/sys/stat.yaml
    A libc/include/sys/statvfs.yaml
    A libc/include/sys/syscall.yaml
    A libc/include/sys/time.yaml
    A libc/include/sys/types.yaml
    A libc/include/sys/utsname.yaml
    A libc/include/sys/wait.yaml
    A libc/include/termios.yaml
    A libc/include/threads.yaml
    A libc/include/time.yaml
    A libc/include/uchar.yaml
    A libc/include/unistd.yaml
    A libc/include/wchar.yaml
    M libc/src/compiler/generic/__stack_chk_fail.cpp
    M libc/src/math/docs/add_math_function.md
    M libc/utils/hdrgen/gpu_headers.py
    R libc/utils/hdrgen/yaml/arpa/inet.yaml
    R libc/utils/hdrgen/yaml/assert.yaml
    R libc/utils/hdrgen/yaml/complex.yaml
    R libc/utils/hdrgen/yaml/ctype.yaml
    R libc/utils/hdrgen/yaml/dirent.yaml
    R libc/utils/hdrgen/yaml/dlfcn.yaml
    R libc/utils/hdrgen/yaml/elf.yaml
    R libc/utils/hdrgen/yaml/errno.yaml
    R libc/utils/hdrgen/yaml/fcntl.yaml
    R libc/utils/hdrgen/yaml/features.yaml
    R libc/utils/hdrgen/yaml/fenv.yaml
    R libc/utils/hdrgen/yaml/float.yaml
    R libc/utils/hdrgen/yaml/inttypes.yaml
    R libc/utils/hdrgen/yaml/limits.yaml
    R libc/utils/hdrgen/yaml/link.yaml
    R libc/utils/hdrgen/yaml/locale.yaml
    R libc/utils/hdrgen/yaml/malloc.yaml
    R libc/utils/hdrgen/yaml/math.yaml
    R libc/utils/hdrgen/yaml/pthread.yaml
    R libc/utils/hdrgen/yaml/sched.yaml
    R libc/utils/hdrgen/yaml/search.yaml
    R libc/utils/hdrgen/yaml/setjmp.yaml
    R libc/utils/hdrgen/yaml/signal.yaml
    R libc/utils/hdrgen/yaml/spawn.yaml
    R libc/utils/hdrgen/yaml/stdbit.yaml
    R libc/utils/hdrgen/yaml/stdckdint.yaml
    R libc/utils/hdrgen/yaml/stdfix.yaml
    R libc/utils/hdrgen/yaml/stdint.yaml
    R libc/utils/hdrgen/yaml/stdio.yaml
    R libc/utils/hdrgen/yaml/stdlib.yaml
    R libc/utils/hdrgen/yaml/string.yaml
    R libc/utils/hdrgen/yaml/strings.yaml
    R libc/utils/hdrgen/yaml/sys/auxv.yaml
    R libc/utils/hdrgen/yaml/sys/epoll.yaml
    R libc/utils/hdrgen/yaml/sys/ioctl.yaml
    R libc/utils/hdrgen/yaml/sys/mman.yaml
    R libc/utils/hdrgen/yaml/sys/prctl.yaml
    R libc/utils/hdrgen/yaml/sys/random.yaml
    R libc/utils/hdrgen/yaml/sys/resource.yaml
    R libc/utils/hdrgen/yaml/sys/select.yaml
    R libc/utils/hdrgen/yaml/sys/sendfile.yaml
    R libc/utils/hdrgen/yaml/sys/socket.yaml
    R libc/utils/hdrgen/yaml/sys/stat.yaml
    R libc/utils/hdrgen/yaml/sys/statvfs.yaml
    R libc/utils/hdrgen/yaml/sys/syscall.yaml
    R libc/utils/hdrgen/yaml/sys/time.yaml
    R libc/utils/hdrgen/yaml/sys/types.yaml
    R libc/utils/hdrgen/yaml/sys/utsname.yaml
    R libc/utils/hdrgen/yaml/sys/wait.yaml
    R libc/utils/hdrgen/yaml/termios.yaml
    R libc/utils/hdrgen/yaml/threads.yaml
    R libc/utils/hdrgen/yaml/time.yaml
    R libc/utils/hdrgen/yaml/uchar.yaml
    R libc/utils/hdrgen/yaml/unistd.yaml
    R libc/utils/hdrgen/yaml/wchar.yaml
    M libcxx/.clang-tidy
    M libcxx/include/__algorithm/mismatch.h
    M libcxx/include/__algorithm/simd_utils.h
    M libcxx/include/__type_traits/aligned_storage.h
    M libcxx/include/__type_traits/make_signed.h
    M libcxx/include/__type_traits/make_unsigned.h
    M libcxx/include/__type_traits/type_list.h
    M libcxx/test/libcxx/clang_tidy.gen.py
    M lld/COFF/Driver.cpp
    M lld/COFF/Driver.h
    M lld/COFF/InputFiles.cpp
    M lld/COFF/SymbolTable.cpp
    M lld/COFF/SymbolTable.h
    M lld/COFF/Writer.cpp
    M lld/test/COFF/arm64x-loadconfig.s
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
    M llvm/Maintainers.md
    M llvm/cmake/modules/Findzstd.cmake
    M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
    M llvm/include/llvm/CodeGen/GlobalISel/Utils.h
    M llvm/include/llvm/CodeGen/ISDOpcodes.h
    M llvm/include/llvm/CodeGen/LiveRegMatrix.h
    M llvm/include/llvm/CodeGen/MachineRegisterInfo.h
    M llvm/include/llvm/ExecutionEngine/JITLink/loongarch.h
    M llvm/include/llvm/ExecutionEngine/Orc/ELFNixPlatform.h
    M llvm/include/llvm/IR/Metadata.h
    M llvm/include/llvm/Passes/MachinePassRegistry.def
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/include/llvm/Transforms/Utils/Local.h
    M llvm/lib/Analysis/MemoryProfileInfo.cpp
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/lib/CodeGen/GlobalISel/Utils.cpp
    M llvm/lib/CodeGen/LiveRegMatrix.cpp
    M llvm/lib/CodeGen/MachineRegisterInfo.cpp
    M llvm/lib/CodeGen/MachineTraceMetrics.cpp
    M llvm/lib/CodeGen/RegAllocGreedy.cpp
    M llvm/lib/CodeGen/RegAllocPriorityAdvisor.cpp
    M llvm/lib/CodeGen/RegAllocPriorityAdvisor.h
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/CodeGen/SwiftErrorValueTracking.cpp
    M llvm/lib/ExecutionEngine/JITLink/ELF_loongarch.cpp
    M llvm/lib/ExecutionEngine/JITLink/loongarch.cpp
    M llvm/lib/IR/ConstantRange.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Support/Windows/Path.inc
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVCombine.td
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/lib/Target/TargetMachine.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86InstComments.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86InstrAVX10.td
    M llvm/lib/Target/X86/X86InstrAVX512.td
    M llvm/lib/Target/X86/X86InstrFMA3Info.cpp
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    M llvm/lib/Target/X86/X86SchedSapphireRapids.td
    M llvm/lib/Target/X86/X86ScheduleZnver4.td
    M llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
    M llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
    M llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    A llvm/test/Analysis/CostModel/AArch64/shuffle-extract.ll
    M llvm/test/Analysis/CostModel/AArch64/shuffle-select.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/combine-select.mir
    A llvm/test/CodeGen/AArch64/shuffle-select.ll
    M llvm/test/CodeGen/AArch64/vecreduce-add.ll
    A llvm/test/CodeGen/AMDGPU/dummy-regalloc-priority-advisor.mir
    M llvm/test/CodeGen/AMDGPU/mad_64_32.ll
    A llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll
    M llvm/test/CodeGen/RISCV/neg-abs.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-neg-abs.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-shuffle-exact-vlen.ll
    M llvm/test/CodeGen/X86/fminimum-fmaximum.ll
    M llvm/test/CodeGen/X86/mingw-refptr.ll
    M llvm/test/ExecutionEngine/JITLink/LoongArch/ELF_loongarch32_relocations.s
    M llvm/test/ExecutionEngine/JITLink/LoongArch/ELF_loongarch64_relocations.s
    M llvm/test/ExecutionEngine/JITLink/x86-64/LocalDependencyPropagation.s
    M llvm/test/TableGen/x86-fold-tables.inc
    A llvm/test/Transforms/EntryExitInstrumenter/mcount-with-frompc.ll
    M llvm/test/Transforms/InstCombine/fcmp-fadd-select.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/interleaved_cost.ll
    M llvm/test/Transforms/LoopVectorize/ARM/mve-interleaved-cost.ll
    M llvm/test/Transforms/MemCpyOpt/memcpy.ll
    A llvm/test/Transforms/PhaseOrdering/AArch64/block_scaling_decompr_8bit.ll
    A llvm/test/Transforms/SCCP/range-and-or-bit-masked.ll
    A llvm/test/Transforms/SimplifyCFG/merge-calls-memprof.ll
    M llvm/test/Transforms/VectorCombine/X86/concat-boolmasks.ll
    A llvm/test/Transforms/VectorCombine/X86/load-extractelement-scalarization.ll
    R llvm/test/tools/llvm-xray/X86/account-empty-stack-error.yaml
    A llvm/test/tools/llvm-xray/X86/account-exit-mismatch-empty-stack-error.yaml
    A llvm/test/tools/llvm-xray/X86/account-exit-mismatch-non-empty-stack-error.yaml
    M llvm/test/tools/llvm-xray/X86/account-keep-going.yaml
    M llvm/tools/llvm-jitlink/llvm-jitlink-coff.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink-elf.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink-macho.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp
    M llvm/unittests/IR/ConstantRangeTest.cpp
    M llvm/unittests/Support/Path.cpp
    M llvm/utils/emacs/llvm-mode.el
    M llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/bugprone/BUILD.gn
    M llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/cppcoreguidelines/BUILD.gn
    M llvm/utils/gn/secondary/clang/lib/Driver/BUILD.gn
    M llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn
    M llvm/utils/lit/tests/shtest-format.py
    M mlir/CMakeLists.txt
    M mlir/include/mlir/Conversion/SCFToEmitC/SCFToEmitC.h
    M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
    M mlir/include/mlir/Dialect/Func/IR/FuncOps.td
    M mlir/lib/Conversion/SCFToEmitC/CMakeLists.txt
    M mlir/lib/Conversion/SCFToEmitC/SCFToEmitC.cpp
    M mlir/python/mlir/_mlir_libs/__init__.py
    M mlir/python/mlir/ir.py
    M mlir/test/Conversion/SCFToEmitC/for.mlir
    M mlir/test/Conversion/SCFToEmitC/switch.mlir
    M mlir/test/python/ir/dialects.py
    M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  [𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.5-bogner

[skip ci]


  Commit: 0da678b0229bc6df2198bf20c99bad2252a6905a
      https://github.com/llvm/llvm-project/commit/0da678b0229bc6df2198bf20c99bad2252a6905a
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-01-02 (Thu, 02 Jan 2025)

  Changed paths:
    M clang-tools-extra/clangd/unittests/Matchers.h
    M clang-tools-extra/clangd/unittests/TypeHierarchyTests.cpp
    M clang/docs/ClangFormat.rst
    M clang/docs/ClangFormatStyleOptions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/arm_immcheck_incl.td
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Format/Format.h
    M clang/include/clang/Frontend/Utils.h
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
    M clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp
    M clang/lib/AST/ByteCode/InterpBuiltinBitCast.cpp
    M clang/lib/AST/ExprCXX.cpp
    M clang/lib/Driver/CMakeLists.txt
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/lib/Driver/ToolChains/SPIRV.h
    A clang/lib/Driver/ToolChains/SPIRVOpenMP.cpp
    A clang/lib/Driver/ToolChains/SPIRVOpenMP.h
    M clang/lib/Format/Format.cpp
    M clang/lib/Format/FormatToken.h
    M clang/lib/Format/FormatTokenLexer.cpp
    M clang/lib/Format/FormatTokenLexer.h
    M clang/lib/Format/MatchFilePath.cpp
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/lib/Frontend/DependencyFile.cpp
    M clang/lib/Sema/SemaARM.cpp
    M clang/lib/StaticAnalyzer/Core/CoreEngine.cpp
    M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
    M clang/test/AST/ByteCode/builtin-constant-p.cpp
    M clang/test/AST/ByteCode/builtin-functions.cpp
    A clang/test/Analysis/loop-assumptions.c
    M clang/test/Analysis/loop-unrolling.cpp
    M clang/test/Analysis/misc-ps-region-store.m
    M clang/test/CodeGen/AArch64/fpm-helpers.c
    M clang/test/CodeGen/builtin-memfns.c
    A clang/test/Driver/Inputs/spirv-openmp/lib/libomptarget-spirv64.bc
    A clang/test/Driver/spirv-openmp-toolchain.c
    M clang/test/Frontend/dependency-gen-symlink.c
    M clang/test/Frontend/dependency-gen-windows-duplicates.c
    M clang/test/SemaCXX/cxx2c-pack-indexing.cpp
    M clang/test/VFS/external-names.c
    M clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp
    M clang/unittests/Format/MatchFilePathTest.cpp
    M clang/unittests/Format/TokenAnnotatorTest.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/Analysis/AliasAnalysis.cpp
    M flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
    M flang/runtime/stop.cpp
    A flang/test/Analysis/AliasAnalysis/alias-analysis-omp-private-allocatable.mlir
    M libc/docs/dev/header_generation.rst
    M libc/include/CMakeLists.txt
    A libc/include/arpa/inet.yaml
    A libc/include/assert.yaml
    A libc/include/complex.yaml
    A libc/include/ctype.yaml
    A libc/include/dirent.yaml
    A libc/include/dlfcn.yaml
    A libc/include/elf.yaml
    A libc/include/errno.yaml
    A libc/include/fcntl.yaml
    A libc/include/features.yaml
    A libc/include/fenv.yaml
    A libc/include/float.yaml
    A libc/include/inttypes.yaml
    A libc/include/limits.yaml
    A libc/include/link.yaml
    A libc/include/locale.yaml
    A libc/include/malloc.yaml
    A libc/include/math.yaml
    A libc/include/pthread.yaml
    A libc/include/sched.yaml
    A libc/include/search.yaml
    A libc/include/setjmp.yaml
    A libc/include/signal.yaml
    A libc/include/spawn.yaml
    A libc/include/stdbit.yaml
    A libc/include/stdckdint.yaml
    A libc/include/stdfix.yaml
    A libc/include/stdint.yaml
    A libc/include/stdio.yaml
    A libc/include/stdlib.yaml
    A libc/include/string.yaml
    A libc/include/strings.yaml
    A libc/include/sys/auxv.yaml
    A libc/include/sys/epoll.yaml
    A libc/include/sys/ioctl.yaml
    A libc/include/sys/mman.yaml
    A libc/include/sys/prctl.yaml
    A libc/include/sys/random.yaml
    A libc/include/sys/resource.yaml
    A libc/include/sys/select.yaml
    A libc/include/sys/sendfile.yaml
    A libc/include/sys/socket.yaml
    A libc/include/sys/stat.yaml
    A libc/include/sys/statvfs.yaml
    A libc/include/sys/syscall.yaml
    A libc/include/sys/time.yaml
    A libc/include/sys/types.yaml
    A libc/include/sys/utsname.yaml
    A libc/include/sys/wait.yaml
    A libc/include/termios.yaml
    A libc/include/threads.yaml
    A libc/include/time.yaml
    A libc/include/uchar.yaml
    A libc/include/unistd.yaml
    A libc/include/wchar.yaml
    M libc/src/compiler/generic/__stack_chk_fail.cpp
    M libc/src/math/docs/add_math_function.md
    M libc/utils/hdrgen/gpu_headers.py
    R libc/utils/hdrgen/yaml/arpa/inet.yaml
    R libc/utils/hdrgen/yaml/assert.yaml
    R libc/utils/hdrgen/yaml/complex.yaml
    R libc/utils/hdrgen/yaml/ctype.yaml
    R libc/utils/hdrgen/yaml/dirent.yaml
    R libc/utils/hdrgen/yaml/dlfcn.yaml
    R libc/utils/hdrgen/yaml/elf.yaml
    R libc/utils/hdrgen/yaml/errno.yaml
    R libc/utils/hdrgen/yaml/fcntl.yaml
    R libc/utils/hdrgen/yaml/features.yaml
    R libc/utils/hdrgen/yaml/fenv.yaml
    R libc/utils/hdrgen/yaml/float.yaml
    R libc/utils/hdrgen/yaml/inttypes.yaml
    R libc/utils/hdrgen/yaml/limits.yaml
    R libc/utils/hdrgen/yaml/link.yaml
    R libc/utils/hdrgen/yaml/locale.yaml
    R libc/utils/hdrgen/yaml/malloc.yaml
    R libc/utils/hdrgen/yaml/math.yaml
    R libc/utils/hdrgen/yaml/pthread.yaml
    R libc/utils/hdrgen/yaml/sched.yaml
    R libc/utils/hdrgen/yaml/search.yaml
    R libc/utils/hdrgen/yaml/setjmp.yaml
    R libc/utils/hdrgen/yaml/signal.yaml
    R libc/utils/hdrgen/yaml/spawn.yaml
    R libc/utils/hdrgen/yaml/stdbit.yaml
    R libc/utils/hdrgen/yaml/stdckdint.yaml
    R libc/utils/hdrgen/yaml/stdfix.yaml
    R libc/utils/hdrgen/yaml/stdint.yaml
    R libc/utils/hdrgen/yaml/stdio.yaml
    R libc/utils/hdrgen/yaml/stdlib.yaml
    R libc/utils/hdrgen/yaml/string.yaml
    R libc/utils/hdrgen/yaml/strings.yaml
    R libc/utils/hdrgen/yaml/sys/auxv.yaml
    R libc/utils/hdrgen/yaml/sys/epoll.yaml
    R libc/utils/hdrgen/yaml/sys/ioctl.yaml
    R libc/utils/hdrgen/yaml/sys/mman.yaml
    R libc/utils/hdrgen/yaml/sys/prctl.yaml
    R libc/utils/hdrgen/yaml/sys/random.yaml
    R libc/utils/hdrgen/yaml/sys/resource.yaml
    R libc/utils/hdrgen/yaml/sys/select.yaml
    R libc/utils/hdrgen/yaml/sys/sendfile.yaml
    R libc/utils/hdrgen/yaml/sys/socket.yaml
    R libc/utils/hdrgen/yaml/sys/stat.yaml
    R libc/utils/hdrgen/yaml/sys/statvfs.yaml
    R libc/utils/hdrgen/yaml/sys/syscall.yaml
    R libc/utils/hdrgen/yaml/sys/time.yaml
    R libc/utils/hdrgen/yaml/sys/types.yaml
    R libc/utils/hdrgen/yaml/sys/utsname.yaml
    R libc/utils/hdrgen/yaml/sys/wait.yaml
    R libc/utils/hdrgen/yaml/termios.yaml
    R libc/utils/hdrgen/yaml/threads.yaml
    R libc/utils/hdrgen/yaml/time.yaml
    R libc/utils/hdrgen/yaml/uchar.yaml
    R libc/utils/hdrgen/yaml/unistd.yaml
    R libc/utils/hdrgen/yaml/wchar.yaml
    M libcxx/.clang-tidy
    M libcxx/include/__algorithm/mismatch.h
    M libcxx/include/__algorithm/simd_utils.h
    M libcxx/include/__type_traits/aligned_storage.h
    M libcxx/include/__type_traits/make_signed.h
    M libcxx/include/__type_traits/make_unsigned.h
    M libcxx/include/__type_traits/type_list.h
    M libcxx/test/libcxx/clang_tidy.gen.py
    M lld/COFF/Driver.cpp
    M lld/COFF/Driver.h
    M lld/COFF/InputFiles.cpp
    M lld/COFF/SymbolTable.cpp
    M lld/COFF/SymbolTable.h
    M lld/COFF/Writer.cpp
    M lld/test/COFF/arm64x-loadconfig.s
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
    M llvm/Maintainers.md
    M llvm/cmake/modules/Findzstd.cmake
    M llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
    M llvm/include/llvm/CodeGen/GlobalISel/Utils.h
    M llvm/include/llvm/CodeGen/ISDOpcodes.h
    M llvm/include/llvm/CodeGen/LiveRegMatrix.h
    M llvm/include/llvm/CodeGen/MachineRegisterInfo.h
    M llvm/include/llvm/ExecutionEngine/JITLink/loongarch.h
    M llvm/include/llvm/ExecutionEngine/Orc/ELFNixPlatform.h
    M llvm/include/llvm/IR/Metadata.h
    M llvm/include/llvm/Passes/MachinePassRegistry.def
    M llvm/include/llvm/Target/GlobalISel/Combine.td
    M llvm/include/llvm/Transforms/Utils/Local.h
    M llvm/lib/Analysis/MemoryProfileInfo.cpp
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/lib/CodeGen/GlobalISel/Utils.cpp
    M llvm/lib/CodeGen/LiveRegMatrix.cpp
    M llvm/lib/CodeGen/MachineRegisterInfo.cpp
    M llvm/lib/CodeGen/MachineTraceMetrics.cpp
    M llvm/lib/CodeGen/RegAllocGreedy.cpp
    M llvm/lib/CodeGen/RegAllocPriorityAdvisor.cpp
    M llvm/lib/CodeGen/RegAllocPriorityAdvisor.h
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    M llvm/lib/CodeGen/SwiftErrorValueTracking.cpp
    M llvm/lib/ExecutionEngine/JITLink/ELF_loongarch.cpp
    M llvm/lib/ExecutionEngine/JITLink/loongarch.cpp
    M llvm/lib/IR/ConstantRange.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Support/Windows/Path.inc
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVCombine.td
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/lib/Target/TargetMachine.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86InstComments.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86InstPrinterCommon.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86IntelInstPrinter.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86InstrAVX10.td
    M llvm/lib/Target/X86/X86InstrAVX512.td
    M llvm/lib/Target/X86/X86InstrFMA3Info.cpp
    M llvm/lib/Target/X86/X86InstrInfo.cpp
    M llvm/lib/Target/X86/X86SchedSapphireRapids.td
    M llvm/lib/Target/X86/X86ScheduleZnver4.td
    M llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
    M llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
    M llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
    A llvm/test/Analysis/CostModel/AArch64/shuffle-extract.ll
    M llvm/test/Analysis/CostModel/AArch64/shuffle-select.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/combine-select.mir
    A llvm/test/CodeGen/AArch64/shuffle-select.ll
    M llvm/test/CodeGen/AArch64/vecreduce-add.ll
    A llvm/test/CodeGen/AMDGPU/dummy-regalloc-priority-advisor.mir
    M llvm/test/CodeGen/AMDGPU/mad_64_32.ll
    A llvm/test/CodeGen/RISCV/GlobalISel/combine-neg-abs.ll
    M llvm/test/CodeGen/RISCV/neg-abs.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-neg-abs.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-shuffle-exact-vlen.ll
    M llvm/test/CodeGen/X86/fminimum-fmaximum.ll
    M llvm/test/CodeGen/X86/mingw-refptr.ll
    M llvm/test/ExecutionEngine/JITLink/LoongArch/ELF_loongarch32_relocations.s
    M llvm/test/ExecutionEngine/JITLink/LoongArch/ELF_loongarch64_relocations.s
    M llvm/test/ExecutionEngine/JITLink/x86-64/LocalDependencyPropagation.s
    M llvm/test/TableGen/x86-fold-tables.inc
    A llvm/test/Transforms/EntryExitInstrumenter/mcount-with-frompc.ll
    M llvm/test/Transforms/InstCombine/fcmp-fadd-select.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/interleaved_cost.ll
    M llvm/test/Transforms/LoopVectorize/ARM/mve-interleaved-cost.ll
    M llvm/test/Transforms/MemCpyOpt/memcpy.ll
    A llvm/test/Transforms/PhaseOrdering/AArch64/block_scaling_decompr_8bit.ll
    A llvm/test/Transforms/SCCP/range-and-or-bit-masked.ll
    A llvm/test/Transforms/SimplifyCFG/merge-calls-memprof.ll
    M llvm/test/Transforms/VectorCombine/X86/concat-boolmasks.ll
    A llvm/test/Transforms/VectorCombine/X86/load-extractelement-scalarization.ll
    R llvm/test/tools/llvm-xray/X86/account-empty-stack-error.yaml
    A llvm/test/tools/llvm-xray/X86/account-exit-mismatch-empty-stack-error.yaml
    A llvm/test/tools/llvm-xray/X86/account-exit-mismatch-non-empty-stack-error.yaml
    M llvm/test/tools/llvm-xray/X86/account-keep-going.yaml
    M llvm/tools/llvm-jitlink/llvm-jitlink-coff.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink-elf.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink-macho.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp
    M llvm/unittests/IR/ConstantRangeTest.cpp
    M llvm/unittests/Support/Path.cpp
    M llvm/utils/emacs/llvm-mode.el
    M llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/bugprone/BUILD.gn
    M llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/cppcoreguidelines/BUILD.gn
    M llvm/utils/gn/secondary/clang/lib/Driver/BUILD.gn
    M llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn
    M llvm/utils/lit/tests/shtest-format.py
    M mlir/CMakeLists.txt
    M mlir/include/mlir/Conversion/SCFToEmitC/SCFToEmitC.h
    M mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
    M mlir/include/mlir/Dialect/Func/IR/FuncOps.td
    M mlir/lib/Conversion/SCFToEmitC/CMakeLists.txt
    M mlir/lib/Conversion/SCFToEmitC/SCFToEmitC.cpp
    M mlir/python/mlir/_mlir_libs/__init__.py
    M mlir/python/mlir/ir.py
    M mlir/test/Conversion/SCFToEmitC/for.mlir
    M mlir/test/Conversion/SCFToEmitC/switch.mlir
    M mlir/test/python/ir/dialects.py
    M utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  rebase

Created using spr 1.3.5-bogner


Compare: https://github.com/llvm/llvm-project/compare/03170a92d13c...0da678b0229b

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