[all-commits] [llvm/llvm-project] 5d3b05: [NFC][AMDGPU] Add an IR test for `v_sqrt_bf16` (#1...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Mon Jul 21 08:57:16 PDT 2025


  Branch: refs/heads/users/kparzysz/m02-map60-repr
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d3b0578d8d51947a6878d65249174de86105073
      https://github.com/llvm/llvm-project/commit/5d3b0578d8d51947a6878d65249174de86105073
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/bf16-math.ll

  Log Message:
  -----------
  [NFC][AMDGPU] Add an IR test for `v_sqrt_bf16` (#149629)

This was left during the upstream.

Co-authored-by: Mekhanoshin, Stanislav <Stanislav.Mekhanoshin at amd.com>


  Commit: 1a0dd5a67eee833a56566b8cdad8c439553708a3
      https://github.com/llvm/llvm-project/commit/1a0dd5a67eee833a56566b8cdad8c439553708a3
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M libcxx/utils/synchronize_csv_status_files.py

  Log Message:
  -----------
  [libc++] Avoid duplicate LWGXYZ prefixes in status tables (#148874)

When synchronizing the status tables with Github issues, we use the
title of the Github issue as the name of the paper in the status table.
However, the Github issue titles are prefixed with PXYZ or LWGXYZ (which
is useful to quickly find papers), and that is redundant in the context
of status tables. This patch ensures that we don't add that redundant
PXYZ or LWGXYZ prefix.

As a drive-by, also specify the encoding for opening files explicitly,
which fixes issues on Windows.


  Commit: 09580f73c2214f4c8c43b048e488ae530700a85c
      https://github.com/llvm/llvm-project/commit/09580f73c2214f4c8c43b048e488ae530700a85c
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M llvm/docs/CIBestPractices.rst

  Log Message:
  -----------
  [CI] Update Best Practices on Job Events for Stacked PRs (#149734)

I have seen a couple recent issues around workflows getting triggered on
events that are not correctly configured to handle stacked PRs. This
potentially resulted in workflows getting run twice (if they were also
triggering on push events) or to not run at all (if there were branch
restrictions for the pull_request event). Add some documentation to the
best practices page so we can hopefully avoid these issues in the future
and have some documentation to refer to during code review.


  Commit: 3371b9111f26dc758f68c6691e24200cf86a8b74
      https://github.com/llvm/llvm-project/commit/3371b9111f26dc758f68c6691e24200cf86a8b74
  Author: Sirui Mu <msrlancern at gmail.com>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M clang/include/clang/CIR/Dialect/IR/CIROps.td
    M clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.h
    M clang/test/CIR/CodeGen/builtin_call.cpp

  Log Message:
  -----------
  [CIR] Add assume_separate_storage operation (#149696)

This patch adds the `cir.assume_separate_storage` operation for the
`__builtin_assume_separate_storage` builtin function.


  Commit: 8bb97d2d1e7a3488fdd0052674d654663d87256c
      https://github.com/llvm/llvm-project/commit/8bb97d2d1e7a3488fdd0052674d654663d87256c
  Author: SivanShani-Arm <sivan.shani at arm.com>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M lld/docs/ld.lld.1

  Log Message:
  -----------
  [LLD][Docs] Document -z gcs= option in the man page (#146522)

Add documentation for the -z gcs= option to the LLD man page. This flag
controls how the GCS bit is set in the output:

- implicit (default): inferred from input objects
- never: GCS bit is never set
- always: GCS bit is always set

Clarifies behavior for users and aligns the man page with existing
functionality.


  Commit: 1229323b8be4162e2dacb3320fc3d51ae895e7df
      https://github.com/llvm/llvm-project/commit/1229323b8be4162e2dacb3320fc3d51ae895e7df
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M llvm/docs/GettingStarted.rst
    M llvm/docs/LangRef.rst
    M llvm/docs/ProgrammersManual.rst

  Log Message:
  -----------
  [llvm] Improve grammar and punctuation of several documents (#149630)


  Commit: afdd30d712e54d49882b4cd3cfc028b476cea89d
      https://github.com/llvm/llvm-project/commit/afdd30d712e54d49882b4cd3cfc028b476cea89d
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M clang/docs/UsersManual.rst

  Log Message:
  -----------
  [clang] Proofread UsersManual.rst (NFC) (#149763)


  Commit: 19e299120936a8480b6da35dd8c98a1dd5483a5a
      https://github.com/llvm/llvm-project/commit/19e299120936a8480b6da35dd8c98a1dd5483a5a
  Author: Kazu Hirata <kazu at google.com>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M lldb/docs/use/formatting.rst

  Log Message:
  -----------
  [lldb] Proofread formatting.rst (#149768)


  Commit: ce345cc793cef5ea54a5d29018571f53cd2164e3
      https://github.com/llvm/llvm-project/commit/ce345cc793cef5ea54a5d29018571f53cd2164e3
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.f16.fp8.ll

  Log Message:
  -----------
  [NFC][AMDGPU] Add an IR test for `v_cvt_f16_bf8` (#149627)

This was left during the upstream.

Co-authored-by: Mekhanoshin, Stanislav <Stanislav.Mekhanoshin at amd.com>


  Commit: ba819031960ff9efb1862f2689c94a2fb496c2ba
      https://github.com/llvm/llvm-project/commit/ba819031960ff9efb1862f2689c94a2fb496c2ba
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    A llvm/test/CodeGen/AMDGPU/fdiv.bf16.ll

  Log Message:
  -----------
  [gfx1250][SDAG] Lower unsafe bf16 divisions (#149628)

Co-authored-by: Kosarev, Ivan <Ivan.Kosarev at amd.com>


  Commit: e801a10b44ee96acb70b994662616a66fca0be21
      https://github.com/llvm/llvm-project/commit/e801a10b44ee96acb70b994662616a66fca0be21
  Author: Shilei Tian <i at tianshilei.me>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    A llvm/test/CodeGen/AMDGPU/llvm.cos.bf16.ll
    A llvm/test/CodeGen/AMDGPU/llvm.sin.bf16.ll

  Log Message:
  -----------
  [AMDGPU] Add the code generation support for `llvm.[sin/cos].bf16` (#149631)

This is a partial support because some other instructions have not been upstreamed yet.


  Commit: 890952ebfc4241cbca0f4fc9ad43cf9ab74ff223
      https://github.com/llvm/llvm-project/commit/890952ebfc4241cbca0f4fc9ad43cf9ab74ff223
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M llvm/utils/gn/secondary/lldb/source/Plugins/Language/CPlusPlus/BUILD.gn

  Log Message:
  -----------
  [gn build] Port 401b5ccf6b50


  Commit: 39389d55dd2cbfae54c3c4d4ba693f88f394e3bf
      https://github.com/llvm/llvm-project/commit/39389d55dd2cbfae54c3c4d4ba693f88f394e3bf
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M llvm/utils/gn/secondary/clang-tools-extra/clangd/refactor/tweaks/BUILD.gn
    M llvm/utils/gn/secondary/clang-tools-extra/clangd/unittests/BUILD.gn

  Log Message:
  -----------
  [gn build] Port 7355ea3f6b21


  Commit: 49d7a9b14ef1cc1c7231507f5f2feff7e7653966
      https://github.com/llvm/llvm-project/commit/49d7a9b14ef1cc1c7231507f5f2feff7e7653966
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M llvm/utils/gn/secondary/llvm/lib/BinaryFormat/BUILD.gn
    M llvm/utils/gn/secondary/llvm/lib/Object/BUILD.gn

  Log Message:
  -----------
  [gn build] Port aa7ada1dfbe2


  Commit: e39ee62c5bdbe71b9f191bc5da7d47577e2099a9
      https://github.com/llvm/llvm-project/commit/e39ee62c5bdbe71b9f191bc5da7d47577e2099a9
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/ByteCodeEmitter.cpp
    M clang/lib/AST/ByteCode/Compiler.cpp
    M clang/lib/AST/ByteCode/Compiler.h
    M clang/lib/AST/ByteCode/Context.cpp
    M clang/lib/AST/ByteCode/Context.h
    M clang/lib/AST/ByteCode/Descriptor.h
    M clang/lib/AST/ByteCode/EvalEmitter.cpp
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp
    M clang/lib/AST/ByteCode/Pointer.cpp
    M clang/lib/AST/ByteCode/PrimType.h
    M clang/lib/AST/ByteCode/Program.cpp

  Log Message:
  -----------
  [clang][bytecode] Use OptPrimType instead of std::optional<PrimType> (#149812)

We use this construct a lot. Use something similar to clang's
UnsignedOrNone.

This results in some slighy compile time improvements:
https://llvm-compile-time-tracker.com/compare.php?from=17a4b0399d161a3b89d8f0ce82add1638f23f5d4&to=a251d81ecd0ed45dd190462663155fdb303ef04d&stat=instructions:u


  Commit: ed2bfd132509da679320a1d691af4a91192297d0
      https://github.com/llvm/llvm-project/commit/ed2bfd132509da679320a1d691af4a91192297d0
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M flang/test/Driver/intrinsic-module-path.f90

  Log Message:
  -----------
  [Flang] Add -fintrinsic-modules-path= alias (#149417)

Add the syntax `-fintrinsic-modules-path=<dir>` as an alias to the
existing option `-fintrinsic-modules-path <dir>`. gfortran also supports
both alternatives.

This is particularly useful with CMake which de-duplicates command-line
options. For instance,
`-fintrinsic-modules-path /path/A -fintrinsic-modules-path /path/B`
is de-duplicated to
`-fintrinsic-modules-path /path/A /path/B`
since it conisiders the second `-fintrinsic-modules-path`
"redundant". This can be avoided using the syntax
`-fintrinsic-modules-path=/path/A -fintrinsic-modules-path=/path/B`.


  Commit: 12a3afe47d4e5fcc97eb44271c00ace7cc8e4ff2
      https://github.com/llvm/llvm-project/commit/12a3afe47d4e5fcc97eb44271c00ace7cc8e4ff2
  Author: sstwcw <su3e8a96kzlver at posteo.net>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M clang/lib/Format/FormatTokenLexer.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Remove code related to trigraphs (#148640)

When reviewing #147156, the reviewers pointed out that we didn't need to
support the trigraph. The code never handled it right.

In the debug build, this kind of input caused the assertion in the
function `countLeadingWhitespace` to fail. The release build without
assertions outputted `?` `?` `/` separated by spaces.

```C
#define A ??/
  int i;
```

This is because the code in `countLeadingWhitespace` assumed that the
underlying lexer recognized the entire `??/` sequence as a single token.
In fact, the lexer recognized it as 3 separate tokens. The flag to make
the lexer recognize trigraphs was never enabled.

This patch enables the flag in the underlying lexer. This way, the
program now either turns the trigraph into a single `\` or removes it
altogether if the line is short enough. There are operators like the
`??=` in C#. So the flag is not enabled for all input languages. Instead
the check for the token size is moved from the assert line into the if
line.

The problem was introduced by my own patch 370bee480139 from about 3
years ago. I added code to count the number of characters in the escape
sequence probably just because the block of code used to have a comment
saying someone should add the feature. Maybe I forgot to enable
assertions when I ran the code. I found the problem because reviewing
pull request 145243 made me look at the code again.


  Commit: 0c804da4eaf72969e338ed5619c41e038e1bdf35
      https://github.com/llvm/llvm-project/commit/0c804da4eaf72969e338ed5619c41e038e1bdf35
  Author: Brox Chen <guochen2 at amd.com>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPU.td

  Log Message:
  -----------
  [AMDGPU][True16] turn on true16 for all gfx11 devices (#143518)

A follow up patch from https://github.com/llvm/llvm-project/pull/140736.
Set default true16 mode from gfx110x to all gfx11 devices.

Tests has been address in preivous patches.


  Commit: c33c978d766a6bbaec28fce7638354c549a75111
      https://github.com/llvm/llvm-project/commit/c33c978d766a6bbaec28fce7638354c549a75111
  Author: Ivan Kosarev <ivan.kosarev at amd.com>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/bf16.ll

  Log Message:
  -----------
  [AMDGPU][NFC] Run the general bf16 tests for GFX950. (#149796)


  Commit: 2aa1e54fa1ff7f7c347e7108fe8650e94014c941
      https://github.com/llvm/llvm-project/commit/2aa1e54fa1ff7f7c347e7108fe8650e94014c941
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M flang/include/flang/Parser/dump-parse-tree.h
    M flang/include/flang/Parser/parse-tree.h
    M flang/include/flang/Semantics/openmp-modifiers.h
    M flang/lib/Parser/openmp-parsers.cpp
    M flang/lib/Parser/unparse.cpp
    M flang/lib/Semantics/canonicalize-omp.cpp
    M flang/lib/Semantics/canonicalize-omp.h
    M flang/lib/Semantics/openmp-modifiers.cpp
    M flang/lib/Semantics/resolve-directives.cpp
    A flang/test/Parser/OpenMP/map-modifiers-v60.f90

  Log Message:
  -----------
  [flang][OpenMP] Parse OpenMP 6.0 map modifiers (#149134)

OpenMP 6.0 has changed the modifiers on the MAP clause:
- map-type-modifier has been split into individual modifiers,
- map-type "delete" has become a modifier,
- new modifiers have been added.

This patch adds parsing support for all of the OpenMP 6.0 modifiers. The
old "map-type-modifier" is retained, but is no longer created in
parsing. It will remain to take advantage of the preexisting modifier
validation for older versions: when the OpenMP version is < 6.0, the
modifiers will be rewritten back as map-type-modifiers (or map- type in
case of "delete").

In this patch the modifiers will always be rewritten in the older format
to isolate these changes to parsing as much as possible.


  Commit: 658101b96c8691fee10ff4c821e0812fb90ddd67
      https://github.com/llvm/llvm-project/commit/658101b96c8691fee10ff4c821e0812fb90ddd67
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M clang/docs/UsersManual.rst
    M clang/include/clang/CIR/Dialect/IR/CIROps.td
    M clang/include/clang/Driver/Options.td
    M clang/lib/AST/ByteCode/ByteCodeEmitter.cpp
    M clang/lib/AST/ByteCode/Compiler.cpp
    M clang/lib/AST/ByteCode/Compiler.h
    M clang/lib/AST/ByteCode/Context.cpp
    M clang/lib/AST/ByteCode/Context.h
    M clang/lib/AST/ByteCode/Descriptor.h
    M clang/lib/AST/ByteCode/EvalEmitter.cpp
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp
    M clang/lib/AST/ByteCode/Pointer.cpp
    M clang/lib/AST/ByteCode/PrimType.h
    M clang/lib/AST/ByteCode/Program.cpp
    M clang/lib/CIR/CodeGen/CIRGenBuiltin.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp
    M clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.h
    M clang/lib/Format/FormatTokenLexer.cpp
    M clang/test/CIR/CodeGen/builtin_call.cpp
    M clang/unittests/Format/FormatTest.cpp
    M flang/include/flang/Parser/parse-tree.h
    M flang/lib/Semantics/resolve-directives.cpp
    M flang/test/Driver/intrinsic-module-path.f90
    M libcxx/utils/synchronize_csv_status_files.py
    M lld/docs/ld.lld.1
    M lldb/docs/use/formatting.rst
    M llvm/docs/CIBestPractices.rst
    M llvm/docs/GettingStarted.rst
    M llvm/docs/LangRef.rst
    M llvm/docs/ProgrammersManual.rst
    M llvm/lib/Target/AMDGPU/AMDGPU.td
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/test/CodeGen/AMDGPU/bf16-math.ll
    M llvm/test/CodeGen/AMDGPU/bf16.ll
    A llvm/test/CodeGen/AMDGPU/fdiv.bf16.ll
    M llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.f16.fp8.ll
    A llvm/test/CodeGen/AMDGPU/llvm.cos.bf16.ll
    A llvm/test/CodeGen/AMDGPU/llvm.sin.bf16.ll
    M llvm/utils/gn/secondary/clang-tools-extra/clangd/refactor/tweaks/BUILD.gn
    M llvm/utils/gn/secondary/clang-tools-extra/clangd/unittests/BUILD.gn
    M llvm/utils/gn/secondary/lldb/source/Plugins/Language/CPlusPlus/BUILD.gn
    M llvm/utils/gn/secondary/llvm/lib/BinaryFormat/BUILD.gn
    M llvm/utils/gn/secondary/llvm/lib/Object/BUILD.gn

  Log Message:
  -----------
  Merge branch 'main' into users/kparzysz/m02-map60-repr


Compare: https://github.com/llvm/llvm-project/compare/dd339d61a4e1...658101b96c86

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