[all-commits] [llvm/llvm-project] 25c5ba: [RISCV] Check the legality of source vector types ...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Wed Mar 26 12:38:20 PDT 2025


  Branch: refs/heads/users/boomanaiden154/main.ci-move-ci-over-to-new-project-computation-script
  Home:   https://github.com/llvm/llvm-project
  Commit: 25c5bad2f26e96a44b84765bedd82ee9bcffd22c
      https://github.com/llvm/llvm-project/commit/25c5bad2f26e96a44b84765bedd82ee9bcffd22c
  Author: Min-Yih Hsu <min.hsu at sifive.com>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rvv/splat-vectors.ll

  Log Message:
  -----------
  [RISCV] Check the legality of source vector types in matchSplatAsGather (#133028)

When we're trying to lower `extractelement + splat` with
vrgather.vi/.vx, we should also check the legality of source vector type
from `extractelement`, as the entire transformation assumes legal types.

Fixes #133020


  Commit: f3991e10bb0aa8cd6a72e9ebd8112b2030c67f13
      https://github.com/llvm/llvm-project/commit/f3991e10bb0aa8cd6a72e9ebd8112b2030c67f13
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    M flang/lib/Parser/prescan.cpp
    M flang/lib/Parser/prescan.h
    A flang/test/Preprocessing/kind-suffix.F90

  Log Message:
  -----------
  [flang] Allow macro replacement in numeric kind suffix (#132120)

When a numeric value has a kind suffix containing an identifier, allow
macro replacement for that identifier by treating it as its own token.

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


  Commit: 38207a52a701f8c2b77087450b277e7debd8fe73
      https://github.com/llvm/llvm-project/commit/38207a52a701f8c2b77087450b277e7debd8fe73
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    M flang/lib/Semantics/check-coarray.cpp
    A flang/test/Semantics/sync-images.f90

  Log Message:
  -----------
  [flang] Test SYNC IMAGES, increase checking (#132279)

Add a test for the SYNC IMAGES statement, and add a check for invalid
image numbers.


  Commit: 4ea5aa09deba468b250bebf3614e2a0cc57ec4b6
      https://github.com/llvm/llvm-project/commit/4ea5aa09deba468b250bebf3614e2a0cc57ec4b6
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    M flang-rt/lib/runtime/io-api.cpp
    M flang-rt/lib/runtime/io-stmt.cpp
    M flang-rt/unittests/Runtime/ExternalIOTest.cpp
    M flang-rt/unittests/Runtime/ListInputTest.cpp
    M flang-rt/unittests/Runtime/LogicalFormatTest.cpp
    M flang-rt/unittests/Runtime/Namelist.cpp
    M flang-rt/unittests/Runtime/NumericalFormatTest.cpp
    M flang-rt/unittests/Runtime/RuntimeCrashTest.cpp
    M flang/include/flang/Optimizer/Builder/Runtime/RTBuilder.h
    R flang/include/flang/Runtime/io-api-consts.h
    M flang/include/flang/Runtime/io-api.h
    M flang/lib/Lower/IO.cpp
    M flang/lib/Optimizer/Transforms/GenRuntimeCallsForTest.cpp
    M flang/lib/Optimizer/Transforms/SetRuntimeCallAttributes.cpp

  Log Message:
  -----------
  [flang][NFC] Restore I/O runtime API header name (#132423)

flang/include/flang/Runtime/io-api.h was changed into io-api-consts.h,
then wrapped into a new io-api.h that includes io-api-consts.h, does
some redundant includes and declarations, and then declares the
prototype of one function, InquiryKeywordHashDecode.

Make that function static in io-stmt.cpp prior to its sole call site,
then undo the renaming, to reduce confusion and redundancy.


  Commit: 6df27dd42d827a2468dcf4b4b1ee1a8e8af1a408
      https://github.com/llvm/llvm-project/commit/6df27dd42d827a2468dcf4b4b1ee1a8e8af1a408
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    M flang/lib/Evaluate/formatting.cpp
    M flang/lib/Semantics/mod-file.cpp
    A flang/test/Semantics/bug132435.f90

  Log Message:
  -----------
  [flang] Fix missed case of symbol renaming in module file generation (#132475)

The map of symbols requiring new local aliases for USE association needs
to use the symbols' ultimate resolutions to avoid missing cases that can
arise in convoluted codes with lots of confusing renamings.

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


  Commit: 3bc8aa7823870cb4863cc32eb5917b610b5def87
      https://github.com/llvm/llvm-project/commit/3bc8aa7823870cb4863cc32eb5917b610b5def87
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    M flang/include/flang/Semantics/expression.h
    M flang/lib/Semantics/expression.cpp
    M flang/test/Semantics/assign04.f90

  Log Message:
  -----------
  [flang] Catch whole assumed-size array as RHS (#132819)

The right-hand side expression of an intrinsic assignment statement may
not be the name of an assumed-size array dummy argument.


  Commit: 9b7a7e4b9e44a73978c374f95f90332620f87ce8
      https://github.com/llvm/llvm-project/commit/9b7a7e4b9e44a73978c374f95f90332620f87ce8
  Author: Brad Smith <brad at comstyle.com>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    M openmp/runtime/src/kmp.h
    M openmp/runtime/src/kmp_ftn_entry.h
    M openmp/runtime/src/kmp_platform.h
    M openmp/runtime/src/kmp_runtime.cpp
    M openmp/runtime/src/kmp_wrapper_getpid.h
    M openmp/runtime/src/z_Linux_util.cpp
    M openmp/runtime/test/lit.cfg
    M openmp/tools/multiplex/ompt-multiplex.h

  Log Message:
  -----------
  [OpenMP] Add support for Haiku (#133034)

Co-authored-by: Jérôme Duval <jerome.duval at gmail.com>


  Commit: bcad0501062325457cc9dae4b8b083e3bd2a04e3
      https://github.com/llvm/llvm-project/commit/bcad0501062325457cc9dae4b8b083e3bd2a04e3
  Author: Vladislav Dzhidzhoev <vdzhidzhoev at accesssoftek.com>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    A cross-project-tests/tools/llvm-objdump/ARM/lit.local.cfg
    A cross-project-tests/tools/llvm-objdump/ARM/plt.c
    M lld/test/ELF/arm-gnu-ifunc-plt.s
    M lld/test/ELF/arm-mixed-plts.s
    M lld/test/ELF/arm-plt-reloc.s
    M lld/test/ELF/arm-thumb-interwork-shared.s
    M lld/test/ELF/arm-thumb-interwork-thunk.s
    M lld/test/ELF/arm-thumb-plt-range-thunk-os.s
    M lld/test/ELF/arm-thumb-plt-reloc.s
    M lld/test/ELF/arm-thunk-multipass-plt.s
    M lld/test/ELF/arm-thunk-re-add.s
    M lld/test/ELF/armv8-thumb-plt-reloc.s
    M llvm/lib/Object/ELFObjectFile.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
    M llvm/tools/llvm-objdump/llvm-objdump.cpp

  Log Message:
  -----------
  [llvm-objdump][ARM] Find ELF file PLT entries for arm, thumb (#130764)

This implements arm, armeb, thumb, thumbeb PLT entries parsing support
in ELF for llvm-objdump.

Implementation is similar to AArch64MCInstrAnalysis::findPltEntries. PLT
entry signatures are based on LLD code for PLT generation
(ARM::writePlt).

llvm-objdump tests are produced from lld/test/ELF/arm-plt-reloc.s,
lld/test/ELF/armv8-thumb-plt-reloc.s.


  Commit: 86690ce3b79e7f54a6e617a162de6ff5a350e717
      https://github.com/llvm/llvm-project/commit/86690ce3b79e7f54a6e617a162de6ff5a350e717
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp

  Log Message:
  -----------
  [RISCV] Remove unnecessary calls MCRegister::id(). NFC


  Commit: 2d14797f407fbe69eb969806c0c9cfe1f63ccda4
      https://github.com/llvm/llvm-project/commit/2d14797f407fbe69eb969806c0c9cfe1f63ccda4
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    M .github/workflows/docs.yml

  Log Message:
  -----------
  [Github] Simplify checkout in docs test workflow (#132975)

This makes things quite a bit simpler and also gets rid of some API
calls. We weren't hitting any API limits, but getting rid of them leaves
more quota for other things should we ever need it. This just diffs the
merge commit in the pull request workflows, which gives the diff for the
PR.


  Commit: 7b130f4aa896905354a855a341d7ded69fe9f5db
      https://github.com/llvm/llvm-project/commit/7b130f4aa896905354a855a341d7ded69fe9f5db
  Author: Schrodinger ZHU Yifan <yifanzhu at rochester.edu>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    M libc/src/__support/CPP/atomic.h

  Log Message:
  -----------
  [libc][CPP] correct cmpxchg failure ordering inference (#133127)

See https://en.cppreference.com/w/cpp/atomic/atomic/compare_exchange.
The failure order should be inferred from the success order if it is not
explicitly specified.


  Commit: 304454f9e71ddbbb6c25e1b5d406131ded2417d0
      https://github.com/llvm/llvm-project/commit/304454f9e71ddbbb6c25e1b5d406131ded2417d0
  Author: Hans Wennborg <hans at hanshq.net>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/test/Driver/cl-options.c

  Log Message:
  -----------
  [clang-cl] Accept the --warning-suppression-mappings= option (#133092)


  Commit: 3ab70e3f90f43f33bd3180c1c3a9f9b00c4d6922
      https://github.com/llvm/llvm-project/commit/3ab70e3f90f43f33bd3180c1c3a9f9b00c4d6922
  Author: Andre Kuhlenschmidt <andre.kuhlenschmidt at gmail.com>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    M flang/lib/Evaluate/intrinsics.cpp
    A flang/test/Semantics/sizeof.f90

  Log Message:
  -----------
  [Flang] Change sizeof argument name to "x" (#130189)

This closes #128610 by fixing the name of the argument to the sizeof
function to be "x" and adds a test.


  Commit: de1c2f24bc1991beed8314ee5922f5768391537e
      https://github.com/llvm/llvm-project/commit/de1c2f24bc1991beed8314ee5922f5768391537e
  Author: David Green <david.green at arm.com>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/low_trip_count_predicates.ll

  Log Message:
  -----------
  [LoopVectorizer][AArch64] Move getMinTripCountTailFoldingThreshold later. (#132170)

This moves the checks of MinTripCountTailFoldingThreshold later, during the
calculation of whether to tail fold. This allows it to check beforehand whether
tail predication is required, either for scalable or fixed-width vectors.

This option is only specified for AArch64, where it returns the minimum of 5.
This patch aims to allow the vectorization of TC=4 loops, preventing them from
performing slower when SVE is present.


  Commit: 077940621d2ef1352f0353a58c3130ed6c3034e8
      https://github.com/llvm/llvm-project/commit/077940621d2ef1352f0353a58c3130ed6c3034e8
  Author: Andre Kuhlenschmidt <andre.kuhlenschmidt at gmail.com>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    M flang/lib/Parser/message.cpp
    M flang/lib/Parser/openacc-parsers.cpp
    M flang/test/Driver/debug-parsing-log.f90
    A flang/test/Parser/acc-data-statement.f90
    A flang/test/Parser/acc.f

  Log Message:
  -----------
  [flang][openacc] Make OpenACC block construct parse errors less verbose. (#131042)

This PR does reduces the verbosity of parser errors for OpenACC block
constructs that do not parse correctly because they are missing their
trailing end block directive by:
- Removing the redundant error messages created by parsing 3 different
styles of directive tokens.
- Providing a general mechanism of configuring the max number of
contexts printed for every syntax error.
- Not printing less specific contexts that are at the same location.

Prior to the changes:
```
$ flang -fc1 -fopenacc -fsyntax-only flang/test/Parser/acc-data-statement.f90 2>&1 | tee acc-data-statement.prior.log | wc -l
262
```

[acc-data-statement.prior.log](https://github.com/user-attachments/files/19298165/acc-data-statement.prior.log)

```
$ flang -fc1 -fopenacc -fsyntax-only flang/test/Parser/acc-data-statement.f90 2>&1 | tee acc-data-statement.prior.log | wc -l
73
```

[acc-data-statement.post.log](https://github.com/user-attachments/files/19298181/acc-data-statement.post.log)


  Commit: 9224165871c5555acc568b3895c736ff2a580e1e
      https://github.com/llvm/llvm-project/commit/9224165871c5555acc568b3895c736ff2a580e1e
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    A .ci/compute_projects.py
    A .ci/compute_projects_test.py

  Log Message:
  -----------
  [CI] Add Python Script for Computing Projects/Runtimes to Test

This patch adds a python script, compute_projects, and associated unit
tests for computing the projects and runtimes that need to be tested in
premerge. Rewriting in Python opens up a couple new
improvements/opportunities:
1. I personally find python to be much easier to work with than shell
   scripts for tasks like this. Particularly it becomes a lot easier to
   work with paths with proper array support.
2. Unit testing becomes easier which makes it a lot easier to reason
   about behavior changes, especially in review.
3. Most of the configuration is now setup in some dictionaries, which
   makes changes much easier to apply for most of the common changes.

This preserves the behavior of the existing premerge scripts as much as
possible.

Reviewers: ldionne, lnihlen, Endilll, tstellar, Keenuts

Reviewed By: Keenuts

Pull Request: https://github.com/llvm/llvm-project/pull/132634


  Commit: 6642098da165a4d82d9ded179e6057f0269e59a6
      https://github.com/llvm/llvm-project/commit/6642098da165a4d82d9ded179e6057f0269e59a6
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

  Changed paths:
    M .github/workflows/docs.yml
    M clang/include/clang/Driver/Options.td
    M clang/test/Driver/cl-options.c
    A cross-project-tests/tools/llvm-objdump/ARM/lit.local.cfg
    A cross-project-tests/tools/llvm-objdump/ARM/plt.c
    M flang-rt/lib/runtime/io-api.cpp
    M flang-rt/lib/runtime/io-stmt.cpp
    M flang-rt/unittests/Runtime/ExternalIOTest.cpp
    M flang-rt/unittests/Runtime/ListInputTest.cpp
    M flang-rt/unittests/Runtime/LogicalFormatTest.cpp
    M flang-rt/unittests/Runtime/Namelist.cpp
    M flang-rt/unittests/Runtime/NumericalFormatTest.cpp
    M flang-rt/unittests/Runtime/RuntimeCrashTest.cpp
    M flang/include/flang/Optimizer/Builder/Runtime/RTBuilder.h
    R flang/include/flang/Runtime/io-api-consts.h
    M flang/include/flang/Runtime/io-api.h
    M flang/include/flang/Semantics/expression.h
    M flang/lib/Evaluate/formatting.cpp
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/lib/Lower/IO.cpp
    M flang/lib/Optimizer/Transforms/GenRuntimeCallsForTest.cpp
    M flang/lib/Optimizer/Transforms/SetRuntimeCallAttributes.cpp
    M flang/lib/Parser/message.cpp
    M flang/lib/Parser/openacc-parsers.cpp
    M flang/lib/Parser/prescan.cpp
    M flang/lib/Parser/prescan.h
    M flang/lib/Semantics/check-coarray.cpp
    M flang/lib/Semantics/expression.cpp
    M flang/lib/Semantics/mod-file.cpp
    M flang/test/Driver/debug-parsing-log.f90
    A flang/test/Parser/acc-data-statement.f90
    A flang/test/Parser/acc.f
    A flang/test/Preprocessing/kind-suffix.F90
    M flang/test/Semantics/assign04.f90
    A flang/test/Semantics/bug132435.f90
    A flang/test/Semantics/sizeof.f90
    A flang/test/Semantics/sync-images.f90
    M libc/src/__support/CPP/atomic.h
    M lld/test/ELF/arm-gnu-ifunc-plt.s
    M lld/test/ELF/arm-mixed-plts.s
    M lld/test/ELF/arm-plt-reloc.s
    M lld/test/ELF/arm-thumb-interwork-shared.s
    M lld/test/ELF/arm-thumb-interwork-thunk.s
    M lld/test/ELF/arm-thumb-plt-range-thunk-os.s
    M lld/test/ELF/arm-thumb-plt-reloc.s
    M lld/test/ELF/arm-thunk-multipass-plt.s
    M lld/test/ELF/arm-thunk-re-add.s
    M lld/test/ELF/armv8-thumb-plt-reloc.s
    M llvm/lib/Object/ELFObjectFile.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/CodeGen/RISCV/rvv/splat-vectors.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/low_trip_count_predicates.ll
    M llvm/tools/llvm-objdump/llvm-objdump.cpp
    M openmp/runtime/src/kmp.h
    M openmp/runtime/src/kmp_ftn_entry.h
    M openmp/runtime/src/kmp_platform.h
    M openmp/runtime/src/kmp_runtime.cpp
    M openmp/runtime/src/kmp_wrapper_getpid.h
    M openmp/runtime/src/z_Linux_util.cpp
    M openmp/runtime/test/lit.cfg
    M openmp/tools/multiplex/ompt-multiplex.h

  Log Message:
  -----------
  [𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.4

[skip ci]


Compare: https://github.com/llvm/llvm-project/compare/5b4d13cd142f...6642098da165

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