[all-commits] [llvm/llvm-project] aab3d1: [FileCheck] Fix parsing empty global and pseudo va...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Sun Mar 3 12:16:54 PST 2024


  Branch: refs/heads/users/arichardson/spr/main.compiler-rt-dont-check-compiler_rt_standalone_build-for-test-deps
  Home:   https://github.com/llvm/llvm-project
  Commit: aab3d13179dc5a37465a0e6fbf1b9369a4e6e50f
      https://github.com/llvm/llvm-project/commit/aab3d13179dc5a37465a0e6fbf1b9369a4e6e50f
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M llvm/lib/FileCheck/FileCheck.cpp
    A llvm/test/FileCheck/empty-variable-name.txt

  Log Message:
  -----------
  [FileCheck] Fix parsing empty global and pseudo variable names (#82595)

In `Pattern::parseVariable`, for global variables (those starting with
'$') and for pseudo variables (those starting with '@') the first
character is consumed before actual variable name parsing. If the name
is empty, it leads to out-of-bound access to the corresponding
`StringRef`.

This patch adds an if statement against the case described.


  Commit: e4b15fc854b6eaebe63ba3acfcd39bf6dd7748b5
      https://github.com/llvm/llvm-project/commit/e4b15fc854b6eaebe63ba3acfcd39bf6dd7748b5
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-03-01 (Fri, 01 Mar 2024)

  Changed paths:
    M libc/cmake/modules/LLVMLibCHeaderRules.cmake

  Log Message:
  -----------
  [libc] Fix '/gpu' directory not being made for the declarations

Summary:
We use this extra directory for offloading languages like CUDA or
OpenMP. We made the '/gpu' directory for the regular headers but not the
others. Fix that for now.


  Commit: fb67dce1cb87e279593c27bd4122fe63bad75f04
      https://github.com/llvm/llvm-project/commit/fb67dce1cb87e279593c27bd4122fe63bad75f04
  Author: Shih-Po Hung <shihpo.hung at sifive.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    A llvm/test/Analysis/CostModel/RISCV/vector-cost-without-v.ll

  Log Message:
  -----------
  [RISCV] Fix crash when unrolling loop containing vector instructions (#83384)

When MVT is not a vector type, TCK_CodeSize should return an invalid
cost. This patch adds a check in the beginning to make sure all cost
kinds return invalid costs consistently.

Before this patch, TCK_CodeSize returns a valid cost on scalar MVT but
other cost kinds doesn't.

This fixes the issue #83294 where a loop contains vector instructions
and MVT is scalar after type legalization when the vector extension is
not enabled,


  Commit: 28b354a96054196cc3c50c2517b0509d0d316d42
      https://github.com/llvm/llvm-project/commit/28b354a96054196cc3c50c2517b0509d0d316d42
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M llvm/lib/FileCheck/FileCheck.cpp
    R llvm/test/FileCheck/empty-variable-name.txt

  Log Message:
  -----------
  Revert "[FileCheck] Fix parsing empty global and pseudo variable names" (#83657)

Reverts llvm/llvm-project#82595

See build failure
https://lab.llvm.org/buildbot/#/builders/139/builds/60549


  Commit: 597f9761c3a5ba278fa930d2fac13f156287d505
      https://github.com/llvm/llvm-project/commit/597f9761c3a5ba278fa930d2fac13f156287d505
  Author: WÁNG Xuěruì <git at xen0n.name>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/checksum.cpp
    M compiler-rt/lib/scudo/standalone/checksum.h
    M compiler-rt/lib/scudo/standalone/crc32_hw.cpp

  Log Message:
  -----------
  [scudo] Add support for LoongArch hardware CRC32 checksumming (#83113)

One has to probe for platform capability prior to use with HWCAP,
according to LoongArch documentation.


  Commit: b14220e075fe47f4d61632e80a6d0a4a955a7c97
      https://github.com/llvm/llvm-project/commit/b14220e075fe47f4d61632e80a6d0a4a955a7c97
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp

  Log Message:
  -----------
  [lldb][X86] Fix setting target features in ClangExpressionParser (#82364)

Currently, for x86 and x86_64 triples, "+sse" and "+sse2" are appended
to `Features` vector of `TargetOptions` unconditionally. This vector is
later reset in `TargetInfo::CreateTargetInfo` and filled using info from
`FeaturesAsWritten` vector, so previous modifications of the `Features`
vector have no effect. For x86_64 triple, we append "sse2"
unconditionally in `X86TargetInfo::initFeatureMap`, so despite the
`Features` vector reset, we still have the desired sse features enabled.
The corresponding code in `X86TargetInfo::initFeatureMap` is marked as
FIXME, so we should not probably rely on it and should set desired
features properly in `ClangExpressionParser`.

This patch changes the vector the features are appended to from
`Features` to `FeaturesAsWritten`. It's not reset later and is used to
compute resulting `Features` vector.


  Commit: c4f59937cae95a576635848b36a23b0d672f71d6
      https://github.com/llvm/llvm-project/commit/c4f59937cae95a576635848b36a23b0d672f71d6
  Author: Michael Spencer <bigcheesegs at gmail.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M llvm/lib/Support/LockFileManager.cpp

  Log Message:
  -----------
  [llvm][Support] Call clear_error in LockFileManager to avoid report_fatal_error (#83655)

As per the comment in `raw_fd_ostream`'s destructor, you must call
`clear_error()` to prevent a call to `report_fatal_error()`. There's not
really a way to test this, but we did encounter it in the wild.

rdar://117347895


  Commit: bf08d0286825eb3e482bcfdc1cc7c19a28441ae7
      https://github.com/llvm/llvm-project/commit/bf08d0286825eb3e482bcfdc1cc7c19a28441ae7
  Author: Daniil Kovalev <dkovalev at accesssoftek.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M llvm/include/llvm/IR/DIBuilder.h
    M llvm/include/llvm/IR/DebugInfoMetadata.h
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/lib/IR/DIBuilder.cpp
    M llvm/lib/IR/DebugInfo.cpp
    M llvm/lib/IR/DebugInfoMetadata.cpp
    M llvm/lib/IR/LLVMContextImpl.h
    M llvm/lib/IR/Verifier.cpp
    M llvm/test/Assembler/debug-info.ll
    R llvm/test/DebugInfo/AArch64/ptrauth.ll
    M llvm/unittests/IR/MetadataTest.cpp
    M mlir/lib/Target/LLVMIR/DebugTranslation.cpp

  Log Message:
  -----------
  Revert "[Dwarf] Support `__ptrauth` qualifier in metadata nodes" (#83672)

Reverts llvm/llvm-project#82363

See a build failure related to an issue discovered by memory sanitizer
(use of uninitialized value):
https://lab.llvm.org/buildbot/#/builders/37/builds/31965


  Commit: 10f5e983a9e3162a569cbebeb32168716e391340
      https://github.com/llvm/llvm-project/commit/10f5e983a9e3162a569cbebeb32168716e391340
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
    A llvm/test/Transforms/DeadStoreElimination/batchaa-caching-new-pointers.ll

  Log Message:
  -----------
  [DSE] Delay deleting non-memory-defs until end of DSE. (#83411)

DSE uses BatchAA, which caches queries using pairs of MemoryLocations.
At the moment, DSE may remove instructions that are used as pointers in
cached MemoryLocations. If a new instruction used by a new MemoryLoation
and this instruction gets allocated at the same address as a previosuly
cached and then removed instruction, we may access an incorrect entry in
the cache.

To avoid this delay removing all instructions except MemoryDefs until
the end of DSE. This should avoid removing any values used in BatchAA's
cache.

Test case by @vporpo from
https://github.com/llvm/llvm-project/pull/83181.
(Test not precommitted because the results are non-determinstic - memset
only sometimes gets removed)

PR: https://github.com/llvm/llvm-project/pull/83411


  Commit: ca827d53c5524409dcca5ade3949b25f38a60fef
      https://github.com/llvm/llvm-project/commit/ca827d53c5524409dcca5ade3949b25f38a60fef
  Author: Simon Pilgrim <RKSimon at users.noreply.github.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/bitcast-int-to-vector-bool-zext.ll
    M llvm/test/CodeGen/X86/bitcast-int-to-vector-bool.ll
    M llvm/test/CodeGen/X86/cmp-shiftX-maskX.ll

  Log Message:
  -----------
  [X86] Convert logicalshift(x, C) -> and(x, M) iff x is allsignbits (#83596)

If we're logical shifting an all-signbits value, then we can just mask out the shifted bits.

This helps removes some unnecessary bitcasted vXi16 shifts used for vXi8 shifts (which SimplifyDemandedBits will struggle to remove through the bitcast), and allows some AVX1 shifts of 256-bit values to stay as a YMM instruction.

Noticed in codegen from #82290


  Commit: 2a95fe481d18e273b9654322135a08d7c2937536
      https://github.com/llvm/llvm-project/commit/2a95fe481d18e273b9654322135a08d7c2937536
  Author: David Green <david.green at arm.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp
    M flang/test/Transforms/simplifyintrinsics.fir

  Log Message:
  -----------
  [Flang] Allow Intrinsic simpification with min/maxloc dim and scalar result (#81619)

This makes an adjustment to the existing fir minloc/maxloc generation
code to handle functions with a dim=1 that produce a scalar result. This
should allow us to get the same benefits as the existing generated
minmax reductions.

This is a recommit of #76194 with an extra alteration to the end of
genRuntimeMinMaxlocBody to make sure we convert the output array to the
correct type (a `box<heap<i32>>`, not `box<heap<array<1xi32>>>`) to
prevent writing the wrong type of box into it. This still allocates the
data as a `array<1xi32>`, converting it into a i32 assuming that is
safe. An alternative would be to allocate the data as a i32 and change
more of the accesses to it throughout genRuntimeMinMaxlocBody.


  Commit: 1f613bce19ea78789934b2a47be8c6a13925f0fa
      https://github.com/llvm/llvm-project/commit/1f613bce19ea78789934b2a47be8c6a13925f0fa
  Author: Hui <hui.xie1990 at gmail.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M libcxx/include/__atomic/atomic_base.h
    M libcxx/include/__atomic/atomic_flag.h
    M libcxx/include/__atomic/atomic_sync.h
    M libcxx/include/latch
    M libcxx/include/semaphore

  Log Message:
  -----------
  [libc++] refactor `cxx_atomic_wait` to make it reusable for atomic_ref (#81427)

The goal of this patch is to make `atomic`'s wait functions to be
reusable by `atomic_ref`.
https://github.com/llvm/llvm-project/pull/76647

First, this patch is built on top of
https://github.com/llvm/llvm-project/pull/80596 , to reduce the future
merge conflicts.

This patch made the following functions as "API"s to be used by
`atomic`, `atomic_flag`, `semaphore`, `latch`, `atomic_ref`

```
__atomic_wait
__atomic_wait_unless
__atomic_notify_one
__atomic_notify_all
```

These functions are made generic to support `atomic` type and
`atomic_ref`. There are two customisation points.

```
// How to load the value from the given type (with a memory order)
__atomic_load
```


```
// what is the contention address that the platform `wait` function is going to monitor
__atomic_contention_address
```


For `atomic_ref` (not implemented in this patch), the `load` and
`address` function will be different, because
- it does not use the "atomic abstraction layer" so the `load` operation
will be some gcc builtin
- the contention address will be the user's actual type that the
`atomic_ref` is pointing to


  Commit: 57f599d6443a910a213094646e7e26837a1d4417
      https://github.com/llvm/llvm-project/commit/57f599d6443a910a213094646e7e26837a1d4417
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/test/AST/Interp/literals.cpp

  Log Message:
  -----------
  [clang][Interp] Improve handling of external variables

Further down in this function, we assert that the variable has
an initializer, which didn't work for external declarations.


  Commit: a30ba2ca21b0da49631c6d0c52108e4a080a451e
      https://github.com/llvm/llvm-project/commit/a30ba2ca21b0da49631c6d0c52108e4a080a451e
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M clang/lib/AST/Interp/InterpBuiltin.cpp

  Log Message:
  -----------
  [clang][Interp][NFC] Emit diagnostic for unknown builtins

Instead of just returning false.


  Commit: b901b0d3edeaa30e363af4cb9dc76d6a7072e6cf
      https://github.com/llvm/llvm-project/commit/b901b0d3edeaa30e363af4cb9dc76d6a7072e6cf
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

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

  Log Message:
  -----------
  [clang][Interp] Reject dummy pointers from __builtin_strcmp()

We can't load anything from them, so reject them here.


  Commit: dfb8a1531c962238a63db199dff973deec47e4ff
      https://github.com/llvm/llvm-project/commit/dfb8a1531c962238a63db199dff973deec47e4ff
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M clang/lib/AST/Interp/InterpBuiltin.cpp

  Log Message:
  -----------
  [clang][Interp][NFC] Make a local variable const


  Commit: f25debe58b61a6d66e662d60fd4c060adcd74630
      https://github.com/llvm/llvm-project/commit/f25debe58b61a6d66e662d60fd4c060adcd74630
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M clang/lib/AST/Interp/InterpBuiltin.cpp

  Log Message:
  -----------
  [clang][Interp][NFC] Remove some leftover debug output


  Commit: d89b771ef5fe39403a2ad525fa36efbc4ce2a517
      https://github.com/llvm/llvm-project/commit/d89b771ef5fe39403a2ad525fa36efbc4ce2a517
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M llvm/test/CodeGen/ARM/arm-position-independence.ll

  Log Message:
  -----------
  [ARM] Add alias tests for ROPI/RWPI

https://reviews.llvm.org/D23195 does not test aliases.


  Commit: af83a2add5687d0c2f70e538612b7e86ccbf47a5
      https://github.com/llvm/llvm-project/commit/af83a2add5687d0c2f70e538612b7e86ccbf47a5
  Author: Michał Górny <mgorny at gentoo.org>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M lld/CMakeLists.txt
    M lld/test/CMakeLists.txt
    M llvm/cmake/modules/AddLLVM.cmake

  Log Message:
  -----------
  [lld] Fixes for unitests in standalone builds (#83670)

1. Replace the obsolete `llvm_add_unittests()` CMake function with an
explicit check for `TARGET llvm_gtest`. This is more consistent with the
rest of the code, and it makes it possible to avoid checking out
`third-party` tree.
2. Add `LLDUnitTests` test dependency to standalone builds. It is
defined unconditionally, and actually necessary to ensure that unit
tests will be built.


  Commit: da591d390e7f865c846d12dc5559875eca347c28
      https://github.com/llvm/llvm-project/commit/da591d390e7f865c846d12dc5559875eca347c28
  Author: Bjorn Pettersson <bjorn.a.pettersson at ericsson.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fabs.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fneg.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-sext.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-zext.mir
    A llvm/test/TableGen/GlobalISelEmitter-multiple-output-reject.td
    M llvm/test/TableGen/GlobalISelEmitter-multiple-output.td
    M llvm/utils/TableGen/GlobalISelEmitter.cpp

  Log Message:
  -----------
  [GlobalISel][TableGen] Take first result for multi-output instructions (#81130)

Previously, tblgen would reject patterns where one of its nested
instructions produced more than one result. These arise when the
instruction definition contains 'outs' as well as 'Defs'. This patch
fixes that by always taking the first result, which is how these
situations are handled in SelectionIDAG.

Original patch: https://reviews.llvm.org/D86617
Continued as: https://github.com/llvm/llvm-project/pull/81130


  Commit: 8ec28af8eaff5acd0df3e53340159c034f08533d
      https://github.com/llvm/llvm-project/commit/8ec28af8eaff5acd0df3e53340159c034f08533d
  Author: Matthias Gehre <matthias.gehre at amd.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/PDL/IR/PDLOps.td
    M mlir/include/mlir/Dialect/PDLInterp/IR/PDLInterpOps.td
    M mlir/include/mlir/IR/PDLPatternMatch.h.inc
    M mlir/lib/Conversion/PDLToPDLInterp/PDLToPDLInterp.cpp
    M mlir/lib/Conversion/PDLToPDLInterp/Predicate.h
    M mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp
    M mlir/lib/Dialect/PDL/IR/PDL.cpp
    M mlir/lib/Rewrite/ByteCode.cpp
    M mlir/lib/Tools/PDLL/Parser/Parser.cpp
    M mlir/test/Conversion/PDLToPDLInterp/pdl-to-pdl-interp-matcher.mlir
    A mlir/test/Conversion/PDLToPDLInterp/use-constraint-result.mlir
    M mlir/test/Dialect/PDL/ops.mlir
    M mlir/test/Rewrite/pdl-bytecode.mlir
    M mlir/test/lib/Dialect/Transform/TestTransformDialectExtension.cpp
    M mlir/test/lib/Rewrite/TestPDLByteCode.cpp
    M mlir/test/mlir-pdll/Parser/constraint-failure.pdll
    M mlir/test/mlir-pdll/Parser/constraint.pdll
    M mlir/test/python/dialects/pdl_ops.py

  Log Message:
  -----------
  Reapply "[mlir][PDL] Add support for native constraints with results (#82760)"

with a small stack-use-after-scope fix in getConstraintPredicates()

This reverts commit c80e6edba4a9593f0587e27fa0ac825ebe174afd.


  Commit: 051e910b8b6c59fc94d019fa01ae4507b1c81498
      https://github.com/llvm/llvm-project/commit/051e910b8b6c59fc94d019fa01ae4507b1c81498
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M clang/lib/Format/FormatToken.h
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/lib/Format/TokenAnnotator.h
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/lib/Format/UnwrappedLineParser.h

  Log Message:
  -----------
  [clang-format][NFC] Replace Style.isCpp() with IsCpp (#83533)


  Commit: 60fbd6050107875956960c3ce35cf94b202d8675
      https://github.com/llvm/llvm-project/commit/60fbd6050107875956960c3ce35cf94b202d8675
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M mlir/include/mlir/Transforms/DialectConversion.h
    M mlir/lib/Transforms/Utils/DialectConversion.cpp
    M mlir/test/lib/Dialect/Test/TestPatterns.cpp

  Log Message:
  -----------
  Revert "[mlir][Transforms] Encapsulate dialect conversion options in `ConversionConfig` (#83662)

This reverts commit 5f1319bb385342c7ef4124b05b83b89ef8588ee8.

A FIR test is broken on Windows


  Commit: f505a92fc2e965f1fe2e6a25d1ff4f0d9d1297c6
      https://github.com/llvm/llvm-project/commit/f505a92fc2e965f1fe2e6a25d1ff4f0d9d1297c6
  Author: MagentaTreehouse <99200384+MagentaTreehouse at users.noreply.github.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeEmitter.cpp
    M llvm/lib/Target/AArch64/AArch64SLSHardening.cpp
    M llvm/lib/Target/ARM/ARMSLSHardening.cpp
    M llvm/lib/Target/X86/X86IndirectThunks.cpp

  Log Message:
  -----------
  [NFC] Use fold expressions to replace discarded initializer_lists (#83693)


  Commit: 205dce6029bed302f354c0bde5d8c5804f214051
      https://github.com/llvm/llvm-project/commit/205dce6029bed302f354c0bde5d8c5804f214051
  Author: Quinn Dawkins <quinn.dawkins at gmail.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/test/Dialect/Linalg/canonicalize.mlir

  Log Message:
  -----------
  [mlir][linalg] Add a folder for transpose(fill) -> fill (#83623)

This is similar to the existing folder for a linalg.copy. Transposing a
filled tensor is the same as filling the destination of the transpose.


  Commit: ea628e3d7e78728e8605080ae1ab0ad55e3df191
      https://github.com/llvm/llvm-project/commit/ea628e3d7e78728e8605080ae1ab0ad55e3df191
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    A pyproject.toml

  Log Message:
  -----------
  [Py Reformat] Exclude `third-party` from reformat (#83491)


  Commit: 0ec318e57b0c7cbc0d9c899390daf3248cbe6a53
      https://github.com/llvm/llvm-project/commit/0ec318e57b0c7cbc0d9c899390daf3248cbe6a53
  Author: Matthias Gehre <matthias.gehre at amd.com>
  Date:   2024-03-03 (Sun, 03 Mar 2024)

  Changed paths:
    M mlir/lib/Rewrite/ByteCode.cpp

  Log Message:
  -----------
  Fix unused variable in "[mlir][PDL] Add support for native constraints with results (#82760)"


  Commit: def16bca8133a2f49127a382061aa36406862a15
      https://github.com/llvm/llvm-project/commit/def16bca8133a2f49127a382061aa36406862a15
  Author: Artem Tyurin <artem.tyurin at gmail.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M mlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp
    M mlir/test/Conversion/MemRefToSPIRV/memref-to-spirv.mlir

  Log Message:
  -----------
  [mlir][spirv] Retain nontemporal attribute when converting memref load/store (#82119)

Fixes #77156.


  Commit: 8b26e609e032b4535b90514e22875bfaa194216c
      https://github.com/llvm/llvm-project/commit/8b26e609e032b4535b90514e22875bfaa194216c
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVRegisterInfo.td

  Log Message:
  -----------
  [RISCV] Use the VR register allocation order for VM. (#83664)


  Commit: 4dd9c2ed3258c38bad4be53f7b2f943c79acd87f
      https://github.com/llvm/llvm-project/commit/4dd9c2ed3258c38bad4be53f7b2f943c79acd87f
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-bitreverse-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-bitreverse.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctlz-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctlz.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctpop-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctpop.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-cttz-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-cttz.ll

  Log Message:
  -----------
  [RISCV] Use NewVL in splatPartsI64WithVL. (#83690)

In 7b5cf52f32c09, I added this NewVL and checked that it had been set,
but I didn't use it for the VL of the splat.


  Commit: 8fccf6bf5ccb4404cfe184ceda7c32e349e122c0
      https://github.com/llvm/llvm-project/commit/8fccf6bf5ccb4404cfe184ceda7c32e349e122c0
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M llvm/tools/opt/optdriver.cpp

  Log Message:
  -----------
  [opt] Use static arrays instead of std::vector to store legacy pass names. NFC (#83634)

A std::vector causes a heap allocation and a memcpy of static
initialization data from the rodata section.

Use a static array instead so we can use the static data directly.


  Commit: d5f77e112e6352d933afa22920a4a0d3bf8d26e5
      https://github.com/llvm/llvm-project/commit/d5f77e112e6352d933afa22920a4a0d3bf8d26e5
  Author: Brad Smith <brad at comstyle.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/lib/Driver/ToolChains/DragonFly.cpp
    M clang/lib/Driver/ToolChains/FreeBSD.cpp
    M clang/lib/Driver/ToolChains/Haiku.cpp
    M clang/lib/Driver/ToolChains/NetBSD.cpp
    M clang/lib/Driver/ToolChains/OpenBSD.cpp
    M clang/lib/Driver/ToolChains/PS4CPU.cpp
    M clang/lib/Driver/ToolChains/Solaris.cpp

  Log Message:
  -----------
  [Driver] Remove duplicate -r flag usage when linking (#82715)

Bug #82010


  Commit: 6594f428de91e333c1cbea4f55e79b18d31024c4
      https://github.com/llvm/llvm-project/commit/6594f428de91e333c1cbea4f55e79b18d31024c4
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M bolt/include/bolt/Core/ParallelUtilities.h
    M lldb/include/lldb/Core/Debugger.h
    M llvm/include/llvm/Debuginfod/Debuginfod.h
    M llvm/include/llvm/Support/BalancedPartitioning.h
    M llvm/include/llvm/Support/ThreadPool.h
    M llvm/lib/Debuginfod/Debuginfod.cpp
    M llvm/lib/Support/ThreadPool.cpp
    M llvm/tools/llvm-cov/CoverageReport.h
    M llvm/tools/llvm-cov/SourceCoverageViewHTML.h
    M llvm/unittests/Support/ThreadPool.cpp
    M mlir/include/mlir/CAPI/Support.h
    M mlir/include/mlir/IR/MLIRContext.h
    M mlir/include/mlir/IR/Threading.h
    M mlir/lib/CAPI/IR/IR.cpp
    M mlir/lib/IR/MLIRContext.cpp
    M mlir/lib/Tools/mlir-opt/MlirOptMain.cpp

  Log Message:
  -----------
  Split the llvm::ThreadPool into an abstract base class and an implementation (#82094)

This decouples the public API used to enqueue tasks and wait for
completion from the actual implementation, and opens up the possibility
for clients to set their own thread pool implementation for the pool.

https://discourse.llvm.org/t/construct-threadpool-from-vector-of-existing-threads/76883


  Commit: 6b70c5d79fe44cbe01b0443454c6952c5b541585
      https://github.com/llvm/llvm-project/commit/6b70c5d79fe44cbe01b0443454c6952c5b541585
  Author: George Koehler <kernigh at gmail.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
    M llvm/test/CodeGen/PowerPC/crsave.ll

  Log Message:
  -----------
  [PowerPC] provide CFI for ELF32 to unwind cr2, cr3, cr4 (#83098)

Delete the code that skips the CFI for the condition register on ELF32.
The code checked !MustSaveCR, which happened only when
Subtarget.is32BitELFABI(), where spillCalleeSavedRegisters is spilling
cr in a different way. The spill was missing CFI. After deleting this
code, a spill of cr2 to cr4 gets CFI in the same way as a spill of r14
to r31.

Fixes #83094


  Commit: 6c6ea9d2b06c57b4c35b3d4bd6cc854a7b9a4590
      https://github.com/llvm/llvm-project/commit/6c6ea9d2b06c57b4c35b3d4bd6cc854a7b9a4590
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M llvm/lib/DebugInfo/GSYM/CMakeLists.txt

  Log Message:
  -----------
  Fix BUILD_SHARED_LIBS=ON build for platforms which require explicit link of -lpthread (NFC)


  Commit: e52650cfc3aa5d134186c5a8fd6701a6fd0a1051
      https://github.com/llvm/llvm-project/commit/e52650cfc3aa5d134186c5a8fd6701a6fd0a1051
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M lldb/source/Core/Debugger.cpp

  Log Message:
  -----------
  Fix LLDB build after renaming the base class for ThreadPool to ThreadPoolInterface

The header was updated but not the implementation.


  Commit: 1a4f52c84257a2a0083abe37368c526a2f8cd928
      https://github.com/llvm/llvm-project/commit/1a4f52c84257a2a0083abe37368c526a2f8cd928
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M llvm/lib/DWARFLinker/Classic/CMakeLists.txt

  Log Message:
  -----------
  More fix BUILD_SHARED_LIBS=ON build for platforms which require explicit link of -lpthread (NFC)

Some systems requires explictly providing -lpthread when linking, I don't
have such system so it is hard to find all the missing cases.


  Commit: e29cad6b3bb1f573ad5340771faa8a01cc05cb65
      https://github.com/llvm/llvm-project/commit/e29cad6b3bb1f573ad5340771faa8a01cc05cb65
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M llvm/lib/DWARFLinker/Parallel/CMakeLists.txt

  Log Message:
  -----------
  More fix BUILD_SHARED_LIBS=ON build for platforms which require explicit link of -lpthread (NFC)

Some systems requires explictly providing -lpthread when linking, I don't
have such system so it is hard to find all the missing cases.


  Commit: 5f70f253c2b8978b50d20d37b25591b40dfe38d5
      https://github.com/llvm/llvm-project/commit/5f70f253c2b8978b50d20d37b25591b40dfe38d5
  Author: Alex Richardson <alexrichardson at google.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp

  Log Message:
  -----------
  [sanitizer_common] Remove unnecessary const_cast

This used to be required because rlim was declared volatile, but commit
d657f109d7080bd51ad70e88859acf64931152fe removed that workaround.


  Commit: 67221ed886b59b2f9b96a154e56e16e27dc3b1a4
      https://github.com/llvm/llvm-project/commit/67221ed886b59b2f9b96a154e56e16e27dc3b1a4
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M llvm/lib/LTO/CMakeLists.txt

  Log Message:
  -----------
  More fix BUILD_SHARED_LIBS=ON build for platforms which require explicit link of -lpthread (NFC)

Some systems requires explictly providing -lpthread when linking, I don't
have such system so it is hard to find all the missing cases.


  Commit: c4621607245a5feed42cf9f748ff796728ef579a
      https://github.com/llvm/llvm-project/commit/c4621607245a5feed42cf9f748ff796728ef579a
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2024-03-02 (Sat, 02 Mar 2024)

  Changed paths:
    M clang/lib/Tooling/CMakeLists.txt

  Log Message:
  -----------
  More fix BUILD_SHARED_LIBS=ON build for platforms which require explicit link of -lpthread (NFC)

Some systems requires explictly providing -lpthread when linking, I don't
have such system so it is hard to find all the missing cases.


  Commit: 37293e69e6362e3559c1a4e1ac62b53f2b0edb0a
      https://github.com/llvm/llvm-project/commit/37293e69e6362e3559c1a4e1ac62b53f2b0edb0a
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-03-03 (Sun, 03 Mar 2024)

  Changed paths:
    M llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
    M llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
    M llvm/lib/Target/X86/X86ExpandPseudo.cpp
    A llvm/test/CodeGen/X86/apx/long-instruction-fixup-x32.ll
    A llvm/test/CodeGen/X86/apx/long-instruction-fixup.ll

  Log Message:
  -----------
  [X86][CodeGen] Support long instruction fixup for APX NDD instructions (#83578)

RFC:
https://discourse.llvm.org/t/rfc-support-long-instruction-fixup-for-x86/76539


  Commit: 3f18f6a2cfecb080f006477c46d3626102841a17
      https://github.com/llvm/llvm-project/commit/3f18f6a2cfecb080f006477c46d3626102841a17
  Author: Quinn Dawkins <quinn.dawkins at gmail.com>
  Date:   2024-03-03 (Sun, 03 Mar 2024)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
    M mlir/test/Dialect/Linalg/reshape_fusion.mlir

  Log Message:
  -----------
  [mlir][linalg] Enable fusion by expansion of reduction and named ops (#83473)

This adds support for expansion of named linalg ops and linalg ops with
reduction iterators. This improves the ability to make fusion decisions
WRT reduction operations. To recover the previous behavior, users of the
patterns can add a control function to restrict propagation of reshape
by expansion through linalg ops with reduction iterators.

For named linalg ops, this always converts the named op into a generic.


  Commit: 800de14fab136f8e17c04cc783e0f8f2b305333b
      https://github.com/llvm/llvm-project/commit/800de14fab136f8e17c04cc783e0f8f2b305333b
  Author: David Green <david.green at arm.com>
  Date:   2024-03-03 (Sun, 03 Mar 2024)

  Changed paths:
    M llvm/include/llvm/TargetParser/AArch64TargetParser.h
    M llvm/include/llvm/TargetParser/ARMTargetParser.def
    M llvm/include/llvm/TargetParser/ARMTargetParser.h
    M llvm/unittests/TargetParser/TargetParserTest.cpp

  Log Message:
  -----------
  [ARM][AArch64] Reformat target parser. NFC (#82601)

This is something we generally tend to avoid due to it confusing the git
history, but with the new github formatting bots being more noisy we
keep running into issues with the existing formatting when adding or
adjusting CPUs. This patch formats the code to make sure we are in a
good state going forward.


  Commit: eb3b063995d6b4f8f3bc22eeecbf239ffaecc29f
      https://github.com/llvm/llvm-project/commit/eb3b063995d6b4f8f3bc22eeecbf239ffaecc29f
  Author: AMS21 <AMS21.github at gmail.com>
  Date:   2024-03-03 (Sun, 03 Mar 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/google/ExplicitConstructorCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    A clang-tools-extra/test/clang-tidy/checkers/google/explicit-constructor-cxx20.cpp

  Log Message:
  -----------
  [clang-tidy] Improve `google-explicit-constructor` checks handling of `explicit(bool)` (#82689)

We now treat `explicit(false)` the same way we treat `noexcept(false)`
in the noexcept checks, which is ignoring it.

Also introduced a new warning message if a constructor has an `explicit`
declaration which evaluates to false and no longer emit a faulty FixIt.

Fixes #81121


  Commit: 22f34ea3b05537235956c99fe942aa95b88762c0
      https://github.com/llvm/llvm-project/commit/22f34ea3b05537235956c99fe942aa95b88762c0
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2024-03-03 (Sun, 03 Mar 2024)

  Changed paths:
    M mlir/include/mlir/Query/Matcher/ErrorBuilder.h
    M mlir/include/mlir/Query/Matcher/MatchersInternal.h
    M mlir/lib/Query/CMakeLists.txt
    M mlir/lib/Query/Matcher/Diagnostics.cpp
    M mlir/lib/Query/Matcher/Parser.cpp
    M mlir/lib/Query/Matcher/Parser.h
    M mlir/lib/Query/Matcher/RegistryManager.cpp
    M mlir/lib/Query/Matcher/RegistryManager.h
    M mlir/lib/Query/Query.cpp
    A mlir/test/mlir-query/function-extraction.mlir

  Log Message:
  -----------
  Reapply "[mlir-query] Add function extraction feature to mlir-query"

Fix build deps.

This reverts commit de55c2f869925a3ed7f26e168424021c6bc46799.


  Commit: a5d3a1dbc8c9bd1ea76550a4bac44d25b1e43a5e
      https://github.com/llvm/llvm-project/commit/a5d3a1dbc8c9bd1ea76550a4bac44d25b1e43a5e
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-03-03 (Sun, 03 Mar 2024)

  Changed paths:
    M libcxx/include/fstream

  Log Message:
  -----------
  [libc++] Refactors fstream open. (#76617)

This moves the duplicated code to one new function.

This is a preparation to fix
https://github.com/llvm/llvm-project/issues/60509


  Commit: 732a5cba8c739ed40a7280b5d74ca717910c2c4c
      https://github.com/llvm/llvm-project/commit/732a5cba8c739ed40a7280b5d74ca717910c2c4c
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2024-03-03 (Sun, 03 Mar 2024)

  Changed paths:
    M mlir/include/mlir/Query/Matcher/ErrorBuilder.h
    M mlir/include/mlir/Query/Matcher/MatchersInternal.h
    M mlir/lib/Query/CMakeLists.txt
    M mlir/lib/Query/Matcher/Diagnostics.cpp
    M mlir/lib/Query/Matcher/Parser.cpp
    M mlir/lib/Query/Matcher/Parser.h
    M mlir/lib/Query/Matcher/RegistryManager.cpp
    M mlir/lib/Query/Matcher/RegistryManager.h
    M mlir/lib/Query/Query.cpp
    R mlir/test/mlir-query/function-extraction.mlir

  Log Message:
  -----------
  Revert "Reapply "[mlir-query] Add function extraction feature to mlir-query""

Commit fails on sanitizers.

This reverts commit 22f34ea3b05537235956c99fe942aa95b88762c0.


  Commit: 5b4759f9fd1419abc69e656c40f04a0fd9483d2a
      https://github.com/llvm/llvm-project/commit/5b4759f9fd1419abc69e656c40f04a0fd9483d2a
  Author: NAKAMURA Takumi <geek4civic at gmail.com>
  Date:   2024-03-03 (Sun, 03 Mar 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.h
    M llvm/test/CodeGen/X86/2006-04-27-ISelFoldingBug.ll
    M llvm/test/CodeGen/X86/2007-08-09-IllegalX86-64Asm.ll
    M llvm/test/CodeGen/X86/2007-12-18-LoadCSEBug.ll
    M llvm/test/CodeGen/X86/2008-02-18-TailMergingBug.ll
    M llvm/test/CodeGen/X86/avx-cmp.ll
    M llvm/test/CodeGen/X86/cmp.ll
    M llvm/test/CodeGen/X86/dagcombine-and-setcc.ll
    M llvm/test/CodeGen/X86/div-rem-pair-recomposition-unsigned.ll
    M llvm/test/CodeGen/X86/inline-spiller-impdef-on-implicit-def-regression.ll
    M llvm/test/CodeGen/X86/lsr-addrecloops.ll
    M llvm/test/CodeGen/X86/movmsk-cmp.ll
    M llvm/test/CodeGen/X86/or-branch.ll
    M llvm/test/CodeGen/X86/peephole-na-phys-copy-folding.ll
    M llvm/test/CodeGen/X86/pr33747.ll
    M llvm/test/CodeGen/X86/pr37025.ll
    M llvm/test/CodeGen/X86/pr38795.ll
    M llvm/test/CodeGen/X86/setcc-logic.ll
    M llvm/test/CodeGen/X86/swifterror.ll
    M llvm/test/CodeGen/X86/tail-dup-merge-loop-headers.ll
    M llvm/test/CodeGen/X86/tail-opts.ll
    M llvm/test/CodeGen/X86/tailcall-extract.ll
    M llvm/test/CodeGen/X86/test-shrink-bug.ll
    M llvm/test/CodeGen/X86/x86-shrink-wrap-unwind.ll

  Log Message:
  -----------
  Revert "[X86] Don't always separate conditions in `(br (and/or cond0, cond1))` into separate branches"

This has been buggy for a while.

Reverts #81689
This reverts commit ae76dfb74701e05e5ab4be194e20e49f10768e46.


  Commit: 58b44c8102afb0e76d1cb70d4a5d089f70d2f657
      https://github.com/llvm/llvm-project/commit/58b44c8102afb0e76d1cb70d4a5d089f70d2f657
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2024-03-03 (Sun, 03 Mar 2024)

  Changed paths:
    M mlir/include/mlir/Query/Matcher/ErrorBuilder.h
    M mlir/include/mlir/Query/Matcher/MatchersInternal.h
    M mlir/lib/Query/CMakeLists.txt
    M mlir/lib/Query/Matcher/Diagnostics.cpp
    M mlir/lib/Query/Matcher/Parser.cpp
    M mlir/lib/Query/Matcher/Parser.h
    M mlir/lib/Query/Matcher/RegistryManager.cpp
    M mlir/lib/Query/Matcher/RegistryManager.h
    M mlir/lib/Query/Query.cpp
    A mlir/test/mlir-query/function-extraction.mlir

  Log Message:
  -----------
  Reapply "Reapply "[mlir-query] Add function extraction feature to mlir-query""

Fix ASAN by erasing the op extracted post printing.

This reverts commit 732a5cba8c739ed40a7280b5d74ca717910c2c4c.


  Commit: 3ca73e03aaf516ed10df2ec79f92f73d9216c884
      https://github.com/llvm/llvm-project/commit/3ca73e03aaf516ed10df2ec79f92f73d9216c884
  Author: Jacques Pienaar <jpienaar at google.com>
  Date:   2024-03-03 (Sun, 03 Mar 2024)

  Changed paths:
    M mlir/lib/Query/Query.cpp

  Log Message:
  -----------
  [mlir-query] Attempt to fix gcc7 build

I haven't tested via gcc7, but this should address the error reported.


  Commit: 03f150bb5688be72ae4dfb43fbe6795aae493e6d
      https://github.com/llvm/llvm-project/commit/03f150bb5688be72ae4dfb43fbe6795aae493e6d
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-03-03 (Sun, 03 Mar 2024)

  Changed paths:
    R .arcconfig
    R .arclint
    M llvm/docs/Contributing.rst
    M llvm/docs/DeveloperPolicy.rst
    R llvm/docs/Phabricator.rst
    R llvm/docs/Phabricator_premerge_results.png
    R llvm/docs/Phabricator_premerge_unit_tests.png
    M llvm/docs/UserGuides.rst
    R utils/arcanist/clang-format.sh

  Log Message:
  -----------
  Removes arcanist and Phabricator information. (#82115)

Removes old arcanist configuration files and documentation of
Phabricator. This only removes the data that seems save to remove.


  Commit: 5f058398ab7a6c2cf3555daf190d3d13d68f78f5
      https://github.com/llvm/llvm-project/commit/5f058398ab7a6c2cf3555daf190d3d13d68f78f5
  Author: David Green <david.green at arm.com>
  Date:   2024-03-03 (Sun, 03 Mar 2024)

  Changed paths:
    M llvm/lib/Target/ARM/ARMInstrNEON.td
    M llvm/test/CodeGen/ARM/aes-erratum-fix.ll
    A llvm/test/CodeGen/ARM/aes.ll

  Log Message:
  -----------
  [ARM] Mark AESD and AESE instructions as commutative.

Similar to #83390, this marks AESD and AESE as commutative, as the logic of the
instructions starts as a XOR between the two operands.


  Commit: 0c89427b99f6f6d7c217c70ff880ca097340f9a4
      https://github.com/llvm/llvm-project/commit/0c89427b99f6f6d7c217c70ff880ca097340f9a4
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2024-03-03 (Sun, 03 Mar 2024)

  Changed paths:
    M clang/include/clang/Driver/Driver.h
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/Driver.cpp
    A clang/test/Driver/modules-print-library-module-manifest-path.cpp

  Log Message:
  -----------
  Reland "[clang][modules] Print library module manifest path." (#82160)

This implements a way for the compiler to find the modules.json
associated with the C++23 Standard library modules.

This is based on a discussion in SG15. At the moment no Standard library
installs this manifest. #75741 adds this feature in libc++.

This reverts commit 82f424f766be00b037a706a835d0a0663a2680f1.

Disables the tests on non-X86 platforms as suggested.


  Commit: 55357160d0e151c32f86e1d6683b4bddbb706aa1
      https://github.com/llvm/llvm-project/commit/55357160d0e151c32f86e1d6683b4bddbb706aa1
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-03-03 (Sun, 03 Mar 2024)

  Changed paths:
    M libcxx/include/__type_traits/remove_cv.h
    M libcxx/include/__type_traits/remove_cvref.h

  Log Message:
  -----------
  [libc++] Use GCC type traits builtins for remove_cv and remove_cvref (#81386)

They have been added recently to GCC without support for mangling. This
patch uses them in structs and adds aliases to these structs instead of
the builtins directly.


  Commit: 0c90e8837a9e5f27985ccaf85120083db9e1b43e
      https://github.com/llvm/llvm-project/commit/0c90e8837a9e5f27985ccaf85120083db9e1b43e
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-03-03 (Sun, 03 Mar 2024)

  Changed paths:
    M libcxx/src/iostream.cpp

  Log Message:
  -----------
  [libc++][NFC] Replace _ALIGNAS_TYPE with alignas in iostream.cpp


  Commit: 33de5a316caa3c9b07ee1ccc7fbc3434247ff787
      https://github.com/llvm/llvm-project/commit/33de5a316caa3c9b07ee1ccc7fbc3434247ff787
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-03-03 (Sun, 03 Mar 2024)

  Changed paths:
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__filesystem/path.h
    M libcxx/include/__functional/bind.h
    M libcxx/include/__functional/hash.h
    M libcxx/include/__functional/identity.h
    A libcxx/include/__fwd/functional.h
    R libcxx/include/__fwd/hash.h
    M libcxx/include/__thread/id.h
    M libcxx/include/__thread/support/pthread.h
    M libcxx/include/__type_traits/is_reference_wrapper.h
    M libcxx/include/__type_traits/unwrap_ref.h
    M libcxx/include/experimental/propagate_const
    M libcxx/include/filesystem
    M libcxx/include/libcxx.imp
    M libcxx/include/module.modulemap.in
    M libcxx/include/optional
    M libcxx/include/type_traits
    M libcxx/test/libcxx/transitive_includes/cxx23.csv
    M libcxx/test/libcxx/transitive_includes/cxx26.csv
    M libcxx/utils/generate_iwyu_mapping.py

  Log Message:
  -----------
  [libc++] Rename __fwd/hash.h to __fwd/functional.h and add reference_wrapper (#81445)

We forward declare `reference_wrapper` in multiple places already. This
moves the declaration to the canonical place and removes unnecessary
includes of `__functional/reference_wrapper.h`.


  Commit: 09b34b998d9d84fa4740c1f2821699250fc318cb
      https://github.com/llvm/llvm-project/commit/09b34b998d9d84fa4740c1f2821699250fc318cb
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2024-03-03 (Sun, 03 Mar 2024)

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

  Log Message:
  -----------
  [Github] Make CI container build more reliable (#83707)


  Commit: 5105f1551b4bc800f564e7c105fc95e2c51f1239
      https://github.com/llvm/llvm-project/commit/5105f1551b4bc800f564e7c105fc95e2c51f1239
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-03-03 (Sun, 03 Mar 2024)

  Changed paths:
    M llvm/utils/gn/secondary/libcxx/include/BUILD.gn

  Log Message:
  -----------
  [gn build] Port 33de5a316caa


  Commit: 1bcd01c5b0ab3f0fd57dfe154f046b6572d23aba
      https://github.com/llvm/llvm-project/commit/1bcd01c5b0ab3f0fd57dfe154f046b6572d23aba
  Author: Alex Richardson <alexrichardson at google.com>
  Date:   2024-03-03 (Sun, 03 Mar 2024)

  Changed paths:
    R .arcconfig
    R .arclint
    M .github/workflows/build-ci-container.yml
    M bolt/include/bolt/Core/ParallelUtilities.h
    M clang-tools-extra/clang-tidy/google/ExplicitConstructorCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    A clang-tools-extra/test/clang-tidy/checkers/google/explicit-constructor-cxx20.cpp
    M clang/include/clang/Driver/Driver.h
    M clang/include/clang/Driver/Options.td
    M clang/lib/AST/Interp/ByteCodeEmitter.cpp
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/InterpBuiltin.cpp
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/lib/Driver/ToolChains/DragonFly.cpp
    M clang/lib/Driver/ToolChains/FreeBSD.cpp
    M clang/lib/Driver/ToolChains/Haiku.cpp
    M clang/lib/Driver/ToolChains/NetBSD.cpp
    M clang/lib/Driver/ToolChains/OpenBSD.cpp
    M clang/lib/Driver/ToolChains/PS4CPU.cpp
    M clang/lib/Driver/ToolChains/Solaris.cpp
    M clang/lib/Format/FormatToken.h
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/lib/Format/TokenAnnotator.h
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/lib/Format/UnwrappedLineParser.h
    M clang/lib/Tooling/CMakeLists.txt
    M clang/test/AST/Interp/builtin-functions.cpp
    M clang/test/AST/Interp/literals.cpp
    A clang/test/Driver/modules-print-library-module-manifest-path.cpp
    M compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cpp
    M compiler-rt/lib/scudo/standalone/checksum.cpp
    M compiler-rt/lib/scudo/standalone/checksum.h
    M compiler-rt/lib/scudo/standalone/crc32_hw.cpp
    M flang/lib/Optimizer/Transforms/SimplifyIntrinsics.cpp
    M flang/test/Transforms/simplifyintrinsics.fir
    M libc/cmake/modules/LLVMLibCHeaderRules.cmake
    M libcxx/include/CMakeLists.txt
    M libcxx/include/__atomic/atomic_base.h
    M libcxx/include/__atomic/atomic_flag.h
    M libcxx/include/__atomic/atomic_sync.h
    M libcxx/include/__filesystem/path.h
    M libcxx/include/__functional/bind.h
    M libcxx/include/__functional/hash.h
    M libcxx/include/__functional/identity.h
    A libcxx/include/__fwd/functional.h
    R libcxx/include/__fwd/hash.h
    M libcxx/include/__thread/id.h
    M libcxx/include/__thread/support/pthread.h
    M libcxx/include/__type_traits/is_reference_wrapper.h
    M libcxx/include/__type_traits/remove_cv.h
    M libcxx/include/__type_traits/remove_cvref.h
    M libcxx/include/__type_traits/unwrap_ref.h
    M libcxx/include/experimental/propagate_const
    M libcxx/include/filesystem
    M libcxx/include/fstream
    M libcxx/include/latch
    M libcxx/include/libcxx.imp
    M libcxx/include/module.modulemap.in
    M libcxx/include/optional
    M libcxx/include/semaphore
    M libcxx/include/type_traits
    M libcxx/src/iostream.cpp
    M libcxx/test/libcxx/transitive_includes/cxx23.csv
    M libcxx/test/libcxx/transitive_includes/cxx26.csv
    M libcxx/utils/generate_iwyu_mapping.py
    M lld/CMakeLists.txt
    M lld/test/CMakeLists.txt
    M lldb/include/lldb/Core/Debugger.h
    M lldb/source/Core/Debugger.cpp
    M lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionParser.cpp
    M llvm/cmake/modules/AddLLVM.cmake
    M llvm/docs/Contributing.rst
    M llvm/docs/DeveloperPolicy.rst
    R llvm/docs/Phabricator.rst
    R llvm/docs/Phabricator_premerge_results.png
    R llvm/docs/Phabricator_premerge_unit_tests.png
    M llvm/docs/UserGuides.rst
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/include/llvm/Debuginfod/Debuginfod.h
    M llvm/include/llvm/IR/DIBuilder.h
    M llvm/include/llvm/IR/DebugInfoMetadata.h
    M llvm/include/llvm/Support/BalancedPartitioning.h
    M llvm/include/llvm/Support/ThreadPool.h
    M llvm/include/llvm/TargetParser/AArch64TargetParser.h
    M llvm/include/llvm/TargetParser/ARMTargetParser.def
    M llvm/include/llvm/TargetParser/ARMTargetParser.h
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
    M llvm/lib/DWARFLinker/Classic/CMakeLists.txt
    M llvm/lib/DWARFLinker/Parallel/CMakeLists.txt
    M llvm/lib/DebugInfo/GSYM/CMakeLists.txt
    M llvm/lib/Debuginfod/Debuginfod.cpp
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/lib/IR/DIBuilder.cpp
    M llvm/lib/IR/DebugInfo.cpp
    M llvm/lib/IR/DebugInfoMetadata.cpp
    M llvm/lib/IR/LLVMContextImpl.h
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/LTO/CMakeLists.txt
    M llvm/lib/Support/LockFileManager.cpp
    M llvm/lib/Support/ThreadPool.cpp
    M llvm/lib/Target/AArch64/AArch64SLSHardening.cpp
    M llvm/lib/Target/ARM/ARMInstrNEON.td
    M llvm/lib/Target/ARM/ARMSLSHardening.cpp
    M llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVRegisterInfo.td
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
    M llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
    M llvm/lib/Target/X86/X86ExpandPseudo.cpp
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86ISelLowering.h
    M llvm/lib/Target/X86/X86IndirectThunks.cpp
    M llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp
    A llvm/test/Analysis/CostModel/RISCV/vector-cost-without-v.ll
    M llvm/test/Assembler/debug-info.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fabs.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fneg.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-sext.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-zext.mir
    M llvm/test/CodeGen/ARM/aes-erratum-fix.ll
    A llvm/test/CodeGen/ARM/aes.ll
    M llvm/test/CodeGen/ARM/arm-position-independence.ll
    M llvm/test/CodeGen/PowerPC/crsave.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-bitreverse-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-bitreverse.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctlz-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctlz.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctpop-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-ctpop.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-cttz-vp.ll
    M llvm/test/CodeGen/RISCV/rvv/fixed-vectors-cttz.ll
    M llvm/test/CodeGen/X86/2006-04-27-ISelFoldingBug.ll
    M llvm/test/CodeGen/X86/2007-08-09-IllegalX86-64Asm.ll
    M llvm/test/CodeGen/X86/2007-12-18-LoadCSEBug.ll
    M llvm/test/CodeGen/X86/2008-02-18-TailMergingBug.ll
    A llvm/test/CodeGen/X86/apx/long-instruction-fixup-x32.ll
    A llvm/test/CodeGen/X86/apx/long-instruction-fixup.ll
    M llvm/test/CodeGen/X86/avx-cmp.ll
    M llvm/test/CodeGen/X86/bitcast-int-to-vector-bool-zext.ll
    M llvm/test/CodeGen/X86/bitcast-int-to-vector-bool.ll
    M llvm/test/CodeGen/X86/cmp-shiftX-maskX.ll
    M llvm/test/CodeGen/X86/cmp.ll
    M llvm/test/CodeGen/X86/dagcombine-and-setcc.ll
    M llvm/test/CodeGen/X86/div-rem-pair-recomposition-unsigned.ll
    M llvm/test/CodeGen/X86/inline-spiller-impdef-on-implicit-def-regression.ll
    M llvm/test/CodeGen/X86/lsr-addrecloops.ll
    M llvm/test/CodeGen/X86/movmsk-cmp.ll
    M llvm/test/CodeGen/X86/or-branch.ll
    M llvm/test/CodeGen/X86/peephole-na-phys-copy-folding.ll
    M llvm/test/CodeGen/X86/pr33747.ll
    M llvm/test/CodeGen/X86/pr37025.ll
    M llvm/test/CodeGen/X86/pr38795.ll
    M llvm/test/CodeGen/X86/setcc-logic.ll
    M llvm/test/CodeGen/X86/swifterror.ll
    M llvm/test/CodeGen/X86/tail-dup-merge-loop-headers.ll
    M llvm/test/CodeGen/X86/tail-opts.ll
    M llvm/test/CodeGen/X86/tailcall-extract.ll
    M llvm/test/CodeGen/X86/test-shrink-bug.ll
    M llvm/test/CodeGen/X86/x86-shrink-wrap-unwind.ll
    R llvm/test/DebugInfo/AArch64/ptrauth.ll
    A llvm/test/TableGen/GlobalISelEmitter-multiple-output-reject.td
    M llvm/test/TableGen/GlobalISelEmitter-multiple-output.td
    A llvm/test/Transforms/DeadStoreElimination/batchaa-caching-new-pointers.ll
    M llvm/tools/llvm-cov/CoverageReport.h
    M llvm/tools/llvm-cov/SourceCoverageViewHTML.h
    M llvm/tools/opt/optdriver.cpp
    M llvm/unittests/IR/MetadataTest.cpp
    M llvm/unittests/Support/ThreadPool.cpp
    M llvm/unittests/TargetParser/TargetParserTest.cpp
    M llvm/utils/TableGen/GlobalISelEmitter.cpp
    M llvm/utils/gn/secondary/libcxx/include/BUILD.gn
    M mlir/include/mlir/CAPI/Support.h
    M mlir/include/mlir/Dialect/PDL/IR/PDLOps.td
    M mlir/include/mlir/Dialect/PDLInterp/IR/PDLInterpOps.td
    M mlir/include/mlir/IR/MLIRContext.h
    M mlir/include/mlir/IR/PDLPatternMatch.h.inc
    M mlir/include/mlir/IR/Threading.h
    M mlir/include/mlir/Query/Matcher/ErrorBuilder.h
    M mlir/include/mlir/Query/Matcher/MatchersInternal.h
    M mlir/include/mlir/Transforms/DialectConversion.h
    M mlir/lib/CAPI/IR/IR.cpp
    M mlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp
    M mlir/lib/Conversion/PDLToPDLInterp/PDLToPDLInterp.cpp
    M mlir/lib/Conversion/PDLToPDLInterp/Predicate.h
    M mlir/lib/Conversion/PDLToPDLInterp/PredicateTree.cpp
    M mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
    M mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp
    M mlir/lib/Dialect/PDL/IR/PDL.cpp
    M mlir/lib/IR/MLIRContext.cpp
    M mlir/lib/Query/CMakeLists.txt
    M mlir/lib/Query/Matcher/Diagnostics.cpp
    M mlir/lib/Query/Matcher/Parser.cpp
    M mlir/lib/Query/Matcher/Parser.h
    M mlir/lib/Query/Matcher/RegistryManager.cpp
    M mlir/lib/Query/Matcher/RegistryManager.h
    M mlir/lib/Query/Query.cpp
    M mlir/lib/Rewrite/ByteCode.cpp
    M mlir/lib/Target/LLVMIR/DebugTranslation.cpp
    M mlir/lib/Tools/PDLL/Parser/Parser.cpp
    M mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
    M mlir/lib/Transforms/Utils/DialectConversion.cpp
    M mlir/test/Conversion/MemRefToSPIRV/memref-to-spirv.mlir
    M mlir/test/Conversion/PDLToPDLInterp/pdl-to-pdl-interp-matcher.mlir
    A mlir/test/Conversion/PDLToPDLInterp/use-constraint-result.mlir
    M mlir/test/Dialect/Linalg/canonicalize.mlir
    M mlir/test/Dialect/Linalg/reshape_fusion.mlir
    M mlir/test/Dialect/PDL/ops.mlir
    M mlir/test/Rewrite/pdl-bytecode.mlir
    M mlir/test/lib/Dialect/Test/TestPatterns.cpp
    M mlir/test/lib/Dialect/Transform/TestTransformDialectExtension.cpp
    M mlir/test/lib/Rewrite/TestPDLByteCode.cpp
    M mlir/test/mlir-pdll/Parser/constraint-failure.pdll
    M mlir/test/mlir-pdll/Parser/constraint.pdll
    A mlir/test/mlir-query/function-extraction.mlir
    M mlir/test/python/dialects/pdl_ops.py
    A pyproject.toml
    R utils/arcanist/clang-format.sh

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

Created using spr 1.3.6-beta.1

[skip ci]


Compare: https://github.com/llvm/llvm-project/compare/e74d8b4828c8...1bcd01c5b0ab

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