[all-commits] [llvm/llvm-project] 6bf612: [gn build] Port 60822637bf00

Wang Pengcheng via All-commits all-commits at lists.llvm.org
Wed Mar 6 01:10:48 PST 2024


  Branch: refs/heads/users/wangpc-pp/spr/riscvnfc-add-helpers-for-rvv-register-classes
  Home:   https://github.com/llvm/llvm-project
  Commit: 6bf61283ed0c4e05ef29d9cd935e82fe2dd72a99
      https://github.com/llvm/llvm-project/commit/6bf61283ed0c4e05ef29d9cd935e82fe2dd72a99
  Author: LLVM GN Syncbot <llvmgnsyncbot at gmail.com>
  Date:   2024-03-06 (Wed, 06 Mar 2024)

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

  Log Message:
  -----------
  [gn build] Port 60822637bf00


  Commit: 5ff3f6604b3a060376db74e454b5609de35b75e1
      https://github.com/llvm/llvm-project/commit/5ff3f6604b3a060376db74e454b5609de35b75e1
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-03-05 (Tue, 05 Mar 2024)

  Changed paths:
    M lld/test/ELF/linkerscript/wildcards.s

  Log Message:
  -----------
  [ELF] Improve wildcard tests for input section descriptions


  Commit: d3e79e4cc33b89c61a8763a130f60a443eed4775
      https://github.com/llvm/llvm-project/commit/d3e79e4cc33b89c61a8763a130f60a443eed4775
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-03-05 (Tue, 05 Mar 2024)

  Changed paths:
    M lld/test/ELF/linkerscript/wildcards.s

  Log Message:
  -----------
  [ELF] Improve wildcard test


  Commit: d3df2a834cf6febb44c699d109b9e7f622194837
      https://github.com/llvm/llvm-project/commit/d3df2a834cf6febb44c699d109b9e7f622194837
  Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
  Date:   2024-03-06 (Wed, 06 Mar 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/Module.h
    M clang/lib/Basic/Module.cpp
    M clang/lib/Sema/SemaModule.cpp
    A clang/test/Modules/transitive-import.cppm

  Log Message:
  -----------
  [C++20] [Modules] Handle transitive import in the module properly

Close https://github.com/llvm/llvm-project/issues/84002

Per [module.import]p7:

> Additionally, when a module-import-declaration in a module unit of
> some module M imports another module unit U of M, it also imports all
> translation units imported by non-exported module-import-declarations
> in the module unit purview of U.

However, we only tried to implement it during the implicit import of
primary module interface for module implementation unit.

Also we didn't implement the last sentence from [module.import]p7
completely:

> These rules can in turn lead to the importation of yet more
> translation units.

This patch tries to care the both issues.


  Commit: bec7ad9fd6bceb6521448b24faddb01bc52de3a7
      https://github.com/llvm/llvm-project/commit/bec7ad9fd6bceb6521448b24faddb01bc52de3a7
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-03-06 (Wed, 06 Mar 2024)

  Changed paths:
    M llvm/test/CodeGen/RISCV/rvv/vwadd-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/vwmul-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/vwsub-sdnode.ll

  Log Message:
  -----------
  [RISCV] Add tests for vw{add,sub,mul} with nested extend. NFC

These test cases show (op (ext a), (ext b)) patterns where the dest EEW is
more than 2 * source EEW. These could be lowered into widening ops where we
still have extend the operands, but at a smaller EEW.


  Commit: 7a0acccd81df268dc7ad4c0358c42552789f19b4
      https://github.com/llvm/llvm-project/commit/7a0acccd81df268dc7ad4c0358c42552789f19b4
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2024-03-06 (Wed, 06 Mar 2024)

  Changed paths:
    A clang/test/CXX/drs/dr438.cpp
    A clang/test/CXX/drs/dr439.cpp
    A clang/test/CXX/drs/dr441.cpp
    A clang/test/CXX/drs/dr462.cpp
    A clang/test/CXX/drs/dr492.cpp
    M clang/test/CXX/drs/dr4xx.cpp
    M clang/www/cxx_dr_status.html

  Log Message:
  -----------
  [clang] Add some CodeGen tests for CWG 4xx issues (#83715)

This patch covers the following defect reports:
[CWG438](https://cplusplus.github.io/CWG/issues/438.html) "Possible flaw
in wording for multiple accesses to object between sequence points",
[CWG439](https://cplusplus.github.io/CWG/issues/439.html) "Guarantees on
casting pointer back to cv-qualified version of original type",
[CWG441](https://cplusplus.github.io/CWG/issues/441.html) "Ordering of
static reference initialization",
[CWG462](https://cplusplus.github.io/CWG/issues/462.html) "Lifetime of
temporaries bound to comma expressions",
[CWG492](https://cplusplus.github.io/CWG/issues/492.html) "`typeid`
constness inconsistent with example".

[CWG475](https://cplusplus.github.io/CWG/issues/475.html) "When is
`std::uncaught_exception()` true? (take 2)" requires a libc++abi test.
As for [CWG454](https://cplusplus.github.io/CWG/issues/454.html) "When
is a definition of a static data member required?", I don't feel
confident in my understanding of it, so skipping over it.


  Commit: 9f45c5e1a65a1abf4920b617d36ed05e73c04bea
      https://github.com/llvm/llvm-project/commit/9f45c5e1a65a1abf4920b617d36ed05e73c04bea
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-03-06 (Wed, 06 Mar 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/test/Transforms/InstCombine/select.ll

  Log Message:
  -----------
  [InstCombine] Fix infinite loop in select equivalence fold (#84036)

When replacing with a non-constant, it's possible that the result of the
simplification is actually more complicated than the original, and may
result in an infinite combine loop.

Mitigate the issue by requiring that either the replacement or
simplification result is constant, which should ensure that it's
simpler. While this check is crude, it does not appear to cause
optimization regressions in real-world code in practice.

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


  Commit: 6cdf596c52f028ea7d150e0696f967fbff443ccf
      https://github.com/llvm/llvm-project/commit/6cdf596c52f028ea7d150e0696f967fbff443ccf
  Author: hanbeom <kese111 at gmail.com>
  Date:   2024-03-06 (Wed, 06 Mar 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/Local.h
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/test/Transforms/InstCombine/phi-select-constant.ll
    M llvm/test/Transforms/InstCombine/pr63791.ll
    M llvm/test/Transforms/InstCombine/sink_to_unreachable.ll
    M llvm/test/Transforms/InstCombine/unreachable-code.ll

  Log Message:
  -----------
  [InstCombine] If inst in unreachable refers to an inst change it to poison (#78444)

Instructions in unreachable basic blocks are removed, but terminators
are not. In this case, even instructions that are only referenced by
a terminator, such as a return instruction, cannot be processed
properly.

This patch changes the operand of a return instruction in an
unreachable basic block to poison if it refers to the instruction,
allowing the instruction to be properly processed.

Fixes #65107.


  Commit: aced81c0a5bf30dda99fde2e28364426de4c18d3
      https://github.com/llvm/llvm-project/commit/aced81c0a5bf30dda99fde2e28364426de4c18d3
  Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
  Date:   2024-03-06 (Wed, 06 Mar 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/Expr.h
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/TokenKinds.def
    M clang/lib/AST/Decl.cpp
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Sema/DeclSpec.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaInit.cpp
    M clang/lib/Sema/SemaOverload.cpp
    A clang/test/C/C2x/n3018.c
    A clang/test/Parser/c23-constexpr.c
    A clang/test/Sema/constexpr.c
    M clang/www/c_status.html

  Log Message:
  -----------
  [C23] Implement N3018: The constexpr specifier for object definitions (#73099)

The implementation mostly reuses C++ code paths where possible,
including narrowing check in order to provide diagnostic messages in
case initializer for constexpr variable is not exactly representable in
target type.

The following won't work due to lack of support for other features:
- Diagnosing of underspecified declarations involving constexpr
- Constexpr attached to compound literals

Also due to lack of support for char8_t some of examples with utf-8
strings don't work properly.

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


  Commit: 6e27dd47e1fc17cf661b568901fe7392ed1b8f2b
      https://github.com/llvm/llvm-project/commit/6e27dd47e1fc17cf661b568901fe7392ed1b8f2b
  Author: Ingo Müller <ingomueller at google.com>
  Date:   2024-03-06 (Wed, 06 Mar 2024)

  Changed paths:
    M mlir/lib/Dialect/GPU/CMakeLists.txt
    M mlir/lib/Dialect/GPU/Transforms/SerializeToHsaco.cpp

  Log Message:
  -----------
  [mlir][gpu] Replace MLIR_GPU_TO_HSACO_PASS_ENABLE by more generic one. (#84001)

This is another follow-up of #83004. The PR replaces the macro
`MLIR_GPU_TO_HSACO_PASS_ENABLE` with the more generic macro
`MLIR_ENABLE_ROCM_CONVERSIONS`. Until now, the former has been defined
if and only if the latter evaluated to true in CMake. However, the
former was not defined when the latter evaluated to false, in which case
a warning was raised if compiled with `-Wundef`. Using a single macro
relies on the `#cmakedefine01` mechanism that ensures the macro is
always set to either 0 or 1.


  Commit: d7169ce96568718ac0b35c34e27f80a92c5da61b
      https://github.com/llvm/llvm-project/commit/d7169ce96568718ac0b35c34e27f80a92c5da61b
  Author: Wang Pengcheng <wangpengcheng.pp at bytedance.com>
  Date:   2024-03-06 (Wed, 06 Mar 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/Expr.h
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Basic/Module.h
    M clang/include/clang/Basic/TokenKinds.def
    M clang/lib/AST/Decl.cpp
    M clang/lib/AST/ExprConstant.cpp
    M clang/lib/Basic/Module.cpp
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Sema/DeclSpec.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaInit.cpp
    M clang/lib/Sema/SemaModule.cpp
    M clang/lib/Sema/SemaOverload.cpp
    A clang/test/C/C2x/n3018.c
    A clang/test/CXX/drs/dr438.cpp
    A clang/test/CXX/drs/dr439.cpp
    A clang/test/CXX/drs/dr441.cpp
    A clang/test/CXX/drs/dr462.cpp
    A clang/test/CXX/drs/dr492.cpp
    M clang/test/CXX/drs/dr4xx.cpp
    A clang/test/Modules/transitive-import.cppm
    A clang/test/Parser/c23-constexpr.c
    A clang/test/Sema/constexpr.c
    M clang/www/c_status.html
    M clang/www/cxx_dr_status.html
    M lld/test/ELF/linkerscript/wildcards.s
    M llvm/include/llvm/Transforms/Utils/Local.h
    M llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/test/CodeGen/RISCV/rvv/vwadd-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/vwmul-sdnode.ll
    M llvm/test/CodeGen/RISCV/rvv/vwsub-sdnode.ll
    M llvm/test/Transforms/InstCombine/phi-select-constant.ll
    M llvm/test/Transforms/InstCombine/pr63791.ll
    M llvm/test/Transforms/InstCombine/select.ll
    M llvm/test/Transforms/InstCombine/sink_to_unreachable.ll
    M llvm/test/Transforms/InstCombine/unreachable-code.ll
    M llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
    M mlir/lib/Dialect/GPU/CMakeLists.txt
    M mlir/lib/Dialect/GPU/Transforms/SerializeToHsaco.cpp

  Log Message:
  -----------
  Rebase

Created using spr 1.3.4


Compare: https://github.com/llvm/llvm-project/compare/1d7ca79a9880...d7169ce96568

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