[all-commits] [llvm/llvm-project] 954b69: [flang] Allow derf as alternate spelling for erf (...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Jun 24 23:11:20 PDT 2024


  Branch: refs/heads/users/MaskRay/spr/mcclangllvm-readobjyaml2obj-support-crel-relocation-format
  Home:   https://github.com/llvm/llvm-project
  Commit: 954b692bd74b4e7571bb4a8045f4b488d504a6ba
      https://github.com/llvm/llvm-project/commit/954b692bd74b4e7571bb4a8045f4b488d504a6ba
  Author: David Truby <david.truby at arm.com>
  Date:   2024-06-25 (Tue, 25 Jun 2024)

  Changed paths:
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/unittests/Evaluate/intrinsics.cpp

  Log Message:
  -----------
  [flang] Allow derf as alternate spelling for erf (#95784)

This patch adds derf as an alternate spelling for the erf intrinsic.
This spelling is supported by multiple other compilers and used by WRF.


  Commit: 8ad32ce7382bb8d630a3d4d93d1e1f00f8e2bd0e
      https://github.com/llvm/llvm-project/commit/8ad32ce7382bb8d630a3d4d93d1e1f00f8e2bd0e
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-06-25 (Tue, 25 Jun 2024)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Basic/Targets/X86.cpp
    M clang/lib/Basic/Targets/X86.h
    M clang/lib/Driver/ToolChains/Arch/X86.cpp
    M clang/test/Driver/x86-target-features.c
    M clang/test/Preprocessor/x86_target_features.c
    M llvm/include/llvm/TargetParser/X86TargetParser.def
    M llvm/lib/Target/X86/X86.td
    M llvm/lib/TargetParser/X86TargetParser.cpp

  Log Message:
  -----------
  [X86] Add sub-feature zu (zero upper) for APX

This is a follow-up patch for #74199


  Commit: 7ea63b9db4198688873036f3b0b81f9124076f7a
      https://github.com/llvm/llvm-project/commit/7ea63b9db4198688873036f3b0b81f9124076f7a
  Author: Weining Lu <luweining at loongson.cn>
  Date:   2024-06-25 (Tue, 25 Jun 2024)

  Changed paths:
    M llvm/test/CodeGen/LoongArch/psabi-restricted-scheduling.ll

  Log Message:
  -----------
  [LoongArch][test] Remove the FIXME in psabi-restricted-scheduling.ll which has been addressed by #76555


  Commit: b0e9b00ce7d623175c5e60e82afe24e7f8a200be
      https://github.com/llvm/llvm-project/commit/b0e9b00ce7d623175c5e60e82afe24e7f8a200be
  Author: weiwei chen <weiwei.chen at modular.com>
  Date:   2024-06-24 (Mon, 24 Jun 2024)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
    A llvm/test/CodeGen/NVPTX/mma-no-sink-after-laneid-check.ll

  Log Message:
  -----------
  [NVPTX] Make nvptx mma instructions convergent. (#96521)

We are running into NVPTX backend generating wrong code for an input:
```
%0 = llvm.nvvm.mma.m?n?k?.row.col.??? (...)
if laneid == 0:
  ret
else:
  store %0
```

The backend reorder the instruction (as an effect of `MachineSink` pass)
to
```
if laneid == 0:
  ret
else:
  %0 = llvm.nvvm.mma.m?n?k?.row.col.??? (...)
  store %0
```

This is incorrect because `mma` is a warp instruction which needs all
threads to sync before performing the operation instead of being guarded
by a specific thread id. It should be similar as the shuffle instruction
`shfl` in terms of warp level sync, and `shfl` is marked as
`isConvergent = true`.

Apply `isConvergent = true` to `mma` instructions.


  Commit: 4e0a0eae58f7a6998866719f7eb970096a2a52e9
      https://github.com/llvm/llvm-project/commit/4e0a0eae58f7a6998866719f7eb970096a2a52e9
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-06-25 (Tue, 25 Jun 2024)

  Changed paths:
    M llvm/include/llvm/TargetParser/X86TargetParser.def

  Log Message:
  -----------
  [X86] Fix test Clang::CodeGen/builtin-cpu-supports.c failure

The test failed after
https://github.com/llvm/llvm-project/commit/8ad32ce7382bb8d630a3d4d93d1e1f00f8e2bd0e

In https://github.com/gcc-mirror/gcc/blob/master/gcc/common/config/i386/i386-cpuinfo.h

FEATURE_AVX512CD = 23 and FEATURE_AVX512VBMI = 26, we should only add 2
features between them. New features should be inserted at the end.


  Commit: 9267f8f19a2e502ef5a216c0d52b352b3699d399
      https://github.com/llvm/llvm-project/commit/9267f8f19a2e502ef5a216c0d52b352b3699d399
  Author: sstwcw <su3e8a96kzlver at posteo.net>
  Date:   2024-06-25 (Tue, 25 Jun 2024)

  Changed paths:
    M clang/docs/ClangFormatStyleOptions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Format/Format.h
    M clang/lib/Format/Format.cpp
    M clang/lib/Format/UnwrappedLineFormatter.cpp
    M clang/unittests/Format/ConfigParseTest.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Add option to remove leading blank lines (#91221)

The options regarding which blank lines are kept are also aggregated.
The new option is `KeepEmptyLines`.


  Commit: 437366b668cebefbf3cb7bd354fa4bfb5d90ccbb
      https://github.com/llvm/llvm-project/commit/437366b668cebefbf3cb7bd354fa4bfb5d90ccbb
  Author: Alexander Smarus <bender at readdle.com>
  Date:   2024-06-24 (Mon, 24 Jun 2024)

  Changed paths:
    M clang/lib/CodeGen/CMakeLists.txt
    M clang/lib/Tooling/Inclusions/Stdlib/CMakeLists.txt

  Log Message:
  -----------
  Adjust MSVC version range for ARM64 build performance regression (#90731)

This is follow up for #65215

Mentioned regression was fixed in MSVC 19.39 (VS 17.9.0), so it makes
sense to not apply fix for that (and newer) compiler versions.

Same as original change, this patch is narrowly scoped to not affect any
other compiler.


  Commit: c393121778d877661f6b50cc3b3c582ac1654437
      https://github.com/llvm/llvm-project/commit/c393121778d877661f6b50cc3b3c582ac1654437
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2024-06-24 (Mon, 24 Jun 2024)

  Changed paths:
    M libcxx/test/CMakeLists.txt
    M libcxx/test/configs/llvm-libc++-shared-clangcl.cfg.in
    M libcxx/test/configs/llvm-libc++-shared-no-vcruntime-clangcl.cfg.in
    M libcxx/test/configs/llvm-libc++-static-clangcl.cfg.in

  Log Message:
  -----------
  [libc++] Remove Windows-specific configuration from libcxx/test/CMakeLists.txt (#96330)

This is essentially a revert of 9853e9b which tried removing duplication
in the Windows config files by moving it to the CMake. However, we want
to decouple the CMake and the test suite as much as possible, so
encoding additional (non-official) Lit parameters in the CMake only as a
code reuse mechanism is not an approach we want to take.


  Commit: c633fd3fc1feb094411ef1036e96d0043ba6c74f
      https://github.com/llvm/llvm-project/commit/c633fd3fc1feb094411ef1036e96d0043ba6c74f
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-24 (Mon, 24 Jun 2024)

  Changed paths:
    M clang/docs/ClangFormatStyleOptions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Format/Format.h
    M clang/lib/Basic/Targets/X86.cpp
    M clang/lib/Basic/Targets/X86.h
    M clang/lib/CodeGen/CMakeLists.txt
    M clang/lib/Driver/ToolChains/Arch/X86.cpp
    M clang/lib/Format/Format.cpp
    M clang/lib/Format/UnwrappedLineFormatter.cpp
    M clang/lib/Tooling/Inclusions/Stdlib/CMakeLists.txt
    M clang/test/Driver/x86-target-features.c
    M clang/test/Preprocessor/x86_target_features.c
    M clang/unittests/Format/ConfigParseTest.cpp
    M clang/unittests/Format/FormatTest.cpp
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/unittests/Evaluate/intrinsics.cpp
    M libcxx/test/CMakeLists.txt
    M libcxx/test/configs/llvm-libc++-shared-clangcl.cfg.in
    M libcxx/test/configs/llvm-libc++-shared-no-vcruntime-clangcl.cfg.in
    M libcxx/test/configs/llvm-libc++-static-clangcl.cfg.in
    M lld/ELF/InputSection.cpp
    M lld/ELF/Relocations.cpp
    M llvm/include/llvm/Object/ELFTypes.h
    M llvm/include/llvm/TargetParser/X86TargetParser.def
    M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
    M llvm/lib/Target/X86/X86.td
    M llvm/lib/TargetParser/X86TargetParser.cpp
    M llvm/test/CodeGen/LoongArch/psabi-restricted-scheduling.ll
    A llvm/test/CodeGen/NVPTX/mma-no-sink-after-laneid-check.ll
    M llvm/test/tools/llvm-readobj/ELF/crel.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp

  Log Message:
  -----------
  improve llvm-readelf error test

Created using spr 1.3.5-bogner


Compare: https://github.com/llvm/llvm-project/compare/bacb1812ac30...c633fd3fc1fe

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