[all-commits] [llvm/llvm-project] cfd1ee: [libc] Add dlinfo + RTLD_DI_* macros to dlfcn.h (#...

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Tue Aug 5 13:41:35 PDT 2025


  Branch: refs/heads/users/rampitec/08-05-_amdgpu_add_gfx1250_wmma_scale_16__f32_32x16x128_f4_instructions
  Home:   https://github.com/llvm/llvm-project
  Commit: cfd1ee781f116de891cd802b277b67a698acad60
      https://github.com/llvm/llvm-project/commit/cfd1ee781f116de891cd802b277b67a698acad60
  Author: Caslyn Tonelli <6718161+Caslyn at users.noreply.github.com>
  Date:   2025-08-05 (Tue, 05 Aug 2025)

  Changed paths:
    M libc/include/dlfcn.yaml
    M libc/src/dlfcn/CMakeLists.txt
    A libc/src/dlfcn/dlinfo.cpp
    A libc/src/dlfcn/dlinfo.h

  Log Message:
  -----------
  [libc] Add dlinfo + RTLD_DI_* macros to dlfcn.h (#149938)

An initial commit for #149911, this adds a stub implementation for
dlinfo and the enums list of `RTLD_DI_*` values.

While the dlinfo implementation relies on dynamic linker support, this
patch will add its prototype in the generated dlfcn.h header so that it
can be used by downstream platforms that have their own dlinfo
implementation.


  Commit: aec90f2f27317dbb075a5a816e11b4892f035680
      https://github.com/llvm/llvm-project/commit/aec90f2f27317dbb075a5a816e11b4892f035680
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-08-05 (Tue, 05 Aug 2025)

  Changed paths:
    M flang-rt/include/flang-rt/runtime/descriptor.h
    M flang-rt/include/flang-rt/runtime/io-stmt.h
    M flang-rt/lib/runtime/descriptor-io.cpp
    M flang-rt/lib/runtime/descriptor.cpp
    M flang-rt/lib/runtime/io-stmt.cpp
    M flang-rt/lib/runtime/namelist.cpp

  Log Message:
  -----------
  [flang][runtime] Fix child input bugs under NAMELIST (#151571)

When NAMELIST input takes place on a derived type, we need to preserve
the type in the descriptor that is created for storage sequence
association. Further, the fact that any child list input in within the
context of a NAMELIST must be inherited so that input fields don't try
to consume later "variable=" strings.

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


  Commit: effa35d240f34bcd07f0653b6fbdd999a5dbf02e
      https://github.com/llvm/llvm-project/commit/effa35d240f34bcd07f0653b6fbdd999a5dbf02e
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-08-05 (Tue, 05 Aug 2025)

  Changed paths:
    M flang-rt/lib/runtime/edit-input.cpp
    M flang-rt/unittests/Runtime/NumericalFormatTest.cpp
    M flang/docs/Extensions.md

  Log Message:
  -----------
  [flang][runtime] Don't always accept a bare exponent letter (#151597)

For more accurate compatibility with other compilers' extensions, accept
a bare exponent letter as valid real input to a formatted READ statement
only in a fixed-width input field. So it works with (G1.0) editing, but
not (G)/(D)/(E)/(F) or list-directed input.

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


  Commit: 56051daaf0584ed797940fda74a4cfdc2b3586c0
      https://github.com/llvm/llvm-project/commit/56051daaf0584ed797940fda74a4cfdc2b3586c0
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-08-05 (Tue, 05 Aug 2025)

  Changed paths:
    M flang-rt/include/flang-rt/runtime/descriptor.h
    M flang-rt/lib/runtime/derived.cpp
    M flang-rt/lib/runtime/descriptor.cpp
    M flang-rt/unittests/Runtime/CMakeLists.txt
    A flang-rt/unittests/Runtime/Descriptor.cpp

  Log Message:
  -----------
   [flang][runtime] Optimize Descriptor::FixedStride() (#151755)

Put the common cases on fast paths, and don't depend on IsContiguous()
in the general case path. Add a unit test, too.


  Commit: fc9a08078017c8a1ad812d01ed9a7d2066b31e07
      https://github.com/llvm/llvm-project/commit/fc9a08078017c8a1ad812d01ed9a7d2066b31e07
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-08-05 (Tue, 05 Aug 2025)

  Changed paths:
    M flang-rt/lib/runtime/namelist.cpp

  Log Message:
  -----------
  [flang][runtime] Handle empty NAMELIST value list (#151770)

InputNamelist() returns early if any value list read in by
InputDerivedType() or DescriptorIo<Input>() is empty, since they return
false. But an empty value list is okay, and the early return should
occur only on error.

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


  Commit: 867602742cf392849b5f1cfc9038ad679333fd59
      https://github.com/llvm/llvm-project/commit/867602742cf392849b5f1cfc9038ad679333fd59
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-08-05 (Tue, 05 Aug 2025)

  Changed paths:
    M flang/lib/Parser/parsing.cpp

  Log Message:
  -----------
  [flang] Minor speed-up to module file parsing (#152178)

Module files shouldn't ever produce parsing errors, and if they did in
the case of a badly-generated module file, the compiler will notice and
crash. So we can run the parser on module files with message deferral
enabled, and that saves time that would otherwise be spent generating
messages on failed parsing alternatives that are discarded anyway when
backtracking. It's not a big savings (single digit percentage on overall
compilation time for a big application with lots of modules), but worth
doing.


  Commit: 9839ae64c555ca28d40c51c3907d7f69f02528a4
      https://github.com/llvm/llvm-project/commit/9839ae64c555ca28d40c51c3907d7f69f02528a4
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2025-08-05 (Tue, 05 Aug 2025)

  Changed paths:
    M flang-rt/include/flang-rt/runtime/descriptor.h
    M flang-rt/include/flang-rt/runtime/io-stmt.h
    M flang-rt/lib/runtime/derived.cpp
    M flang-rt/lib/runtime/descriptor-io.cpp
    M flang-rt/lib/runtime/descriptor.cpp
    M flang-rt/lib/runtime/edit-input.cpp
    M flang-rt/lib/runtime/io-stmt.cpp
    M flang-rt/lib/runtime/namelist.cpp
    M flang-rt/unittests/Runtime/CMakeLists.txt
    A flang-rt/unittests/Runtime/Descriptor.cpp
    M flang-rt/unittests/Runtime/NumericalFormatTest.cpp
    M flang/docs/Extensions.md
    M flang/lib/Parser/parsing.cpp
    M libc/include/dlfcn.yaml
    M libc/src/dlfcn/CMakeLists.txt
    A libc/src/dlfcn/dlinfo.cpp
    A libc/src/dlfcn/dlinfo.h

  Log Message:
  -----------
  Merge branch 'main' into users/rampitec/08-05-_amdgpu_add_gfx1250_wmma_scale_16__f32_32x16x128_f4_instructions


Compare: https://github.com/llvm/llvm-project/compare/b86e38e7554d...9839ae64c555

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