[all-commits] [llvm/llvm-project] 9373c4: LTO: Pass more aggresive optimization options

Louis Dionne via All-commits all-commits at lists.llvm.org
Mon Feb 1 05:10:14 PST 2021


  Branch: refs/heads/llvm_plex_11.0.1
  Home:   https://github.com/llvm/llvm-project
  Commit: 9373c496c2eaeea19ed8e6c6d1b4ab0d488279fb
      https://github.com/llvm/llvm-project/commit/9373c496c2eaeea19ed8e6c6d1b4ab0d488279fb
  Author: Tobias Hieta <tobias at plex.tv>
  Date:   2020-12-29 (Tue, 29 Dec 2020)

  Changed paths:
    M llvm/cmake/modules/HandleLLVMOptions.cmake

  Log Message:
  -----------
  LTO: Pass more aggresive optimization options


  Commit: 153ed7e0b4da674decff9730f6164ebf7da8dbca
      https://github.com/llvm/llvm-project/commit/153ed7e0b4da674decff9730f6164ebf7da8dbca
  Author: Tobias Hieta <tobias at plex.tv>
  Date:   2020-12-29 (Tue, 29 Dec 2020)

  Changed paths:
    M llvm/cmake/modules/HandleLLVMOptions.cmake

  Log Message:
  -----------
  roll back some options


  Commit: bb798f2a85a50991ed05aa10d4146f5855d9b24f
      https://github.com/llvm/llvm-project/commit/bb798f2a85a50991ed05aa10d4146f5855d9b24f
  Author: Tobias Hieta <tobias at plex.tv>
  Date:   2020-12-29 (Tue, 29 Dec 2020)

  Changed paths:
    M llvm/tools/llvm-objcopy/CopyConfig.cpp
    M llvm/tools/llvm-objcopy/CopyConfig.h
    M llvm/tools/llvm-objcopy/InstallNameToolOpts.td
    M llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp

  Log Message:
  -----------
  Add support for -delete_all_rpaths to llvm-install-name-tool


  Commit: 470bc83efffe3e4b6a5a00ec47069a972b7db94d
      https://github.com/llvm/llvm-project/commit/470bc83efffe3e4b6a5a00ec47069a972b7db94d
  Author: Hafiz Abid Qadeer <abidh at codesourcery.com>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M libcxx/src/chrono.cpp

  Log Message:
  -----------
  [libc++] Check _LIBCPP_USE_CLOCK_GETTIME before using clock_gettime

The clock_gettime function is available when _POSIX_TIMERS is defined.
We check for this and set _LIBCPP_USE_CLOCK_GETTIME accordingly since
59b3102739c. But check for _LIBCPP_USE_CLOCK_GETTIME was removed in
babd3aefc91. As a result, code is now trying to use clock_gettime even
on platforms where it is not available and it is causing build failure
with newlib.

This patch restores the checks to fix this.

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


  Commit: dde4343cae5ecfa29b57c5af5043f3dfb3845ea1
      https://github.com/llvm/llvm-project/commit/dde4343cae5ecfa29b57c5af5043f3dfb3845ea1
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M libcxx/src/chrono.cpp

  Log Message:
  -----------
  [libc++] NFCI: Refactor chrono.cpp to make it easier to support new platforms

Also simplify a few conditionals along the way for readability.


  Commit: 579d0dc25dcd72e0a0a1411426c921cf01bfefe3
      https://github.com/llvm/llvm-project/commit/579d0dc25dcd72e0a0a1411426c921cf01bfefe3
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M libcxx/src/chrono.cpp
    M libcxx/test/std/utilities/time/time.clock/time.clock.steady/now.pass.cpp

  Log Message:
  -----------
  [libcxx] Avoid overflows in the windows __libcpp_steady_clock_now()

As freq.QuadValue can be in the range of 10000000 to 19200000,
the multiplication before division makes the calculation overflow
and wrap to negative values every 16-30 minutes.

Instead count the whole seconds separately before adding the
scaled fractional seconds.

Add a testcase for steady_clock to check that the values returned for
now() compare as bigger than the zero time origin; this
corresponds to a testcase in Qt [1] [2] (that failed spuriously
due to this).

[1] https://bugreports.qt.io/browse/QTBUG-89539
[2] https://code.qt.io/cgit/qt/qtbase.git/tree/tests/auto/corelib/kernel/qdeadlinetimer/tst_qdeadlinetimer.cpp?id=f8de5e54022b8b7471131b7ad55c83b69b2684c0#n569

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


  Commit: bbce4b6cb1e2b38c7aac416dcb5567f23c6d39d6
      https://github.com/llvm/llvm-project/commit/bbce4b6cb1e2b38c7aac416dcb5567f23c6d39d6
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2021-02-01 (Mon, 01 Feb 2021)

  Changed paths:
    M libcxx/src/chrono.cpp

  Log Message:
  -----------
  [libc++] Bring back mach_absolute_time implementation of steady_clock

This is meant to unblock Chrome, as discussed in https://llvm.org/D74489.

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


Compare: https://github.com/llvm/llvm-project/compare/9373c496c2ea%5E...bbce4b6cb1e2


More information about the All-commits mailing list