[Lldb-commits] [libcxx] [flang] [compiler-rt] [libc] [clang-tools-extra] [llvm] [clang] [libcxxabi] [lld] [lldb] [mlir] [Mips] Fix unable to handle inline assembly ends with compat-branch o… (PR #7729

2024-02-04 Thread via lldb-commits
yingopq wrote: > What assembly does GCC emit, and how does GNU as deal with that assembly? > That is, how do those two tools interact in the GNU world when dealing with > forbidden slots? All results were same: add nop after beqzc. ``` $ cat a.s .set reorder bbb: beqzc $t1, bbb

[Lldb-commits] [libcxx] [flang] [compiler-rt] [libc] [clang-tools-extra] [llvm] [clang] [libcxxabi] [lld] [lldb] [mlir] [Mips] Fix unable to handle inline assembly ends with compat-branch o… (PR #7729

2024-02-04 Thread via lldb-commits
yingopq wrote: > What assembly does GCC emit, and how does GNU as deal with that assembly? > That is, how do those two tools interact in the GNU world when dealing with > forbidden slots? All results were same: add nop after beqzc. ``` $ cat a.s .set reorder bbb: beqzc $t1, bbb

[Lldb-commits] [lldb] [lldb][libc++] Adds system_clock data formatters. (PR #78609)

2024-02-04 Thread Mark de Wever via lldb-commits
mordante wrote: @jasonmolenda I'm not using a mac, but based on your results I expect that `std::size_t` is a 64-bit _unsigned_ integer type. Is that correct? https://github.com/llvm/llvm-project/pull/78609 ___ lldb-commits mailing list lldb-commits@l

[Lldb-commits] [lldb] [lldb] Remove unused private TypeCategoryMap methods (NFC) (PR #80602)

2024-02-04 Thread Dave Lee via lldb-commits
https://github.com/kastiglione created https://github.com/llvm/llvm-project/pull/80602 None >From 8f2a96e57efb6b073c12903abbe4846f9be4e2ea Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Fri, 30 Jun 2023 17:02:02 -0700 Subject: [PATCH] [lldb] Remove unused private TypeCategoryMap methods (NFC)

[Lldb-commits] [lldb] [lldb] Remove unused private TypeCategoryMap methods (NFC) (PR #80602)

2024-02-04 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Dave Lee (kastiglione) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/80602.diff 1 Files Affected: - (modified) lldb/include/lldb/DataFormatters/TypeCategoryMap.h (-6) ``diff diff --git a/lldb/include/lldb/D

[Lldb-commits] [lldb] [lldb] Remove unnecessary FormatCache::GetEntry (NFC) (PR #80603)

2024-02-04 Thread Dave Lee via lldb-commits
https://github.com/kastiglione created https://github.com/llvm/llvm-project/pull/80603 None >From 28553f88104374a14858451858ef034f4298faae Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Thu, 1 Jun 2023 16:57:04 -0700 Subject: [PATCH] [lldb] Remove unnecessary FormatCache::GetEntry (NFC) --- l

[Lldb-commits] [lldb] [lldb] Remove unnecessary FormatCache::GetEntry (NFC) (PR #80603)

2024-02-04 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Dave Lee (kastiglione) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/80603.diff 2 Files Affected: - (modified) lldb/include/lldb/DataFormatters/FormatCache.h (+1-4) - (modified) lldb/source/DataFormatters/FormatCache

[Lldb-commits] [lldb] [lldb] Remove unnecessary FormatCache::GetEntry (NFC) (PR #80603)

2024-02-04 Thread Dave Lee via lldb-commits
https://github.com/kastiglione edited https://github.com/llvm/llvm-project/pull/80603 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][libc++] Adds valarray data formatters. (PR #80609)

2024-02-04 Thread Mark de Wever via lldb-commits
https://github.com/mordante created https://github.com/llvm/llvm-project/pull/80609 The code is heavily based on the vector data formatter. >From 12b03c9ff9f6ddb0a011d8f958e3a826bd7603b9 Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sun, 4 Feb 2024 18:46:50 +0100 Subject: [PATCH] [lldb][l

[Lldb-commits] [lldb] [lldb][libc++] Adds valarray data formatters. (PR #80609)

2024-02-04 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Mark de Wever (mordante) Changes The code is heavily based on the vector data formatter. --- Full diff: https://github.com/llvm/llvm-project/pull/80609.diff 7 Files Affected: - (modified) lldb/source/Plugins/Language/CPlusPlus/CMakeLists

[Lldb-commits] [lldb] [lldb] Remove unnecessary FormatCache::GetEntry (NFC) (PR #80603)

2024-02-04 Thread Jonas Devlieghere via lldb-commits
https://github.com/JDevlieghere approved this pull request. https://github.com/llvm/llvm-project/pull/80603 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb] Remove unnecessary FormatCache::GetEntry (NFC) (PR #80603)

2024-02-04 Thread Dave Lee via lldb-commits
https://github.com/kastiglione closed https://github.com/llvm/llvm-project/pull/80603 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] 9ff83f1 - [lldb] Remove unnecessary FormatCache::GetEntry (NFC) (#80603)

2024-02-04 Thread via lldb-commits
Author: Dave Lee Date: 2024-02-04T11:47:24-08:00 New Revision: 9ff83f12fe406f9c3c6b2cd0ee96660a7485f29f URL: https://github.com/llvm/llvm-project/commit/9ff83f12fe406f9c3c6b2cd0ee96660a7485f29f DIFF: https://github.com/llvm/llvm-project/commit/9ff83f12fe406f9c3c6b2cd0ee96660a7485f29f.diff LOG:

[Lldb-commits] [lldb] [lldb] Cleanup regex in libcxx formatters (NFC) (PR #80618)

2024-02-04 Thread Dave Lee via lldb-commits
https://github.com/kastiglione created https://github.com/llvm/llvm-project/pull/80618 None >From 9381ad39a74ed10446d1832813dfb1d5cfb24758 Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Sun, 4 Feb 2024 13:15:58 -0800 Subject: [PATCH] [lldb] Cleanup regex in libcxx formatters (NFC) --- .../Plu

[Lldb-commits] [lldb] [lldb] Cleanup regex in libcxx formatters (NFC) (PR #80618)

2024-02-04 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Dave Lee (kastiglione) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/80618.diff 1 Files Affected: - (modified) lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp (+6-6) ``diff diff --git a/lldb/s

[Lldb-commits] [lldb] [lldb] Cleanup regex in libcxx formatters (NFC) (PR #80618)

2024-02-04 Thread Dave Lee via lldb-commits
https://github.com/kastiglione edited https://github.com/llvm/llvm-project/pull/80618 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][TypeSynthetic][NFC] Make SyntheticChildrenFrontend::Update() return an enum (PR #80167)

2024-02-04 Thread Michael Buch via lldb-commits
Michael137 wrote: ping https://github.com/llvm/llvm-project/pull/80167 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][libc++] Adds valarray data formatters. (PR #80609)

2024-02-04 Thread Michael Buch via lldb-commits
@@ -871,6 +876,10 @@ static void LoadLibCxxFormatters(lldb::TypeCategoryImplSP cpp_category_sp) { lldb_private::formatters::LibcxxContainerSummaryProvider, "libc++ std::vector summary provider", "^std::__[[:alnum:]]+::vector<.+>$

[Lldb-commits] [lldb] [lldb][libc++] Adds valarray data formatters. (PR #80609)

2024-02-04 Thread Michael Buch via lldb-commits
@@ -0,0 +1,140 @@ +//===-- LibCxxValarray.cpp ===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[Lldb-commits] [lldb] [lldb][libc++] Adds valarray data formatters. (PR #80609)

2024-02-04 Thread Michael Buch via lldb-commits
@@ -0,0 +1,140 @@ +//===-- LibCxxValarray.cpp ===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[Lldb-commits] [lldb] [lldb][libc++] Adds valarray data formatters. (PR #80609)

2024-02-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 approved this pull request. LGTM to me generally (just some minor stylistic comments) https://github.com/llvm/llvm-project/pull/80609 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin

[Lldb-commits] [lldb] [lldb][libc++] Adds valarray data formatters. (PR #80609)

2024-02-04 Thread Michael Buch via lldb-commits
@@ -750,6 +750,11 @@ static void LoadLibCxxFormatters(lldb::TypeCategoryImplSP cpp_category_sp) { lldb_private::formatters::LibcxxStdVectorSyntheticFrontEndCreator, "libc++ std::vector synthetic children", "^std::__[[:alnum:]]+::vector<.+>$", stl_deref_flags,

[Lldb-commits] [lldb] [lldb][libc++] Adds valarray data formatters. (PR #80609)

2024-02-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 edited https://github.com/llvm/llvm-project/pull/80609 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][libc++] Adds valarray data formatters. (PR #80609)

2024-02-04 Thread Michael Buch via lldb-commits
@@ -0,0 +1,140 @@ +//===-- LibCxxValarray.cpp ===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[Lldb-commits] [lldb] [lldb] Cleanup regex in libcxx formatters (NFC) (PR #80618)

2024-02-04 Thread Michael Buch via lldb-commits
https://github.com/Michael137 approved this pull request. https://github.com/llvm/llvm-project/pull/80618 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][libc++] Adds valarray data formatters. (PR #80609)

2024-02-04 Thread Dave Lee via lldb-commits
@@ -750,6 +750,11 @@ static void LoadLibCxxFormatters(lldb::TypeCategoryImplSP cpp_category_sp) { lldb_private::formatters::LibcxxStdVectorSyntheticFrontEndCreator, "libc++ std::vector synthetic children", "^std::__[[:alnum:]]+::vector<.+>$", stl_deref_flags,

[Lldb-commits] [lldb] [lldb][TypeSynthetic][NFC] Make SyntheticChildrenFrontend::Update() return an enum (PR #80167)

2024-02-04 Thread Dave Lee via lldb-commits
https://github.com/kastiglione approved this pull request. 🚢 https://github.com/llvm/llvm-project/pull/80167 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][libc++] Adds system_clock data formatters. (PR #78609)

2024-02-04 Thread Michael Buch via lldb-commits
Michael137 wrote: tbf, we are casting the value to an uint64_t and printing it with a `PRIu64`, right?: ``` stream.Printf("timestamp=%" PRIu64 " s", static_cast(seconds)) ``` So how would we ever expect a `-1096193779200` here? https://github.com/llvm/llvm-project/pull/78609 __

[Lldb-commits] [lldb] [lldb][TypeSynthetic][NFC] Make SyntheticChildrenFrontend::Update() return an enum (PR #80167)

2024-02-04 Thread Michael Buch via lldb-commits
Michael137 wrote: Will land after https://github.com/llvm/llvm-project/pull/80609 to not disrupt that patch https://github.com/llvm/llvm-project/pull/80167 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailma

[Lldb-commits] [llvm] [clang] [clang-tools-extra] [libc] [libcxx] [flang] [mlir] [openmp] [compiler-rt] [lldb] [lld] [Driver] Report invalid target triple versions for all environment types. (PR #7865

2024-02-04 Thread via lldb-commits
https://github.com/ZijunZhaoCCK closed https://github.com/llvm/llvm-project/pull/78655 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [libcxxabi] [flang] [compiler-rt] [lld] [libc] [llvm] [libcxx] [clang] [clang-tools-extra] [TTI][RISCV]Improve costs for fixed vector whole reg extract/insert. (PR #80164)

2024-02-04 Thread Luke Lau via lldb-commits
@@ -326,6 +326,48 @@ InstructionCost RISCVTTIImpl::getShuffleCost(TTI::ShuffleKind Kind, switch (Kind) { default: break; +case TTI::SK_ExtractSubvector: + if (isa(SubTp) && + LT.second.getVectorElementType() != MVT::i1) { +unsigned TpReg

[Lldb-commits] [clang-tools-extra] [libcxxabi] [lldb] [libcxx] [clang] [libc] [lld] [flang] [compiler-rt] [llvm] [TTI][RISCV]Improve costs for fixed vector whole reg extract/insert. (PR #80164)

2024-02-04 Thread Luke Lau via lldb-commits
@@ -326,6 +326,48 @@ InstructionCost RISCVTTIImpl::getShuffleCost(TTI::ShuffleKind Kind, switch (Kind) { default: break; +case TTI::SK_ExtractSubvector: + if (isa(SubTp) && + LT.second.getVectorElementType() != MVT::i1) { +unsigned TpReg