[all-commits] [llvm/llvm-project] 45b360: [clang] Disable C++14 sized deallocation by defaul...

Paul Kirth via All-commits all-commits at lists.llvm.org
Mon Jul 1 15:30:14 PDT 2024


  Branch: refs/heads/users/ilovepi/spr/main.riscvlld-support-merging-risc-v-atomics-abi-attributes
  Home:   https://github.com/llvm/llvm-project
  Commit: 45b360d4a2c751dd5afa0c676e2badf46cd29f01
      https://github.com/llvm/llvm-project/commit/45b360d4a2c751dd5afa0c676e2badf46cd29f01
  Author: Martin Storsjö <martin at martin.st>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M clang/lib/Driver/ToolChains/MinGW.cpp
    M clang/unittests/StaticAnalyzer/CallEventTest.cpp

  Log Message:
  -----------
  [clang] Disable C++14 sized deallocation by default for MinGW targets (#97232)

This reverts 130e93cc26ca9d3ac50ec5a92e3109577ca2e702 for the MinGW
target.

This avoids the issue that is discussed in
https://github.com/llvm/llvm-project/issues/96899 (and which is
summarized in the code comment). This is intended as a temporary
workaround until the issue is handled better within libc++.


  Commit: 9f03bc3794423512dbca21accc21c98fe7b82b57
      https://github.com/llvm/llvm-project/commit/9f03bc3794423512dbca21accc21c98fe7b82b57
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.h

  Log Message:
  -----------
  [MC] Remove unneeded MC*AsmBackend::fixupNeedsRelaxation overrides

Follow-up to 88c0a8258800bbc72e7c0b0586436d4a1c62a260
("[MC] Make MCAsmBackend::fixupNeedsRelaxation not pure virtual").


  Commit: 3eb795cd0f0c30791a47db105382e275416fdd4f
      https://github.com/llvm/llvm-project/commit/3eb795cd0f0c30791a47db105382e275416fdd4f
  Author: Brad Smith <brad at comstyle.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M third-party/benchmark/src/sysinfo.cc

  Log Message:
  -----------
  [benchmark] Fix OpenBSD build (#97269)

(cherry picked from commit f3ec7b8820ca8136c4e1dad4552608b51b47831a)


  Commit: 7c83b7ef1796210451b839f4c58f2815f4aedfe5
      https://github.com/llvm/llvm-project/commit/7c83b7ef1796210451b839f4c58f2815f4aedfe5
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmBackend.h
    M llvm/lib/MC/MCAsmBackend.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUAsmBackend.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYAsmBackend.cpp
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYAsmBackend.h
    M llvm/lib/Target/M68k/MCTargetDesc/M68kAsmBackend.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp

  Log Message:
  -----------
  [MC] Remove two unused parameters from MCAsmBackend::fixupNeedsRelaxation

fixupNeedsRelaxation is a simple implementation for
fixupNeedsRelaxationAdvanced. Its users do not utilize MCAsmLayout or
MCRelaxableFragment.

Follow-up to 22c7317f1e954b34a46640db5d509bae1c633348
("[MC] Remove the MCAsmLayout parameter from relocation related functions").


  Commit: c686f0cc90b5d322347e4e2f29901e018957cc86
      https://github.com/llvm/llvm-project/commit/c686f0cc90b5d322347e4e2f29901e018957cc86
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/MC/MachObjectWriter.cpp

  Log Message:
  -----------
  MachObjectWrite::reset: clear SectionAddress and SectionOrder

Otherwise llvm/test/MC/MachO/empty-twice.ll might fail.

Fixes: 7840c0066837797cdeb62aab63044b964aa7f372 ("[MC] Move MCAsmLayout::SectionOrder to MachObjectWriter::SectionOrder")


  Commit: f5dd8450940b003afb446846840cd19b067d327d
      https://github.com/llvm/llvm-project/commit/f5dd8450940b003afb446846840cd19b067d327d
  Author: Muhammad Omair Javaid <omair.javaid at linaro.org>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py

  Log Message:
  -----------
  [LLDB] SkipIf TestPythonOSPlugin.py on Windows

test_run_python_os_step in TestPythonOSPlugin.py fails on Windows
after PR #97043. The test passes when run individually using dotest.py.

I have marked this skipped for windows to make LLDB AArch64 Windows
buildbot happy.

https://github.com/llvm/llvm-project/commit/a4c18137d84bc48df49ee0101bef465a955e62ac
https://lab.llvm.org/buildbot/#/builders/141/builds/379


  Commit: 95038a58268f8aeb7e35ce07fd82bbb3f48e4673
      https://github.com/llvm/llvm-project/commit/95038a58268f8aeb7e35ce07fd82bbb3f48e4673
  Author: Muhammad Omair Javaid <omair.javaid at linaro.org>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py

  Log Message:
  -----------
  [LLDB] Import decorators in TestPythonOSPlugin.py

This fixes a regression caused by my commit where I added test
as skipped using a decorator but forgot to add import decorator
in TestPythonOSPlugin.py


  Commit: 8f7887ad5347f23bac008dad4bfdbab1af5815f7
      https://github.com/llvm/llvm-project/commit/8f7887ad5347f23bac008dad4bfdbab1af5815f7
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmBackend.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.h
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.h

  Log Message:
  -----------
  [MC] Remove the MCAsmLayout parameter from MCAsmBackend::relax*

finishLayout is now the only member function that has a MCAsmLayout
parameter.


  Commit: 0a8d5f4e599fca394610a690e026c0460fc43270
      https://github.com/llvm/llvm-project/commit/0a8d5f4e599fca394610a690e026c0460fc43270
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M flang/lib/Optimizer/Builder/TemporaryStorage.cpp

  Log Message:
  -----------
  [flang] Use std::make_unique (NFC) (#97238)

This patch is based on clang-tidy's modernize-make-unique but limited
to those cases where type names are mentioned twice like
std::unique_ptr<Type>(new Type()), which is a bit mouthful.


  Commit: 1dc5000cf83a013fc79cc1fa1a215f014ac77451
      https://github.com/llvm/llvm-project/commit/1dc5000cf83a013fc79cc1fa1a215f014ac77451
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp

  Log Message:
  -----------
  [IndirectCallPromotion] Use ArrayRef<PromotionCandidate> (NFC) (#97236)

Aside from the fact that LLVM Programmer's Manual prefers ArrayRef to
const std::vector &, ArrayRef<PromotionCandidate> here makes it easier
to switch the underlying type to something like SmallVector.  Note
that we typically do not have a lot of candidates.


  Commit: 6d2b4272edf232b105203747c179320aa0aefa11
      https://github.com/llvm/llvm-project/commit/6d2b4272edf232b105203747c179320aa0aefa11
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/include/llvm/Analysis/IndirectCallPromotionAnalysis.h
    M llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp

  Log Message:
  -----------
  [Analysis] Migrate to a new version of getValueProfDataFromInst (#97234)

This patch migrates a use of getValueProfDataFromInst in the indirect
call promotion to a new version.

Without this patch, getProfitablePromotionCandidates is a little
strange in that it takes value profiling data from member variable
ValueDataArray while taking its length as a function parameter.  This
patch rectifies that by teaching the function to refer to
ValueDataArray, which is now a SmallVector.


  Commit: 58004e5bb74de607f2f81649fd5a8db3ee318528
      https://github.com/llvm/llvm-project/commit/58004e5bb74de607f2f81649fd5a8db3ee318528
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M bolt/test/X86/reader-stale-yaml-std.test

  Log Message:
  -----------
  [BOLT,test] Temporarily unsupport reader-stale-yaml-std.test

This test from #74253 relies on particular hash values from Hashing.h.
The test fails in LLVM_ENABLE_ABI_BREAKING_CHECKS=on modes (#96282) or
whenever Hashing.h implementation changes.


  Commit: 1ddcf1e1f0c9564b440013ff31d205dc0f99eee3
      https://github.com/llvm/llvm-project/commit/1ddcf1e1f0c9564b440013ff31d205dc0f99eee3
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M bolt/test/X86/reader-stale-yaml-std.test
    M clang/lib/Driver/ToolChains/MinGW.cpp
    M clang/unittests/StaticAnalyzer/CallEventTest.cpp
    M flang/lib/Optimizer/Builder/TemporaryStorage.cpp
    M lld/ELF/Arch/RISCV.cpp
    M lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py
    M llvm/include/llvm/Analysis/IndirectCallPromotionAnalysis.h
    M llvm/include/llvm/MC/MCAsmBackend.h
    M llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp
    M llvm/lib/MC/MCAsmBackend.cpp
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MachObjectWriter.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUAsmBackend.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
    M llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYAsmBackend.cpp
    M llvm/lib/Target/CSKY/MCTargetDesc/CSKYAsmBackend.h
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.cpp
    M llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchAsmBackend.h
    M llvm/lib/Target/M68k/MCTargetDesc/M68kAsmBackend.cpp
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.h
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
    M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
    M third-party/benchmark/src/sysinfo.cc

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

Created using spr 1.3.4

[skip ci]


Compare: https://github.com/llvm/llvm-project/compare/96783402676d...1ddcf1e1f0c9

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