[all-commits] [llvm/llvm-project] fc03fa: [AArch64][GlobalISel] Lower vector G_CTTZ.

Martin Storsjö via All-commits all-commits at lists.llvm.org
Fri Jul 29 15:25:19 PDT 2022

  Branch: refs/heads/release/15.x
  Home:   https://github.com/llvm/llvm-project
  Commit: fc03fad3dde95d9c0b073de28d43770bf3b68969
  Author: Amara Emerson <amara at apple.com>
  Date:   2022-07-29 (Fri, 29 Jul 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-cttz.mir

  Log Message:
  [AArch64][GlobalISel] Lower vector G_CTTZ.

Fixes issue 56398

(cherry picked from commit 9cc1dd209d20eda51710f302800899730b419381)

  Commit: e077f4a6bfde096a1e2a16e7e17d7ac39718b68a
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-07-29 (Fri, 29 Jul 2022)

  Changed paths:
    M lld/test/ELF/compressed-debug-level.test

  Log Message:
  [ELF][test] Fix compressed-debug-level.test with zlib-ng

The test is brittle but it seems unnecessary to remove size check now.

Close #56222

(cherry picked from commit 876af563e73a3c1d6b49e13b4c1791a4208c8546)

  Commit: 57bdd9892d0eba5bdd25fc44799235be7b9f5153
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-07-29 (Fri, 29 Jul 2022)

  Changed paths:
    M llvm/lib/Target/ARM/ARM.td
    M llvm/lib/Target/ARM/ARMISelLowering.cpp
    A llvm/test/CodeGen/ARM/thumbv6m-atomic32.ll

  Log Message:
  [ARM] Add target feature to force 32-bit atomics

This adds a +atomic-32 target feature, which instructs LLVM to assume
that lock-free 32-bit atomics are available for this target, even
if they usually wouldn't be.

If only atomic loads/stores are used, then this won't emit libcalls.
If atomic CAS is used, then the user is responsible for providing
any necessary __sync implementations (e.g. by masking interrupts
for single-core privileged use cases).

See https://reviews.llvm.org/D120026#3674333 for context on this
change. The tl;dr is that the thumbv6m target in Rust has
historically made atomic load/store only available, which is
incompatible with the change from D120026, which switched these to
use libatomic.

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

(cherry picked from commit b1b1086973d5be26f127540852ace59c5119e90a)

  Commit: e8c390dfdb6a878b04e9bc4f45f05f6d678cccfc
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-07-29 (Fri, 29 Jul 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/misc/CMakeLists.txt
    M clang-tools-extra/clang-tidy/misc/ConfusableTable/CMakeLists.txt
    M llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/misc/ConfusableTable/BUILD.gn

  Log Message:
  [clang-tidy] Rename the make-confusable-table executable

Rename it to clang-tidy-confusable-chars-gen, to make its role
clearer in a wider context.

In cross builds, the caller might want to provide this tool
externally (to avoid needing to rebuild it in the cross build).
In such a case, having the tool properly namespaced makes its role

This matches how the clang-pseudo-gen tool was renamed in
a43fef05d4fae32f02365c7b8fef2aa631d23628 / D126725.

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

(cherry picked from commit 18b4a8bcf3553174f770f09528c9bd01c8cebfe7)

  Commit: 5e4e8822c4c4fe568607b4168ed2cf4cf559b4e8
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-07-29 (Fri, 29 Jul 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/misc/CMakeLists.txt

  Log Message:
  [clang-tidy] Add CLANG_TIDY_CONFUSABLE_CHARS_GEN cmake cache variable to avoid building when cross compiling

This is similar to the LLVM_TABLEGEN, CLANG_TABLEGEN and
CLANG_PSEUDO_GEN cmake cache variables.

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

(cherry picked from commit dc95d0c525636aed53a3b38258efa2dff4c83edf)

Compare: https://github.com/llvm/llvm-project/compare/c74059c5da05...5e4e8822c4c4

More information about the All-commits mailing list