[all-commits] [llvm/llvm-project] 233479: Revert "[Clang] Implement fix for DR2628"

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Feb 24 00:43:06 PST 2023


  Branch: refs/heads/release/16.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 233479fa9b7f48d2bb253cbcf943d7887b47b39d
      https://github.com/llvm/llvm-project/commit/233479fa9b7f48d2bb253cbcf943d7887b47b39d
  Author: Tobias Hieta <tobias at hieta.se>
  Date:   2023-02-24 (Fri, 24 Feb 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/test/CXX/drs/dr26xx.cpp

  Log Message:
  -----------
  Revert "[Clang] Implement fix for DR2628"

This reverts commit 368b6832de33b366d4eb155f940e7476daace6a8.


  Commit: 57c9a08718ba7e89511719583a324577486b5995
      https://github.com/llvm/llvm-project/commit/57c9a08718ba7e89511719583a324577486b5995
  Author: Brad Smith <brad at comstyle.com>
  Date:   2023-02-24 (Fri, 24 Feb 2023)

  Changed paths:
    M clang/lib/CodeGen/TargetInfo.cpp
    M clang/lib/Driver/ToolChains/FreeBSD.cpp
    M clang/lib/Driver/ToolChains/FreeBSD.h
    M clang/test/Driver/constructors.c
    M clang/test/Driver/freebsd.c
    M clang/test/Driver/freebsd.cpp

  Log Message:
  -----------
  [Driver][FreeBSD] Correct driver behavior if a triple is provided without a version

While looking at other usage of getOSMajorVersion() I noticed if a version number is not
included in the FreeBSD triple it won't include the --hash-style=both linker option or
not disable the use of .init_array. Without a version should be the latest.

FreeBSD 8 and 9 are no longer supported. So simplify things with the version handling
as well.

Reviewed By: dim

Differential Revision: https://reviews.llvm.org/D144341

(cherry picked from commit 2a2c0fd96757871f4e8052624000c208cc574fdf)


  Commit: 57b29461409951fd27be39cd28c15ced4acdbdf4
      https://github.com/llvm/llvm-project/commit/57b29461409951fd27be39cd28c15ced4acdbdf4
  Author: Brad Smith <brad at comstyle.com>
  Date:   2023-02-24 (Fri, 24 Feb 2023)

  Changed paths:
    M clang/test/CodeGen/dwarf-version.c

  Log Message:
  -----------
  [Driver][FreeBSD] Fix DWARF test after 2a2c0fd96757871f4e8052624000c208cc574fdf

The default DWARF version without a FreeBSD version specified is 4.

(cherry picked from commit cfca5f4d0c36d7560930df37b3a4a9cc85521529)


  Commit: 91172bd36927e9444ee9e9c80e489a1e6a13c72e
      https://github.com/llvm/llvm-project/commit/91172bd36927e9444ee9e9c80e489a1e6a13c72e
  Author: Cameron McInally <cmcinally at nvidia.com>
  Date:   2023-02-24 (Fri, 24 Feb 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    A llvm/test/CodeGen/X86/2023-02-22-combineMinNumMaxNum.ll

  Log Message:
  -----------
  [DAGCombine] Fix an ICE in combineMinNumMaxNum(...)

65420c8041f4 introduced an ICE in combineMinNumMaxNum(...) when
combineMinNumMaxNumImpl(...) returns an SDValue(). Make sure to check that a
value is returned before trying to perform an FNEG on it.

GitHub Issue: #60924

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D144571

(cherry picked from commit af4c4f4e21434ae306b7ee83691b5a8c2d90e576)


  Commit: e3ce92b7a904c2b4f0acebdf433121b2e45e5f0c
      https://github.com/llvm/llvm-project/commit/e3ce92b7a904c2b4f0acebdf433121b2e45e5f0c
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-02-24 (Fri, 24 Feb 2023)

  Changed paths:
    M lld/ELF/ICF.cpp
    M lld/test/ELF/icf10.s

  Log Message:
  -----------
  [ELF] --icf: don't fold a section without relocation and a section with relocations for SHT_REL

Fix https://github.com/llvm/llvm-project/issues/57693

(cherry picked from commit 686cff17cc310884e48ae963bf7507f96950cc90)


Compare: https://github.com/llvm/llvm-project/compare/eb9440b3d8b4...e3ce92b7a904


More information about the All-commits mailing list