[all-commits] [llvm/llvm-project] 68106b: [Sample Profile Loader] Fix potential invalidated...

Justin Bogner via All-commits all-commits at lists.llvm.org
Thu Nov 30 09:15:25 PST 2023


  Branch: refs/heads/users/bogner/spr/clangsema-dont-say-is-declared-here-for-invalid-template-locations
  Home:   https://github.com/llvm/llvm-project
  Commit: 68106bd492e294ecf0a7e2829dd9edf6cd72f3ef
      https://github.com/llvm/llvm-project/commit/68106bd492e294ecf0a7e2829dd9edf6cd72f3ef
  Author: William Junda Huang <williamjhuang at google.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/ProfiledCallGraph.h

  Log Message:
  -----------
  [Sample Profile Loader]  Fix potential invalidated reference (#73181)

There is a potential issue in ProfiledCallGraph where pointers to
ProfiledCallGraphNode are used to construct edges, while
ProfiledCallGraphNode instances are being added to a hash map
ProfiledFunctions simultaneously. If rehash happens, those pointers are
invalidated, resulting in undefined behavior/crash. Previously (before
md5phase2) ProfiledFunctions is a llvm::StringMap, which also have the
same issue theoretically when rehashing but was not observed. This patch
fixes this potential issue by using a backing buffer for
ProrfiledCallGraphNode that does not relocate.


  Commit: b92bf0dad6ec9760e008a0fa22d7dbd0b045c776
      https://github.com/llvm/llvm-project/commit/b92bf0dad6ec9760e008a0fa22d7dbd0b045c776
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

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

  Log Message:
  -----------
  [RISCV] Disable clang-format around the RISCVISD opcode enum. NFC


  Commit: be811d1617654e46f4f4daa82259ae4fad4c8e6a
      https://github.com/llvm/llvm-project/commit/be811d1617654e46f4f4daa82259ae4fad4c8e6a
  Author: Michael Platings <michael.platings at arm.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M libcxx/cmake/caches/Armv7M-picolibc.cmake
    M libcxx/docs/index.rst
    M libcxx/test/configs/armv7m-picolibc-libc++.cfg.in
    M libcxx/test/libcxx/selftest/dsl/dsl.sh.py
    M libcxx/test/libcxx/selftest/pass.cpp/run-error.pass.cpp
    M libcxx/test/libcxx/selftest/pass.mm/run-error.pass.mm
    M libcxx/test/libcxx/selftest/stdin-is-piped.sh.cpp
    M libcxx/test/std/algorithms/alg.sorting/alg.sort/sort/sort.pass.cpp
    M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
    M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
    M libcxx/test/std/input.output/iostream.objects/narrow.stream.objects/cerr.sh.cpp
    M libcxx/test/std/input.output/iostream.objects/narrow.stream.objects/cin.sh.cpp
    M libcxx/test/std/input.output/iostream.objects/narrow.stream.objects/clog.sh.cpp
    M libcxx/test/std/input.output/iostream.objects/narrow.stream.objects/cout.sh.cpp
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array14.pass.cpp
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete14.pass.cpp
    M libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.statics/classic_table.pass.cpp
    M libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp
    M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bin/eval.PR44847.pass.cpp
    M libcxx/test/std/time/time.clock/time.clock.file/now.pass.cpp
    M libcxxabi/test/configs/armv7m-picolibc-libc++abi.cfg.in
    M libunwind/test/configs/armv7m-picolibc-libunwind.cfg.in
    M libunwind/test/libunwind_02.pass.cpp

  Log Message:
  -----------
  [libc++] Run picolibc tests with qemu

This patch actually runs the tests for picolibc behind an emulator,
removing a few workarounds and increasing coverage.

Differential Revision: https://reviews.llvm.org/D155521


  Commit: 9ac64abc02c1f4433931cf0323c12663df02b14e
      https://github.com/llvm/llvm-project/commit/9ac64abc02c1f4433931cf0323c12663df02b14e
  Author: Eric <eric at efcs.ca>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M .github/workflows/libcxx-build-and-test.yaml
    M libcxx/utils/ci/buildkite-pipeline.yml

  Log Message:
  -----------
  [libc++] Remove linux Buildkite builders entirely (#73825)

This removes the Google hosted Linux buildkite builders. We have since
moved all of them over to github actions.

Follow up changes will be sent for android.


  Commit: 0737be349d1be99ca34d9b99fbd3e0cf10d6481e
      https://github.com/llvm/llvm-project/commit/0737be349d1be99ca34d9b99fbd3e0cf10d6481e
  Author: Eric <eric at efcs.ca>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M .github/workflows/libcxx-build-and-test.yaml

  Log Message:
  -----------
  Add a scheduled build for libc++ (#73848)

We had a scheduled build on buildkite, we probably want something
testing head here as well.

Since this change just adds more tests, I think we can skip pre-commit  review.

[skip ci]


  Commit: fae233c63f93b4b6f9693685abe6c7d24393682f
      https://github.com/llvm/llvm-project/commit/fae233c63f93b4b6f9693685abe6c7d24393682f
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
    M openmp/libomptarget/plugins-nextgen/common/src/PluginInterface.cpp

  Log Message:
  -----------
  [OpenMP] Avoid initializing the KernelLaunchEnvironment if possible (#73864)

If we don't have a team reduction we don't need a kernel launch
environment (for now). In that case we can avoid the cost.


  Commit: fc19424d1d6d0df20e1734610a8e80a8e5158009
      https://github.com/llvm/llvm-project/commit/fc19424d1d6d0df20e1734610a8e80a8e5158009
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/suspicious-enum-usage-strict.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/suspicious-enum-usage.cpp

  Log Message:
  -----------
  [clang-tidy][NFC] Fix bugprone-suspicious-enum-usage tests

Fixes failure in tests from a bugprone-suspicious-enum-usage check
by limiting those test to C++17 only to make CI green.
Tests were broken by change introduced in pull request #73105


  Commit: 61aef978d6ab1553c48bbd9bf807a277b22451c1
      https://github.com/llvm/llvm-project/commit/61aef978d6ab1553c48bbd9bf807a277b22451c1
  Author: Eric <eric at efcs.ca>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M libcxx/test/std/containers/sequences/deque/deque.modifiers/insert_iter_iter.pass.cpp
    M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.negbin/eval.pass.cpp

  Log Message:
  -----------
  Compile MSAN/TSAN failing test with -O1 (#73555)

This attempts to fix flakes on the bots where the modified test times
out while running under sanitizers.

Turning on the optimizer for just this test appears to mostly fix the
issue.


  Commit: efc60dc00796fd113e057a92c6861eeb57e649ae
      https://github.com/llvm/llvm-project/commit/efc60dc00796fd113e057a92c6861eeb57e649ae
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M libcxx/include/codecvt
    M libcxx/test/libcxx/input.output/file.streams/fstreams/fstream.cons/wchar_pointer.pass.cpp
    M libcxx/test/libcxx/input.output/file.streams/fstreams/fstream.members/open_wchar_pointer.pass.cpp
    M libcxx/test/libcxx/input.output/file.streams/fstreams/ofstream.cons/wchar_pointer.pass.cpp
    M libcxx/test/libcxx/input.output/file.streams/fstreams/ofstream.members/open_wchar_pointer.pass.cpp

  Log Message:
  -----------
  [libc++] Reenable codecvt in the dylib. (#73679)

The header is used in the dylib, this is not an issue at the moment
since the dylib is built using C++23 but it would be when building
with C++26.

Post release comments in #72496 seem to indicate this removal is an
issue for Fuchsia.


  Commit: c6d70722b49db01914d5f64cc86ea5ed609ad9fd
      https://github.com/llvm/llvm-project/commit/c6d70722b49db01914d5f64cc86ea5ed609ad9fd
  Author: Brendan Dahl <brendan.dahl at gmail.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    A clang/test/CodeGen/annotations-decl-use-decl.c
    A clang/test/CodeGen/annotations-decl-use-define.c
    A clang/test/CodeGen/annotations-declaration.c
    M clang/test/CodeGen/annotations-global.c
    A clang/test/CodeGenCXX/attr-annotate-constructor.cpp
    A clang/test/CodeGenCXX/attr-annotate-destructor.cpp
    M clang/test/CodeGenCXX/attr-annotate.cpp

  Log Message:
  -----------
  [clang][CodeGen] Emit annotations for function declarations. (#66716)

Previously, annotations were only emitted for function definitions. With
this change annotations are also emitted for declarations. Also,
emitting function annotations is now deferred until the end so that the
most up to date declaration is used which will have any inherited
annotations.


  Commit: bf2e05c7fbc739cd9b9086163303f846ee2806d2
      https://github.com/llvm/llvm-project/commit/bf2e05c7fbc739cd9b9086163303f846ee2806d2
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2023-11-30 (Thu, 30 Nov 2023)

  Changed paths:
    M clang/test/CXX/drs/dr0xx.cpp
    M clang/www/cxx_dr_status.html

  Log Message:
  -----------
  [clang][NFC] Fill in historical data on when C++ DR 1-99 were fixed


  Commit: a87ca1bbd9a4f36b1edd3d3d3c4a662e05388f4e
      https://github.com/llvm/llvm-project/commit/a87ca1bbd9a4f36b1edd3d3d3c4a662e05388f4e
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M flang/lib/Semantics/check-directive-structure.h
    M flang/test/Semantics/OpenACC/acc-kernels-loop.f90
    M flang/test/Semantics/OpenACC/acc-loop.f90
    M flang/test/Semantics/OpenACC/acc-parallel-loop-validity.f90
    M flang/test/Semantics/OpenACC/acc-serial-loop.f90

  Log Message:
  -----------
  [flang][openacc] Do not check for unlabelled CYCLE branching (#73839)

There is no such restriction for any OpenACC construct. This patch adds
a constexpr condition on the type of Directive.


  Commit: a0bd6361d4840f159e48c7359807ae279d006fb0
      https://github.com/llvm/llvm-project/commit/a0bd6361d4840f159e48c7359807ae279d006fb0
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    R lld/test/wasm/pie.ll
    A lld/test/wasm/pie.s

  Log Message:
  -----------
  [lld][WebAssembly] Convert bitcode test to assembly. NFC (#73716)


  Commit: 2e7f47d4a8a5206fbc565d3eb8c1595c2cb875f8
      https://github.com/llvm/llvm-project/commit/2e7f47d4a8a5206fbc565d3eb8c1595c2cb875f8
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    A openmp/libomptarget/include/Shared/APITypes.h
    A openmp/libomptarget/include/Shared/PluginAPI.h
    M openmp/libomptarget/include/omptarget.h
    R openmp/libomptarget/include/omptargetplugin.h
    M openmp/libomptarget/plugins-nextgen/common/src/PluginInterface.cpp
    M openmp/libomptarget/plugins-nextgen/common/src/Utils/ELF.cpp
    M openmp/libomptarget/plugins-nextgen/common/src/Utils/ELF.h
    M openmp/libomptarget/tools/kernelreplay/llvm-omp-kernel-replay.cpp

  Log Message:
  -----------
  [OpenMP][NFC] Move out plugin API and APITypes into standalone headers (#73868)


  Commit: e3021bdecde584c48bfd43ce4991ab7762751f09
      https://github.com/llvm/llvm-project/commit/e3021bdecde584c48bfd43ce4991ab7762751f09
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

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

  Log Message:
  -----------
  [RISCV] Add RISCVISD::SLLW to computeKnownBitsForTargetNode.

Found while investigating whether we still need to stop DAG combiner
from turning (i64 (sext (i32 X))) into zext when i32 is known non
negative.

No test case because I still need to find fixes for some other issues
before I can remove the code from DAGCombiner.


  Commit: 4bcbbe1f70d8c8169c8bda75d9d9d4fdf689b1df
      https://github.com/llvm/llvm-project/commit/4bcbbe1f70d8c8169c8bda75d9d9d4fdf689b1df
  Author: Maksim Panchenko <maks at fb.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M bolt/lib/Core/BinaryFunction.cpp

  Log Message:
  -----------
  [BOLT] Refactor fixBranches() (#73752)

Simplify code in fixBranches(). Mostly NFC, accept the x86-specific
check for code fragments now takes into account presence of more than
two fragments. Should only matter when we split code into multiple
fragments and can run fixBranches() more than once.

Also, don't replace a branch target with the same one, as such operation
may allocate memory for extra MCSymbolRefExpr.


  Commit: 453bd049c87c69e79bc7f76d692cc3f71391cb47
      https://github.com/llvm/llvm-project/commit/453bd049c87c69e79bc7f76d692cc3f71391cb47
  Author: frgossen <frgossen at google.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

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

  Log Message:
  -----------
  Fix bazel build (#73880)


  Commit: 2323b541e1ae16843b193c26ca3067440d09c413
      https://github.com/llvm/llvm-project/commit/2323b541e1ae16843b193c26ca3067440d09c413
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2023-11-30 (Thu, 30 Nov 2023)

  Changed paths:
    M clang/test/CXX/drs/dr0xx.cpp

  Log Message:
  -----------
  [clang][NFC] Bring back missing lines from DR52 test

A follow-up for bf2e05c7fbc739cd9b9086163303f846ee2806d2


  Commit: 8a4b90321f4aee78f70ef164031eb00da6d6b5c9
      https://github.com/llvm/llvm-project/commit/8a4b90321f4aee78f70ef164031eb00da6d6b5c9
  Author: Jacob Lambert <jacob.lambert at amd.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/CodeGen/CodeGenAction.cpp

  Log Message:
  -----------
  [CodeGen] Add conditional to module cloning in bitcode linking (#72478)

Now that we have a commandline option dictating a second link step,
(-relink-builtin-bitcode-postop), we can condition the module creation
when linking in bitcode modules. This aims to improve performance by
avoiding unnecessary linking


  Commit: 8b9a6af4504a9a160bb1da0abced9c538b3af26b
      https://github.com/llvm/llvm-project/commit/8b9a6af4504a9a160bb1da0abced9c538b3af26b
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M openmp/runtime/src/include/omp.h.var

  Log Message:
  -----------
  [OpenMP] Add an 'stddef.h' include to 'omp.h' (#73876)

Summary:
We use `size_t` internally in the omp.h header, which is normally
provided by `stdlib.h` which is already included. Howevever, some cases
when using `-ffreestanding` can result in this not being defined via
`stdlib.h`. This patch simply adds an explicit inclusion of this header,
which is provided by the `clang` resource directory, to resolve this in
all cases.


  Commit: c57ef2c69846a3f69c9d1db61055ea3b7b5100c3
      https://github.com/llvm/llvm-project/commit/c57ef2c69846a3f69c9d1db61055ea3b7b5100c3
  Author: Youngsuk Kim <joseph942010 at gmail.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
    M llvm/test/Transforms/OpenMP/custom_state_machines.ll
    M llvm/test/Transforms/OpenMP/gpu_state_machine_function_ptr_replacement.ll
    M llvm/test/Transforms/OpenMP/spmdization.ll
    M llvm/test/Transforms/OpenMP/spmdization_guarding.ll
    M llvm/test/Transforms/OpenMP/spmdization_indirect.ll
    M llvm/test/Transforms/OpenMP/spmdization_no_guarding_two_reaching_kernels.ll

  Log Message:
  -----------
  [llvm][OpenMPOpt] Remove no-op ptr-to-ptr bitcast (NFC) (#73869)

* Remove a call to CreatePointerBitCastOrAddrSpaceCast which merely adds
a no-op ptr-to-ptr bitcast.

* Most of the diff is from removing checks for no-op ptr-to-ptr bitcasts
in relevant LIT tests


  Commit: e88a2f123fa4843ae3782377668cf5741acc9121
      https://github.com/llvm/llvm-project/commit/e88a2f123fa4843ae3782377668cf5741acc9121
  Author: Heejin Ahn <aheejin at gmail.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M libunwind/src/libunwind.cpp

  Log Message:
  -----------
  [libunwind][WebAssembly] Omit unused parts of libunwind.cpp for Wasm (#73196)

Wasm doesn't use most of that file; Wasm does not allow access of system
registers and those functionalities are provided from the VM.


  Commit: 246b8eae20564e2c34690803efdbaa9cec7c90a1
      https://github.com/llvm/llvm-project/commit/246b8eae20564e2c34690803efdbaa9cec7c90a1
  Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

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

  Log Message:
  -----------
  [AMDGPU] Preserve existing alias info on LDS DMA intrinsics in MIR (#73870)

As of now it is NFCI.


  Commit: 3cf190974a37d18c7bd6f52b9588f4104e8e96f0
      https://github.com/llvm/llvm-project/commit/3cf190974a37d18c7bd6f52b9588f4104e8e96f0
  Author: Jacob Lambert <jacob.lambert at amd.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M clang/docs/ClangOffloadBundler.rst
    M clang/include/clang/Driver/OffloadBundler.h
    M clang/lib/Driver/OffloadBundler.cpp
    M clang/test/Driver/clang-offload-bundler-asserts-on.c
    M clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp

  Log Message:
  -----------
  [clang-offload-bundler] Add support for -check-input-archive (#73709)

In this patch, we add support for checking a heterogeneous archive. We
also significantly improve the clang-offload-bundler documentation.


  Commit: c43d0432ef35ee506bae642408f7140064514c8d
      https://github.com/llvm/llvm-project/commit/c43d0432ef35ee506bae642408f7140064514c8d
  Author: ShatianWang <38512325+ShatianWang at users.noreply.github.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M bolt/include/bolt/Core/BinaryContext.h
    M bolt/include/bolt/Core/BinaryFunction.h
    M bolt/include/bolt/Core/FunctionLayout.h
    M bolt/lib/Core/BinaryEmitter.cpp
    M bolt/lib/Passes/SplitFunctions.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp

  Log Message:
  -----------
  [BOLT] Create .text.warm for 3-way splitting (#73863)

This commit explicitly adds a warm code section, .text.warm, when
-split-functions -split-strategy=cdsplit is used. This replaces the
previous approach of using .text.cold.0 as warm and .text.cold.1 as cold
in 3-way function splitting. NFC.


  Commit: a4d5fd4d2ee9470e55345a9540f6b6fb6faf66e1
      https://github.com/llvm/llvm-project/commit/a4d5fd4d2ee9470e55345a9540f6b6fb6faf66e1
  Author: paperchalice <lgamma at 163.com>
  Date:   2023-11-30 (Thu, 30 Nov 2023)

  Changed paths:
    A llvm/include/llvm/CodeGen/SafeStack.h
    M llvm/lib/CodeGen/SafeStack.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/test/Transforms/SafeStack/AArch64/abi.ll
    M llvm/test/Transforms/SafeStack/AArch64/abi_ssp.ll
    M llvm/test/Transforms/SafeStack/AArch64/unreachable.ll
    M llvm/test/Transforms/SafeStack/ARM/abi.ll
    M llvm/test/Transforms/SafeStack/ARM/debug.ll
    M llvm/test/Transforms/SafeStack/ARM/setjmp.ll
    M llvm/test/Transforms/SafeStack/X86/abi.ll
    M llvm/test/Transforms/SafeStack/X86/abi_ssp.ll
    M llvm/test/Transforms/SafeStack/X86/addr-taken.ll
    M llvm/test/Transforms/SafeStack/X86/array-aligned.ll
    M llvm/test/Transforms/SafeStack/X86/array.ll
    M llvm/test/Transforms/SafeStack/X86/byval.ll
    M llvm/test/Transforms/SafeStack/X86/call.ll
    M llvm/test/Transforms/SafeStack/X86/cast.ll
    M llvm/test/Transforms/SafeStack/X86/coloring-ssp.ll
    M llvm/test/Transforms/SafeStack/X86/coloring.ll
    M llvm/test/Transforms/SafeStack/X86/coloring2.ll
    M llvm/test/Transforms/SafeStack/X86/constant-gep-call.ll
    M llvm/test/Transforms/SafeStack/X86/constant-gep.ll
    M llvm/test/Transforms/SafeStack/X86/constant-geps.ll
    M llvm/test/Transforms/SafeStack/X86/debug-loc-dynamic.ll
    M llvm/test/Transforms/SafeStack/X86/debug-loc.ll
    M llvm/test/Transforms/SafeStack/X86/debug-loc2.ll
    M llvm/test/Transforms/SafeStack/X86/dynamic-alloca.ll
    M llvm/test/Transforms/SafeStack/X86/escape-addr-pointer.ll
    M llvm/test/Transforms/SafeStack/X86/escape-bitcast-store.ll
    M llvm/test/Transforms/SafeStack/X86/escape-bitcast-store2.ll
    M llvm/test/Transforms/SafeStack/X86/escape-call.ll
    M llvm/test/Transforms/SafeStack/X86/escape-casted-pointer.ll
    M llvm/test/Transforms/SafeStack/X86/escape-gep-call.ll
    M llvm/test/Transforms/SafeStack/X86/escape-gep-invoke.ll
    M llvm/test/Transforms/SafeStack/X86/escape-gep-negative.ll
    M llvm/test/Transforms/SafeStack/X86/escape-gep-ptrtoint.ll
    M llvm/test/Transforms/SafeStack/X86/escape-gep-store.ll
    M llvm/test/Transforms/SafeStack/X86/escape-phi-call.ll
    M llvm/test/Transforms/SafeStack/X86/escape-select-call.ll
    M llvm/test/Transforms/SafeStack/X86/escape-vector.ll
    M llvm/test/Transforms/SafeStack/X86/invoke.ll
    M llvm/test/Transforms/SafeStack/X86/layout-frag.ll
    M llvm/test/Transforms/SafeStack/X86/layout-region-split.ll
    M llvm/test/Transforms/SafeStack/X86/memintrinsic-oob-read.ll
    M llvm/test/Transforms/SafeStack/X86/musttail.ll
    M llvm/test/Transforms/SafeStack/X86/no-attr.ll
    M llvm/test/Transforms/SafeStack/X86/no-crash-on-lifetime.ll
    M llvm/test/Transforms/SafeStack/X86/phi-cycle.ll
    M llvm/test/Transforms/SafeStack/X86/phi.ll
    M llvm/test/Transforms/SafeStack/X86/pr54784.ll
    M llvm/test/Transforms/SafeStack/X86/ret.ll
    M llvm/test/Transforms/SafeStack/X86/setjmp.ll
    M llvm/test/Transforms/SafeStack/X86/setjmp2.ll
    M llvm/test/Transforms/SafeStack/X86/sink-to-use.ll
    M llvm/test/Transforms/SafeStack/X86/ssp.ll
    M llvm/test/Transforms/SafeStack/X86/store.ll
    M llvm/test/Transforms/SafeStack/X86/struct.ll

  Log Message:
  -----------
  [CodeGen] Port SafeStack to new pass manager (#73747)

Just copy the `runOnFunction` method from `SafeStackLegacyPass` and
remove the workaround for computing analysis lazily, the analysis result
in new pass manager is computed lazily by default.


  Commit: 770dc47659d41a5ca7b7daf5b3134c900ca8c33d
      https://github.com/llvm/llvm-project/commit/770dc47659d41a5ca7b7daf5b3134c900ca8c33d
  Author: Nathan Sidwell <nathan at acm.org>
  Date:   2023-11-30 (Thu, 30 Nov 2023)

  Changed paths:
    M llvm/lib/IR/AutoUpgrade.cpp

  Log Message:
  -----------
  [llvm][NFC] Refactor autoupdater's 'c' intrinsics (#73333)

With these three intrinsics it's probable faster to check the number of
arguments first and then check the names. We can also handle ctlz and
cttz in the same block.


  Commit: 0233a1306b240850cbf9f4783a20c36f967d9697
      https://github.com/llvm/llvm-project/commit/0233a1306b240850cbf9f4783a20c36f967d9697
  Author: Shafik Yaghmour <shafik.yaghmour at intel.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Parse/ParseExprCXX.cpp
    M clang/test/Parser/cxx2a-concepts-requires-expr.cpp

  Log Message:
  -----------
  [Clang][Lex] Fix parsing of nested requirement to prevent flowing off the end of token stream (#73691)

Currently when parsing a nested requirement we attempt to balance parens
if we have a parameter list. This will fail in some cases of ill-formed
code and keep going until we fall off the token stream and crash. This
fixes the hand parsing by using SkipUntil which will properly flag if we
don't find the expected tokens.

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


  Commit: afd9582b36ba87b48730f95ab42b79d07c29235e
      https://github.com/llvm/llvm-project/commit/afd9582b36ba87b48730f95ab42b79d07c29235e
  Author: Kai Luo <lkail at cn.ibm.com>
  Date:   2023-11-30 (Thu, 30 Nov 2023)

  Changed paths:
    M llvm/test/CodeGen/PowerPC/build-vector-from-load-and-zeros.ll

  Log Message:
  -----------
  [PowerPC] Enhance test for PR #73609. NFC.


  Commit: bcb621f0a1ececfe42995c736ec4e5b9530e7c71
      https://github.com/llvm/llvm-project/commit/bcb621f0a1ececfe42995c736ec4e5b9530e7c71
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2023-11-30 (Thu, 30 Nov 2023)

  Changed paths:
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
    M lldb/unittests/Symbol/TestTypeSystemClang.cpp

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


  Commit: effaf41d203726e06c12b9dc5225904fb282db0d
      https://github.com/llvm/llvm-project/commit/effaf41d203726e06c12b9dc5225904fb282db0d
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2023-11-30 (Thu, 30 Nov 2023)

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

  Log Message:
  -----------
  [lldb][DWARFASTParserClang][NFCI] Make ParsedDWARFTypeAttributes parameter const (#73833)


  Commit: 4f0bea4d61b4c49f91b6502d0be7869ec2c7c1ce
      https://github.com/llvm/llvm-project/commit/4f0bea4d61b4c49f91b6502d0be7869ec2c7c1ce
  Author: madanial0 <118996571+madanial0 at users.noreply.github.com>
  Date:   2023-11-30 (Thu, 30 Nov 2023)

  Changed paths:
    M flang/test/Driver/underscoring.f90

  Log Message:
  -----------
  [flang] Fix Funderscoring TC failure on AIX [NFC] (#73543)

Change fundersoring test with a more accurate regex to ensure the lack
of a trailing underscore, current TC is failing on AIX

Co-authored-by: Mark Danial <mark.danial at ibm.com>


  Commit: f7be5f640ca11c0c3a0a4d666df3ceef52efd040
      https://github.com/llvm/llvm-project/commit/f7be5f640ca11c0c3a0a4d666df3ceef52efd040
  Author: Lei Zhang <antiagainst at gmail.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

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

  Log Message:
  -----------
  [mlir] Fix BUILD.bazel for CAPITarget


  Commit: 77b9fb23417405048b50765b1a4e2b2dac80f29b
      https://github.com/llvm/llvm-project/commit/77b9fb23417405048b50765b1a4e2b2dac80f29b
  Author: Lei Zhang <antiagainst at gmail.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

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

  Log Message:
  -----------
  [mlir] Add missing BUILD dependency for GPUToGPURuntimeTransforms


  Commit: a6c02edd6eac476523b5c73f29619a7a9e054872
      https://github.com/llvm/llvm-project/commit/a6c02edd6eac476523b5c73f29619a7a9e054872
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M flang/lib/Semantics/check-directive-structure.h
    M flang/test/Semantics/OpenACC/acc-data.f90
    M flang/test/Semantics/OpenACC/acc-kernels.f90
    M flang/test/Semantics/OpenACC/acc-parallel.f90
    M flang/test/Semantics/OpenACC/acc-serial.f90

  Log Message:
  -----------
  [flang][openacc] Keep CYCLE check for compute and data construct (#73897)

Unlike mentioned in #73839, some OpenACC construct still need the cycle
branching check to be performed. This patch adds a list of construct
where the check is not needed (loop and combined construct) and add
tests to check where it is still needed.


  Commit: ce570d1a2298b4ecbdd4f25f1aee0f70ef40dac4
      https://github.com/llvm/llvm-project/commit/ce570d1a2298b4ecbdd4f25f1aee0f70ef40dac4
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-11-29 (Wed, 29 Nov 2023)

  Changed paths:
    M llvm/test/CodeGen/RISCV/imm.ll

  Log Message:
  -----------
  [RISCV] Remove old FIXMEs from test. NFC


  Commit: 1296d20adfb0978afe38d67efab9818079d870ca
      https://github.com/llvm/llvm-project/commit/1296d20adfb0978afe38d67efab9818079d870ca
  Author: Lu Weining <luweining at loongson.cn>
  Date:   2023-11-30 (Thu, 30 Nov 2023)

  Changed paths:
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/mcmodel.c

  Log Message:
  -----------
  [Driver] Support -mcmodel= for LoongArch (#72514)

7e42545 rejects unsupported mcmodel options, but normal/medium/extreme
should be supported models for LoongArch according to [gcc
document](https://gcc.gnu.org/onlinedocs/gcc/LoongArch-Options.html).

The mappings among `gcc`, `clang driver`, `clang cc1` and `LLVM (i.e.
llc --code-model=)` are:

|     gcc      |  clang driver |  clang cc1   |    LLVM    |
| -------------  | ------------------ | ----------------- | -------------- |
| normal    |      normal     |   small        |    small    |
| medium  |     medium     |   medium    |    medium |
| extreme  |     extreme     |  large         |     large     |

Link: https://reviews.llvm.org/D150522


  Commit: d8817a7ac6bcd37e7081394c2ed57c3d404080ea
      https://github.com/llvm/llvm-project/commit/d8817a7ac6bcd37e7081394c2ed57c3d404080ea
  Author: Justin Bogner <mail at justinbogner.com>
  Date:   2023-11-30 (Thu, 30 Nov 2023)

  Changed paths:
    M .github/workflows/libcxx-build-and-test.yaml
    M bolt/include/bolt/Core/BinaryContext.h
    M bolt/include/bolt/Core/BinaryFunction.h
    M bolt/include/bolt/Core/FunctionLayout.h
    M bolt/lib/Core/BinaryEmitter.cpp
    M bolt/lib/Core/BinaryFunction.cpp
    M bolt/lib/Passes/SplitFunctions.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/suspicious-enum-usage-strict.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone/suspicious-enum-usage.cpp
    M clang/docs/ClangOffloadBundler.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Driver/OffloadBundler.h
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
    M clang/lib/CodeGen/CodeGenAction.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/CodeGenModule.h
    M clang/lib/Driver/OffloadBundler.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Parse/ParseExprCXX.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/test/CXX/drs/dr0xx.cpp
    A clang/test/CodeGen/annotations-decl-use-decl.c
    A clang/test/CodeGen/annotations-decl-use-define.c
    A clang/test/CodeGen/annotations-declaration.c
    M clang/test/CodeGen/annotations-global.c
    A clang/test/CodeGenCXX/attr-annotate-constructor.cpp
    A clang/test/CodeGenCXX/attr-annotate-destructor.cpp
    M clang/test/CodeGenCXX/attr-annotate.cpp
    M clang/test/Driver/clang-offload-bundler-asserts-on.c
    M clang/test/Driver/mcmodel.c
    M clang/test/Parser/cxx2a-concepts-requires-expr.cpp
    M clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
    M clang/www/cxx_dr_status.html
    M flang/lib/Semantics/check-directive-structure.h
    M flang/test/Driver/underscoring.f90
    M flang/test/Semantics/OpenACC/acc-data.f90
    M flang/test/Semantics/OpenACC/acc-kernels-loop.f90
    M flang/test/Semantics/OpenACC/acc-kernels.f90
    M flang/test/Semantics/OpenACC/acc-loop.f90
    M flang/test/Semantics/OpenACC/acc-parallel-loop-validity.f90
    M flang/test/Semantics/OpenACC/acc-parallel.f90
    M flang/test/Semantics/OpenACC/acc-serial-loop.f90
    M flang/test/Semantics/OpenACC/acc-serial.f90
    M libcxx/cmake/caches/Armv7M-picolibc.cmake
    M libcxx/docs/index.rst
    M libcxx/include/codecvt
    M libcxx/test/configs/armv7m-picolibc-libc++.cfg.in
    M libcxx/test/libcxx/input.output/file.streams/fstreams/fstream.cons/wchar_pointer.pass.cpp
    M libcxx/test/libcxx/input.output/file.streams/fstreams/fstream.members/open_wchar_pointer.pass.cpp
    M libcxx/test/libcxx/input.output/file.streams/fstreams/ofstream.cons/wchar_pointer.pass.cpp
    M libcxx/test/libcxx/input.output/file.streams/fstreams/ofstream.members/open_wchar_pointer.pass.cpp
    M libcxx/test/libcxx/selftest/dsl/dsl.sh.py
    M libcxx/test/libcxx/selftest/pass.cpp/run-error.pass.cpp
    M libcxx/test/libcxx/selftest/pass.mm/run-error.pass.mm
    M libcxx/test/libcxx/selftest/stdin-is-piped.sh.cpp
    M libcxx/test/std/algorithms/alg.sorting/alg.sort/sort/sort.pass.cpp
    M libcxx/test/std/containers/sequences/deque/deque.modifiers/insert_iter_iter.pass.cpp
    M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/generic_category.pass.cpp
    M libcxx/test/std/diagnostics/syserr/syserr.errcat/syserr.errcat.objects/system_category.pass.cpp
    M libcxx/test/std/input.output/iostream.objects/narrow.stream.objects/cerr.sh.cpp
    M libcxx/test/std/input.output/iostream.objects/narrow.stream.objects/cin.sh.cpp
    M libcxx/test/std/input.output/iostream.objects/narrow.stream.objects/clog.sh.cpp
    M libcxx/test/std/input.output/iostream.objects/narrow.stream.objects/cout.sh.cpp
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array14.pass.cpp
    M libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete14.pass.cpp
    M libcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.statics/classic_table.pass.cpp
    M libcxx/test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_long_double.pass.cpp
    M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bin/eval.PR44847.pass.cpp
    M libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.negbin/eval.pass.cpp
    M libcxx/test/std/time/time.clock/time.clock.file/now.pass.cpp
    M libcxx/utils/ci/buildkite-pipeline.yml
    M libcxxabi/test/configs/armv7m-picolibc-libc++abi.cfg.in
    M libunwind/src/libunwind.cpp
    M libunwind/test/configs/armv7m-picolibc-libunwind.cfg.in
    M libunwind/test/libunwind_02.pass.cpp
    R lld/test/wasm/pie.ll
    A lld/test/wasm/pie.s
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
    M lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.h
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp
    M lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.h
    M lldb/unittests/Symbol/TestTypeSystemClang.cpp
    A llvm/include/llvm/CodeGen/SafeStack.h
    M llvm/include/llvm/Transforms/IPO/ProfiledCallGraph.h
    M llvm/lib/CodeGen/SafeStack.cpp
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.h
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp
    M llvm/test/CodeGen/PowerPC/build-vector-from-load-and-zeros.ll
    M llvm/test/CodeGen/RISCV/imm.ll
    M llvm/test/Transforms/OpenMP/custom_state_machines.ll
    M llvm/test/Transforms/OpenMP/gpu_state_machine_function_ptr_replacement.ll
    M llvm/test/Transforms/OpenMP/spmdization.ll
    M llvm/test/Transforms/OpenMP/spmdization_guarding.ll
    M llvm/test/Transforms/OpenMP/spmdization_indirect.ll
    M llvm/test/Transforms/OpenMP/spmdization_no_guarding_two_reaching_kernels.ll
    M llvm/test/Transforms/SafeStack/AArch64/abi.ll
    M llvm/test/Transforms/SafeStack/AArch64/abi_ssp.ll
    M llvm/test/Transforms/SafeStack/AArch64/unreachable.ll
    M llvm/test/Transforms/SafeStack/ARM/abi.ll
    M llvm/test/Transforms/SafeStack/ARM/debug.ll
    M llvm/test/Transforms/SafeStack/ARM/setjmp.ll
    M llvm/test/Transforms/SafeStack/X86/abi.ll
    M llvm/test/Transforms/SafeStack/X86/abi_ssp.ll
    M llvm/test/Transforms/SafeStack/X86/addr-taken.ll
    M llvm/test/Transforms/SafeStack/X86/array-aligned.ll
    M llvm/test/Transforms/SafeStack/X86/array.ll
    M llvm/test/Transforms/SafeStack/X86/byval.ll
    M llvm/test/Transforms/SafeStack/X86/call.ll
    M llvm/test/Transforms/SafeStack/X86/cast.ll
    M llvm/test/Transforms/SafeStack/X86/coloring-ssp.ll
    M llvm/test/Transforms/SafeStack/X86/coloring.ll
    M llvm/test/Transforms/SafeStack/X86/coloring2.ll
    M llvm/test/Transforms/SafeStack/X86/constant-gep-call.ll
    M llvm/test/Transforms/SafeStack/X86/constant-gep.ll
    M llvm/test/Transforms/SafeStack/X86/constant-geps.ll
    M llvm/test/Transforms/SafeStack/X86/debug-loc-dynamic.ll
    M llvm/test/Transforms/SafeStack/X86/debug-loc.ll
    M llvm/test/Transforms/SafeStack/X86/debug-loc2.ll
    M llvm/test/Transforms/SafeStack/X86/dynamic-alloca.ll
    M llvm/test/Transforms/SafeStack/X86/escape-addr-pointer.ll
    M llvm/test/Transforms/SafeStack/X86/escape-bitcast-store.ll
    M llvm/test/Transforms/SafeStack/X86/escape-bitcast-store2.ll
    M llvm/test/Transforms/SafeStack/X86/escape-call.ll
    M llvm/test/Transforms/SafeStack/X86/escape-casted-pointer.ll
    M llvm/test/Transforms/SafeStack/X86/escape-gep-call.ll
    M llvm/test/Transforms/SafeStack/X86/escape-gep-invoke.ll
    M llvm/test/Transforms/SafeStack/X86/escape-gep-negative.ll
    M llvm/test/Transforms/SafeStack/X86/escape-gep-ptrtoint.ll
    M llvm/test/Transforms/SafeStack/X86/escape-gep-store.ll
    M llvm/test/Transforms/SafeStack/X86/escape-phi-call.ll
    M llvm/test/Transforms/SafeStack/X86/escape-select-call.ll
    M llvm/test/Transforms/SafeStack/X86/escape-vector.ll
    M llvm/test/Transforms/SafeStack/X86/invoke.ll
    M llvm/test/Transforms/SafeStack/X86/layout-frag.ll
    M llvm/test/Transforms/SafeStack/X86/layout-region-split.ll
    M llvm/test/Transforms/SafeStack/X86/memintrinsic-oob-read.ll
    M llvm/test/Transforms/SafeStack/X86/musttail.ll
    M llvm/test/Transforms/SafeStack/X86/no-attr.ll
    M llvm/test/Transforms/SafeStack/X86/no-crash-on-lifetime.ll
    M llvm/test/Transforms/SafeStack/X86/phi-cycle.ll
    M llvm/test/Transforms/SafeStack/X86/phi.ll
    M llvm/test/Transforms/SafeStack/X86/pr54784.ll
    M llvm/test/Transforms/SafeStack/X86/ret.ll
    M llvm/test/Transforms/SafeStack/X86/setjmp.ll
    M llvm/test/Transforms/SafeStack/X86/setjmp2.ll
    M llvm/test/Transforms/SafeStack/X86/sink-to-use.ll
    M llvm/test/Transforms/SafeStack/X86/ssp.ll
    M llvm/test/Transforms/SafeStack/X86/store.ll
    M llvm/test/Transforms/SafeStack/X86/struct.ll
    A openmp/libomptarget/include/Shared/APITypes.h
    A openmp/libomptarget/include/Shared/PluginAPI.h
    M openmp/libomptarget/include/omptarget.h
    R openmp/libomptarget/include/omptargetplugin.h
    M openmp/libomptarget/plugins-nextgen/common/src/PluginInterface.cpp
    M openmp/libomptarget/plugins-nextgen/common/src/Utils/ELF.cpp
    M openmp/libomptarget/plugins-nextgen/common/src/Utils/ELF.h
    M openmp/libomptarget/tools/kernelreplay/llvm-omp-kernel-replay.cpp
    M openmp/runtime/src/include/omp.h.var
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

  Log Message:
  -----------
  Fix null dereference introduced by refactor

Created using spr 1.3.5


Compare: https://github.com/llvm/llvm-project/compare/cc33f2e1bf31...d8817a7ac6bc


More information about the All-commits mailing list