[all-commits] [llvm/llvm-project] 8d7a17: [AArch64] Fix the upper limit for folded address o...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Wed Apr 6 12:55:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d7a17b7c8b7151b8453903db96fc7f45d9b1bae
      https://github.com/llvm/llvm-project/commit/8d7a17b7c8b7151b8453903db96fc7f45d9b1bae
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-04-06 (Wed, 06 Apr 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
    M llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp
    M llvm/test/CodeGen/AArch64/fold-global-offsets.ll

  Log Message:
  -----------
  [AArch64] Fix the upper limit for folded address offsets for COFF

In COFF, the immediates in IMAGE_REL_ARM64_PAGEBASE_REL21 relocations
are limited to 21 bit signed, i.e. the offset has to be less than
(1 << 20). The previous limit did intend to cover for this case, but
had missed that the 21 bit field was signed.

This fixes issue https://github.com/llvm/llvm-project/issues/54753.

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


  Commit: 9edee89b91f58e2afca945bc4ad2af8da5f27379
      https://github.com/llvm/llvm-project/commit/9edee89b91f58e2afca945bc4ad2af8da5f27379
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-04-06 (Wed, 06 Apr 2022)

  Changed paths:
    M llvm/lib/Support/BLAKE3/CMakeLists.txt

  Log Message:
  -----------
  [Support] [BLAKE3] Fix building for Cygwin

Use the windows-gnu assembly files on x86_64 Cygwin too.

This fixes https://github.com/llvm/llvm-project/issues/54685.

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


  Commit: 7594e236795f695c7cf9336ee24ef76c275d8703
      https://github.com/llvm/llvm-project/commit/7594e236795f695c7cf9336ee24ef76c275d8703
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-04-06 (Wed, 06 Apr 2022)

  Changed paths:
    M libcxx/test/configs/llvm-libc++-mingw.cfg.in
    M libcxx/test/configs/llvm-libc++-shared-clangcl.cfg.in
    M libcxx/test/configs/llvm-libc++-static-clangcl.cfg.in
    M libcxx/utils/libcxx/test/config.py

  Log Message:
  -----------
  [libcxx] [test] Stop defining LIBCXX-WINDOWS-FIXME

There are no such markings left - all of them have been fixed or
analyzed.

This closes llvm.org/PR32730 (github issue #32077).

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


Compare: https://github.com/llvm/llvm-project/compare/6e38824221db...7594e236795f


More information about the All-commits mailing list