[all-commits] [llvm/llvm-project] fda1e4: [libc][math][c23] Add MPFR unit tests for {ceil, fl...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Jun 5 11:36:46 PDT 2024


  Branch: refs/heads/users/MaskRay/spr/elf-orphan-placement-remove-hasinputsections-condition
  Home:   https://github.com/llvm/llvm-project
  Commit: fda1e4b01f723c31a36ad659564ae4a61365930e
      https://github.com/llvm/llvm-project/commit/fda1e4b01f723c31a36ad659564ae4a61365930e
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-06-05 (Wed, 05 Jun 2024)

  Changed paths:
    M libc/test/src/math/CMakeLists.txt
    M libc/test/src/math/CeilTest.h
    M libc/test/src/math/FloorTest.h
    M libc/test/src/math/RoundEvenTest.h
    M libc/test/src/math/RoundTest.h
    M libc/test/src/math/TruncTest.h
    A libc/test/src/math/ceilf16_test.cpp
    A libc/test/src/math/floorf16_test.cpp
    A libc/test/src/math/roundevenf16_test.cpp
    A libc/test/src/math/roundf16_test.cpp
    A libc/test/src/math/truncf16_test.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.cpp

  Log Message:
  -----------
  [libc][math][c23] Add MPFR unit tests for {ceil,floor,round,roundeven,trunc}f16 (#94383)


  Commit: 16aef9ec5231407140f283f3fe12f17410227da4
      https://github.com/llvm/llvm-project/commit/16aef9ec5231407140f283f3fe12f17410227da4
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-05 (Wed, 05 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    M llvm/test/CodeGen/RISCV/rvv/vsub.ll

  Log Message:
  -----------
  Revert "[RISCV] Use vadd.vi for tail undisturbe vsub intrinsic with small immediate."

This reverts commit 1af0778f9c6e1ac0f6e2dfd0e56063cc21c4eea5.

I messed up the tail policy.


  Commit: baa6609fad698c9e3727f5aff9e57896889e6d35
      https://github.com/llvm/llvm-project/commit/baa6609fad698c9e3727f5aff9e57896889e6d35
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2024-06-05 (Wed, 05 Jun 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    M llvm/test/CodeGen/RISCV/rvv/vsub.ll

  Log Message:
  -----------
  Recommit  "[RISCV] Use vadd.vi for tail undisturbe vsub intrinsic with small immediate."

Now with the correct tail policy.

Original message:
Our pattern previously checked for the merge operand being undef.


  Commit: 61589b859974a3a4055c1065ad43b4899ee7bbcf
      https://github.com/llvm/llvm-project/commit/61589b859974a3a4055c1065ad43b4899ee7bbcf
  Author: Alexander Yermolovich <43973793+ayermolo at users.noreply.github.com>
  Date:   2024-06-05 (Wed, 05 Jun 2024)

  Changed paths:
    M bolt/include/bolt/Core/DIEBuilder.h
    M bolt/include/bolt/Core/DebugNames.h
    M bolt/lib/Core/DIEBuilder.cpp
    M bolt/lib/Core/DebugNames.cpp
    A bolt/test/X86/dwarf5-debug-names-skip-forward-decl.s

  Log Message:
  -----------
  [BOLT][DWARF] Fix parent chain in debug_names entries with forward declaration. (#93865)

Previously when an entry was skipped in parent chain a child will point
to the next valid entry in the chain. After discussion in
https://github.com/llvm/llvm-project/pull/91808 this is not very useful.
Changed implemenation so that all the children of the entry that is
skipped won't have DW_IDX_parent.


  Commit: 53061eecdbd9ffc77a43f85b6c4e145a242a27a4
      https://github.com/llvm/llvm-project/commit/53061eecdbd9ffc77a43f85b6c4e145a242a27a4
  Author: Mingming Liu <mingmingl at google.com>
  Date:   2024-06-05 (Wed, 05 Jun 2024)

  Changed paths:
    M llvm/include/llvm/Bitcode/BitcodeWriter.h
    M llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
    M llvm/include/llvm/Transforms/IPO/FunctionImport.h
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/LTO/LTO.cpp
    M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
    M llvm/lib/Transforms/IPO/FunctionImport.cpp
    M llvm/test/ThinLTO/X86/import_callee_declaration.ll
    M llvm/tools/llvm-lto/llvm-lto.cpp

  Log Message:
  -----------
  Revert "[ThinLTO][Bitcode] Generate import type in bitcode (#87600)" (#94502)

This reverts commit 6262763341fcd71a2b0708cf7485f9abd1d26ba8, to prepare
for the revert of https://github.com/llvm/llvm-project/pull/92718.


https://github.com/llvm/llvm-project/pull/92718 causes LTO indexing OOM
in some applications.


  Commit: 707f4de4289e48e8a17bd0c9eb429d0c98061ecd
      https://github.com/llvm/llvm-project/commit/707f4de4289e48e8a17bd0c9eb429d0c98061ecd
  Author: Mingming Liu <mingmingl at google.com>
  Date:   2024-06-05 (Wed, 05 Jun 2024)

  Changed paths:
    M llvm/include/llvm/IR/ModuleSummaryIndex.h
    M llvm/include/llvm/Transforms/IPO/FunctionImport.h
    M llvm/lib/LTO/LTO.cpp
    M llvm/lib/LTO/LTOBackend.cpp
    M llvm/lib/Transforms/IPO/FunctionImport.cpp
    M llvm/test/ThinLTO/X86/funcimport-stats.ll
    R llvm/test/ThinLTO/X86/import_callee_declaration.ll
    M llvm/test/Transforms/FunctionImport/funcimport.ll
    M llvm/tools/llvm-link/llvm-link.cpp

  Log Message:
  -----------
  Revert "Reland "[ThinLTO] Populate declaration import status except for distributed ThinLTO under a default-off new option" (#92718) (#94503)

This reverts commit e33db249b53fb70dce62db3ebd82d42239bd1d9d.

The change from *set to *map increases memory usage, and caused indexing
OOM in some applications. Need to profile offline to bring the memory
usage down.


  Commit: 8407779bb7256c320f75913edf07c20c4e4c370a
      https://github.com/llvm/llvm-project/commit/8407779bb7256c320f75913edf07c20c4e4c370a
  Author: Andrey Portnoy <aportnoy at nvidia.com>
  Date:   2024-06-05 (Wed, 05 Jun 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/BuiltinsNVPTX.def
    M clang/include/clang/Basic/Cuda.h
    M clang/lib/Basic/Cuda.cpp
    M clang/lib/Driver/ToolChains/Cuda.cpp
    M llvm/lib/Target/NVPTX/NVPTX.td

  Log Message:
  -----------
  [CUDA] Mark CUDA-12.5 as supported and introduce ptx 8.5. (#94113)

This PR is based on https://github.com/llvm/llvm-project/pull/91516.


  Commit: cbe97e959dc67503d7cc44a3810e3124b6d3340e
      https://github.com/llvm/llvm-project/commit/cbe97e959dc67503d7cc44a3810e3124b6d3340e
  Author: OverMighty <its.overmighty at gmail.com>
  Date:   2024-06-05 (Wed, 05 Jun 2024)

  Changed paths:
    M libc/test/src/math/CMakeLists.txt
    M libc/test/src/math/CeilTest.h
    M libc/test/src/math/FloorTest.h
    M libc/test/src/math/RoundEvenTest.h
    M libc/test/src/math/RoundTest.h
    M libc/test/src/math/TruncTest.h
    R libc/test/src/math/ceilf16_test.cpp
    R libc/test/src/math/floorf16_test.cpp
    R libc/test/src/math/roundevenf16_test.cpp
    R libc/test/src/math/roundf16_test.cpp
    R libc/test/src/math/truncf16_test.cpp
    M libc/utils/MPFRWrapper/MPFRUtils.cpp

  Log Message:
  -----------
  Revert "[libc][math][c23] Add MPFR unit tests for {ceil,floor,round,roundeven,trunc}f16 (#94383)" (#94505)

This reverts commit fda1e4b01f723c31a36ad659564ae4a61365930e.

The commit caused Buildbot failures:
- https://lab.llvm.org/buildbot/#/builders/256/builds/14331
- https://lab.llvm.org/buildbot/#/builders/229/builds/27009


  Commit: 2b939e182db6251f1d54a990e080df5ac8f05c29
      https://github.com/llvm/llvm-project/commit/2b939e182db6251f1d54a990e080df5ac8f05c29
  Author: erichkeane <ekeane at nvidia.com>
  Date:   2024-06-05 (Wed, 05 Jun 2024)

  Changed paths:
    M clang/include/clang/AST/OpenACCClause.h
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/OpenACCClauses.def
    M clang/lib/AST/OpenACCClause.cpp
    M clang/lib/AST/StmtProfile.cpp
    M clang/lib/AST/TextNodeDumper.cpp
    M clang/lib/Parse/ParseOpenACC.cpp
    M clang/lib/Sema/SemaOpenACC.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/test/AST/ast-print-openacc-loop-construct.cpp
    M clang/test/ParserOpenACC/parse-clauses.c
    M clang/test/SemaOpenACC/compute-construct-default-clause.c
    M clang/test/SemaOpenACC/compute-construct-default-clause.cpp
    M clang/test/SemaOpenACC/compute-construct-device_type-clause.c
    A clang/test/SemaOpenACC/loop-construct-auto_seq_independent-ast.cpp
    A clang/test/SemaOpenACC/loop-construct-auto_seq_independent-clauses.c
    M clang/test/SemaOpenACC/loop-construct-device_type-clause.c
    M clang/tools/libclang/CIndex.cpp

  Log Message:
  -----------
  [OpenACC] Implement auto/seq/independent clause Sema for 'loop'

These three clauses are all quite trivial, as they take no parameters.
They are mutually exclusive, and 'seq' has some other exclusives that
are implemented here.

The ONE thing that isn't implemented is 2.9's restriction (line 2010):
  'A loop associated with a 'loop' construct that does not have a 'seq'
   clause must be written to meet all the following conditions'.

Future clauses will require similar work, so it'll be done as a
followup.


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

  Changed paths:
    M bolt/include/bolt/Core/DIEBuilder.h
    M bolt/include/bolt/Core/DebugNames.h
    M bolt/lib/Core/DIEBuilder.cpp
    M bolt/lib/Core/DebugNames.cpp
    A bolt/test/X86/dwarf5-debug-names-skip-forward-decl.s
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/OpenACCClause.h
    M clang/include/clang/Basic/BuiltinsNVPTX.def
    M clang/include/clang/Basic/Cuda.h
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/OpenACCClauses.def
    M clang/lib/AST/OpenACCClause.cpp
    M clang/lib/AST/StmtProfile.cpp
    M clang/lib/AST/TextNodeDumper.cpp
    M clang/lib/Basic/Cuda.cpp
    M clang/lib/Driver/ToolChains/Cuda.cpp
    M clang/lib/Parse/ParseOpenACC.cpp
    M clang/lib/Sema/SemaOpenACC.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/test/AST/ast-print-openacc-loop-construct.cpp
    M clang/test/ParserOpenACC/parse-clauses.c
    M clang/test/SemaOpenACC/compute-construct-default-clause.c
    M clang/test/SemaOpenACC/compute-construct-default-clause.cpp
    M clang/test/SemaOpenACC/compute-construct-device_type-clause.c
    A clang/test/SemaOpenACC/loop-construct-auto_seq_independent-ast.cpp
    A clang/test/SemaOpenACC/loop-construct-auto_seq_independent-clauses.c
    M clang/test/SemaOpenACC/loop-construct-device_type-clause.c
    M clang/tools/libclang/CIndex.cpp
    M lld/ELF/Writer.cpp
    M lld/test/ELF/linkerscript/memory-nonalloc-no-warn.test
    M lld/test/ELF/linkerscript/sections-nonalloc.s
    M lld/test/ELF/linkerscript/sections.s
    M llvm/include/llvm/Bitcode/BitcodeWriter.h
    M llvm/include/llvm/IR/ModuleSummaryIndex.h
    M llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
    M llvm/include/llvm/Transforms/IPO/FunctionImport.h
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/LTO/LTO.cpp
    M llvm/lib/LTO/LTOBackend.cpp
    M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
    M llvm/lib/Target/NVPTX/NVPTX.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    M llvm/lib/Transforms/IPO/FunctionImport.cpp
    M llvm/test/CodeGen/RISCV/rvv/vsub.ll
    M llvm/test/ThinLTO/X86/funcimport-stats.ll
    R llvm/test/ThinLTO/X86/import_callee_declaration.ll
    M llvm/test/Transforms/FunctionImport/funcimport.ll
    M llvm/tools/llvm-link/llvm-link.cpp
    M llvm/tools/llvm-lto/llvm-lto.cpp

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

Created using spr 1.3.5-bogner

[skip ci]


  Commit: 425390dfba06426d4a24d642dcefdc9ddbee0b9d
      https://github.com/llvm/llvm-project/commit/425390dfba06426d4a24d642dcefdc9ddbee0b9d
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-05 (Wed, 05 Jun 2024)

  Changed paths:
    M bolt/include/bolt/Core/DIEBuilder.h
    M bolt/include/bolt/Core/DebugNames.h
    M bolt/lib/Core/DIEBuilder.cpp
    M bolt/lib/Core/DebugNames.cpp
    A bolt/test/X86/dwarf5-debug-names-skip-forward-decl.s
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/OpenACCClause.h
    M clang/include/clang/Basic/BuiltinsNVPTX.def
    M clang/include/clang/Basic/Cuda.h
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/OpenACCClauses.def
    M clang/lib/AST/OpenACCClause.cpp
    M clang/lib/AST/StmtProfile.cpp
    M clang/lib/AST/TextNodeDumper.cpp
    M clang/lib/Basic/Cuda.cpp
    M clang/lib/Driver/ToolChains/Cuda.cpp
    M clang/lib/Parse/ParseOpenACC.cpp
    M clang/lib/Sema/SemaOpenACC.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/test/AST/ast-print-openacc-loop-construct.cpp
    M clang/test/ParserOpenACC/parse-clauses.c
    M clang/test/SemaOpenACC/compute-construct-default-clause.c
    M clang/test/SemaOpenACC/compute-construct-default-clause.cpp
    M clang/test/SemaOpenACC/compute-construct-device_type-clause.c
    A clang/test/SemaOpenACC/loop-construct-auto_seq_independent-ast.cpp
    A clang/test/SemaOpenACC/loop-construct-auto_seq_independent-clauses.c
    M clang/test/SemaOpenACC/loop-construct-device_type-clause.c
    M clang/tools/libclang/CIndex.cpp
    M lld/ELF/Writer.cpp
    M lld/test/ELF/linkerscript/memory-nonalloc-no-warn.test
    M lld/test/ELF/linkerscript/sections-nonalloc.s
    M lld/test/ELF/linkerscript/sections.s
    M llvm/include/llvm/Bitcode/BitcodeWriter.h
    M llvm/include/llvm/IR/ModuleSummaryIndex.h
    M llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h
    M llvm/include/llvm/Transforms/IPO/FunctionImport.h
    M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
    M llvm/lib/LTO/LTO.cpp
    M llvm/lib/LTO/LTOBackend.cpp
    M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
    M llvm/lib/Target/NVPTX/NVPTX.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    M llvm/lib/Transforms/IPO/FunctionImport.cpp
    M llvm/test/CodeGen/RISCV/rvv/vsub.ll
    M llvm/test/ThinLTO/X86/funcimport-stats.ll
    R llvm/test/ThinLTO/X86/import_callee_declaration.ll
    M llvm/test/Transforms/FunctionImport/funcimport.ll
    M llvm/tools/llvm-link/llvm-link.cpp
    M llvm/tools/llvm-lto/llvm-lto.cpp

  Log Message:
  -----------
  rebase onto #94519

Created using spr 1.3.5-bogner


Compare: https://github.com/llvm/llvm-project/compare/acf54fc4e6da...425390dfba06

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