[Lldb-commits] [clang] [libcxxabi] [flang] [clang-tools-extra] [compiler-rt] [mlir] [lldb] [llvm] [mlir][complex] Prevent underflow in complex.abs (PR #76316)

2024-01-25 Thread Kai Sasaki via lldb-commits
https://github.com/Lewuathe updated https://github.com/llvm/llvm-project/pull/76316 >From a5810363e546da073543cb2d62cceb956c46b2e6 Mon Sep 17 00:00:00 2001 From: Kai Sasaki Date: Fri, 15 Dec 2023 15:53:54 +0900 Subject: [PATCH 1/2] [mlir][complex] Prevent underflow in complex.abs ---

[Lldb-commits] [libcxx] [llvm] [clang-tools-extra] [lld] [openmp] [lldb] [mlir] [flang] [libunwind] [libcxxabi] [compiler-rt] [libc] [clang] [clang] static operators should evaluate object argument (P

2024-01-25 Thread Tianlan Zhou via lldb-commits
https://github.com/SuperSodaSea updated https://github.com/llvm/llvm-project/pull/68485 >From 03276260c48d9cafb2a0d80825156e77cdf02eba Mon Sep 17 00:00:00 2001 From: SuperSodaSea Date: Sat, 7 Oct 2023 21:05:17 +0800 Subject: [PATCH 01/15] [clang] static operators should evaluate object

[Lldb-commits] [libunwind] [mlir] [llvm] [compiler-rt] [clang-tools-extra] [lldb] [libcxx] [libc] [clang] [lld] [flang] Reland: [libc++][format] P2637R3: Member visit (std::basic_format_arg) #76449 (P

2024-01-25 Thread Hristo Hristov via lldb-commits
https://github.com/H-G-Hristov updated https://github.com/llvm/llvm-project/pull/79032 >From e03452fda84a5284420bba1913299b68caabb6cd Mon Sep 17 00:00:00 2001 From: Zingam Date: Mon, 22 Jan 2024 20:35:00 +0200 Subject: [PATCH 1/6] Revert "Revert "[libc++][format] P2637R3: Member `visit`

[Lldb-commits] [libunwind] [mlir] [llvm] [compiler-rt] [clang-tools-extra] [lldb] [libcxx] [libc] [clang] [lld] [flang] Reland: [libc++][format] P2637R3: Member visit (std::basic_format_arg) #76449 (P

2024-01-25 Thread Hristo Hristov via lldb-commits
https://github.com/H-G-Hristov updated https://github.com/llvm/llvm-project/pull/79032 >From e03452fda84a5284420bba1913299b68caabb6cd Mon Sep 17 00:00:00 2001 From: Zingam Date: Mon, 22 Jan 2024 20:35:00 +0200 Subject: [PATCH 1/6] Revert "Revert "[libc++][format] P2637R3: Member `visit`

[Lldb-commits] [libunwind] [clang-tools-extra] [libc] [clang] [lld] [mlir] [lldb] [compiler-rt] [libcxx] [llvm] [flang] Reland: [libc++][format] P2637R3: Member visit (std::basic_format_arg) #76449 (P

2024-01-25 Thread Hristo Hristov via lldb-commits
https://github.com/H-G-Hristov updated https://github.com/llvm/llvm-project/pull/79032 >From e03452fda84a5284420bba1913299b68caabb6cd Mon Sep 17 00:00:00 2001 From: Zingam Date: Mon, 22 Jan 2024 20:35:00 +0200 Subject: [PATCH 1/5] Revert "Revert "[libc++][format] P2637R3: Member `visit`

[Lldb-commits] [libunwind] [clang-tools-extra] [libc] [clang] [lld] [mlir] [lldb] [compiler-rt] [libcxx] [llvm] [flang] Reland: [libc++][format] P2637R3: Member visit (std::basic_format_arg) #76449 (P

2024-01-25 Thread Hristo Hristov via lldb-commits
https://github.com/H-G-Hristov updated https://github.com/llvm/llvm-project/pull/79032 >From e03452fda84a5284420bba1913299b68caabb6cd Mon Sep 17 00:00:00 2001 From: Zingam Date: Mon, 22 Jan 2024 20:35:00 +0200 Subject: [PATCH 1/4] Revert "Revert "[libc++][format] P2637R3: Member `visit`

[Lldb-commits] [libunwind] [clang-tools-extra] [libc] [clang] [lld] [mlir] [lldb] [compiler-rt] [libcxx] [llvm] [flang] Reland: [libc++][format] P2637R3: Member visit (std::basic_format_arg) #76449 (P

2024-01-25 Thread Hristo Hristov via lldb-commits
https://github.com/H-G-Hristov updated https://github.com/llvm/llvm-project/pull/79032 >From e03452fda84a5284420bba1913299b68caabb6cd Mon Sep 17 00:00:00 2001 From: Zingam Date: Mon, 22 Jan 2024 20:35:00 +0200 Subject: [PATCH 1/3] Revert "Revert "[libc++][format] P2637R3: Member `visit`

[Lldb-commits] [llvm] [libcxx] [flang] [compiler-rt] [lld] [libc] [lldb] [clang-tools-extra] [clang] [mlir] [libunwind] Reland: [libc++][format] P2637R3: Member visit (std::basic_format_arg) #76449 (P

2024-01-25 Thread Hristo Hristov via lldb-commits
https://github.com/Zingam updated https://github.com/llvm/llvm-project/pull/79032 >From e03452fda84a5284420bba1913299b68caabb6cd Mon Sep 17 00:00:00 2001 From: Zingam Date: Mon, 22 Jan 2024 20:35:00 +0200 Subject: [PATCH 1/2] Revert "Revert "[libc++][format] P2637R3: Member `visit`

[Lldb-commits] [libunwind] [llvm] [libcxx] [clang] [flang] [openmp] [mlir] [compiler-rt] [clang-tools-extra] [lld] [lldb] [libc] [libcxxabi] [clang] static operators should evaluate object argument (P

2024-01-25 Thread Tianlan Zhou via lldb-commits
https://github.com/SuperSodaSea updated https://github.com/llvm/llvm-project/pull/68485 >From 03276260c48d9cafb2a0d80825156e77cdf02eba Mon Sep 17 00:00:00 2001 From: SuperSodaSea Date: Sat, 7 Oct 2023 21:05:17 +0800 Subject: [PATCH 01/15] [clang] static operators should evaluate object

[Lldb-commits] [libcxx] [libcxxabi] [lld] [clang-tools-extra] [lldb] [clang] [llvm] [compiler-rt] [mlir] [libc] [flang] [clang-format] Add ShortReturnTypeColumn option. (PR #78011)

2024-01-25 Thread via lldb-commits
https://github.com/rmarker updated https://github.com/llvm/llvm-project/pull/78011 >From c4d28f82e108f9f12ccd0375e2a3502025b8c1e8 Mon Sep 17 00:00:00 2001 From: rmarker Date: Thu, 11 Jan 2024 15:01:18 +1030 Subject: [PATCH 1/4] [clang-format] Add ShortReturnTypeLength option. ---

[Lldb-commits] [libcxx] [libcxxabi] [clang-tools-extra] [clang] [lld] [lldb] [libunwind] [llvm] [compiler-rt] [mlir] [libc] [openmp] [flang] [clang] static operators should evaluate object argument (P

2024-01-25 Thread Tianlan Zhou via lldb-commits
https://github.com/SuperSodaSea updated https://github.com/llvm/llvm-project/pull/68485 >From 03276260c48d9cafb2a0d80825156e77cdf02eba Mon Sep 17 00:00:00 2001 From: SuperSodaSea Date: Sat, 7 Oct 2023 21:05:17 +0800 Subject: [PATCH 01/15] [clang] static operators should evaluate object

[Lldb-commits] [libcxx] [clang] [clang-tools-extra] [lld] [libunwind] [lldb] [llvm] [compiler-rt] [mlir] [libc] [libclc] [flang] [mlir][python] Fix generation of Python bindings for `async` dialect (P

2024-01-25 Thread Abhishek Kulkarni via lldb-commits
https://github.com/adk9 edited https://github.com/llvm/llvm-project/pull/75960 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lld] [clang-tools-extra] [mlir] [compiler-rt] [clang] [flang] [libclc] [libunwind] [llvm] [libcxx] [libc] [mlir][python] Fix generation of python bindings for `async` dialect (P

2024-01-25 Thread Abhishek Kulkarni via lldb-commits
https://github.com/adk9 edited https://github.com/llvm/llvm-project/pull/75960 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lld] [clang-tools-extra] [mlir] [compiler-rt] [clang] [flang] [libclc] [libunwind] [llvm] [libcxx] [libc] [mlir][python] Fix generation of python bindings for async dialect (PR

2024-01-25 Thread Abhishek Kulkarni via lldb-commits
https://github.com/adk9 updated https://github.com/llvm/llvm-project/pull/75960 >From a43ef7289cd7f5353fc4b365566011b93879e8f6 Mon Sep 17 00:00:00 2001 From: Abhishek Kulkarni Date: Tue, 19 Dec 2023 10:50:26 -0800 Subject: [PATCH] Fix generation of python bindings for async dialect ---

[Lldb-commits] [flang] [clang-tools-extra] [libcxx] [libc] [llvm] [lld] [lldb] [clang] [compiler-rt] Make clang report invalid target versions for all environment types. (PR #78655)

2024-01-25 Thread via lldb-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/78655 >From f440f44e7e270d4636ad39f4e4223c904e496d3a Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Fri, 19 Jan 2024 00:47:05 + Subject: [PATCH 1/5] Make clang report invalid target versions for all

[Lldb-commits] [flang] [clang-tools-extra] [libcxx] [libc] [llvm] [lld] [lldb] [clang] [compiler-rt] Make clang report invalid target versions for all environment types. (PR #78655)

2024-01-25 Thread via lldb-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/78655 >From f440f44e7e270d4636ad39f4e4223c904e496d3a Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Fri, 19 Jan 2024 00:47:05 + Subject: [PATCH 1/4] Make clang report invalid target versions for all

[Lldb-commits] [lldb] [lldb][progress][NFC] Add unit test for progress reports (PR #79533)

2024-01-25 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Chelsea Cassanova (chelcassanova) Changes This test is being added as a way to check the behaviour of how progress events are broadcasted when reports are started and ended with the current implementation of progress reports. Here we're

[Lldb-commits] [llvm] [openmp] [flang] [mlir] [lldb] [mlir][Vector] Add patterns for efficient i4 -> i8 conversion emulation (PR #79494)

2024-01-25 Thread Diego Caballero via lldb-commits
https://github.com/dcaballe updated https://github.com/llvm/llvm-project/pull/79494 >From b8fb65dd1e65c36cfb2104e5f35179faa6011552 Mon Sep 17 00:00:00 2001 From: Diego Caballero Date: Thu, 25 Jan 2024 02:39:14 + Subject: [PATCH] [mlir][Vector] Add patterns for efficient i4 -> i8 conversion

[Lldb-commits] [lldb] [lldb][progress][NFC] Add unit test for progress reports (PR #79533)

2024-01-25 Thread Chelsea Cassanova via lldb-commits
https://github.com/chelcassanova created https://github.com/llvm/llvm-project/pull/79533 This test is being added as a way to check the behaviour of how progress events are broadcasted when reports are started and ended with the current implementation of progress reports. Here we're mainly

[Lldb-commits] [clang] [clang-tools-extra] [llvm] [flang] [mlir] [lldb] [mlir][complex] Prevent underflow in complex.abs (PR #76316)

2024-01-25 Thread Kai Sasaki via lldb-commits
https://github.com/Lewuathe updated https://github.com/llvm/llvm-project/pull/76316 >From a5810363e546da073543cb2d62cceb956c46b2e6 Mon Sep 17 00:00:00 2001 From: Kai Sasaki Date: Fri, 15 Dec 2023 15:53:54 +0900 Subject: [PATCH 1/2] [mlir][complex] Prevent underflow in complex.abs ---

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

2024-01-25 Thread Jason Molenda via lldb-commits
jasonmolenda wrote: I commented out the two tests that are failing on macOS temporarily so you'd have a chance to look at this. If you don't have access to macOS (I assume this is working on Linux or whatever), @Michael137 or I can look into it. Thanks. ``` commit

[Lldb-commits] [lldb] ba45ad1 - Temporarily disable two libcxx chrono formatter tests

2024-01-25 Thread Jason Molenda via lldb-commits
Author: Jason Molenda Date: 2024-01-25T16:30:14-08:00 New Revision: ba45ad160e3f329aeb02c19eaf18af27fa423d85 URL: https://github.com/llvm/llvm-project/commit/ba45ad160e3f329aeb02c19eaf18af27fa423d85 DIFF: https://github.com/llvm/llvm-project/commit/ba45ad160e3f329aeb02c19eaf18af27fa423d85.diff

[Lldb-commits] [clang-tools-extra] [lldb] [lld] [libc] [clang] [llvm] [libcxx] [flang] [compiler-rt] [mlir] [clang-format] Add ShortReturnTypeColumn option. (PR #78011)

2024-01-25 Thread via lldb-commits
https://github.com/rmarker updated https://github.com/llvm/llvm-project/pull/78011 >From c4d28f82e108f9f12ccd0375e2a3502025b8c1e8 Mon Sep 17 00:00:00 2001 From: rmarker Date: Thu, 11 Jan 2024 15:01:18 +1030 Subject: [PATCH 1/4] [clang-format] Add ShortReturnTypeLength option. ---

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

2024-01-25 Thread Jason Molenda via lldb-commits
jasonmolenda wrote: @mordante I'm seeing failures on the macOS bots (and on my desktop) with TestDataFormatterLibcxxChrono.py, the test self.expect( "frame variable ss_neg_date_time", substrs=[ "ss_neg_date_time = date/time=-32767-01-01T00:00:00Z

[Lldb-commits] [libcxx] [llvm] [clang-tools-extra] [clang] [lldb] [flang] [openmp] [libc] [mlir] [BOLT] Deduplicate equal offsets in BAT (PR #76905)

2024-01-25 Thread Amir Ayupov via lldb-commits
https://github.com/aaupov closed https://github.com/llvm/llvm-project/pull/76905 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [libcxx] [llvm] [clang-tools-extra] [clang] [lldb] [flang] [openmp] [libc] [mlir] [BOLT] Deduplicate equal offsets in BAT (PR #76905)

2024-01-25 Thread Amir Ayupov via lldb-commits
https://github.com/aaupov edited https://github.com/llvm/llvm-project/pull/76905 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][NFCI] Change BreakpointIDList::FindBreakpointID to BreakpointIDList::Contains (PR #79517)

2024-01-25 Thread Jason Molenda via lldb-commits
https://github.com/jasonmolenda approved this pull request. LGTM. https://github.com/llvm/llvm-project/pull/79517 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][NFCI] Change BreakpointIDList::FindBreakpointID to BreakpointIDList::Contains (PR #79517)

2024-01-25 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Alex Langford (bulbazord) Changes `FindBreakpointID` take a BreakpointID and a pointer to a size_t (so you can get position information). It returns a bool to indicate whether the id was found in the list or not. There are 2 callers of

[Lldb-commits] [lldb] [lldb][NFCI] Change BreakpointIDList::FindBreakpointID to BreakpointIDList::Contains (PR #79517)

2024-01-25 Thread Alex Langford via lldb-commits
https://github.com/bulbazord created https://github.com/llvm/llvm-project/pull/79517 `FindBreakpointID` take a BreakpointID and a pointer to a size_t (so you can get position information). It returns a bool to indicate whether the id was found in the list or not. There are 2 callers of this

[Lldb-commits] [lld] [llvm] [clang] [flang] [libc] [libclc] [lldb] [libcxx] [libcxxabi] [clang-tools-extra] [compiler-rt] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread via lldb-commits
https://github.com/ayalz edited https://github.com/llvm/llvm-project/pull/78113 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [flang] [llvm] [clang] [libclc] [libcxx] [libc] [libcxxabi] [clang-tools-extra] [compiler-rt] [lld] [lldb] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread via lldb-commits
@@ -491,17 +491,38 @@ void VPlanTransforms::removeDeadRecipes(VPlan ) { static VPValue *createScalarIVSteps(VPlan , const InductionDescriptor , ScalarEvolution , Instruction *TruncI, -Type *IVTy, VPValue

[Lldb-commits] [compiler-rt] [lld] [lldb] [clang] [libcxx] [llvm] [libcxxabi] [flang] [clang-tools-extra] [libc] [libclc] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread via lldb-commits
https://github.com/ayalz commented: Missing an update of ResultTy, and possibly some test(s)? https://github.com/llvm/llvm-project/pull/78113 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [compiler-rt] [lld] [lldb] [clang] [libcxx] [llvm] [libcxxabi] [mlir] [flang] [clang-tools-extra] [libc] [libclc] [ELF] Add internal InputFile (PR #78944)

2024-01-25 Thread Andrew Ng via lldb-commits
nga888 wrote: Sorry for the delay to reply but I've been more busy of late. I can confirm that it was a downstream code path which was calling `getFile()` for a `SyntheticSection` that was causing the assertion. This downstream code was effectively ignoring

[Lldb-commits] [compiler-rt] [lld] [lldb] [clang] [libcxx] [llvm] [libcxxabi] [flang] [clang-tools-extra] [libc] [libclc] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/78113 >From 36b085f21b76d7bf7c9965a86a09d1cef4fe9329 Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Sun, 14 Jan 2024 14:13:08 + Subject: [PATCH 1/8] [VPlan] Add new VPUniformPerUFRecipe, use for step truncation.

[Lldb-commits] [libcxxabi] [lld] [llvm] [lldb] [compiler-rt] [clang-tools-extra] [libc] [libclc] [flang] [libcxx] [clang] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -491,17 +491,39 @@ void VPlanTransforms::removeDeadRecipes(VPlan ) { static VPValue *createScalarIVSteps(VPlan , const InductionDescriptor , ScalarEvolution , Instruction *TruncI, -Type *IVTy, VPValue

[Lldb-commits] [lld] [llvm] [clang] [flang] [libc] [libclc] [lldb] [libcxx] [libcxxabi] [clang-tools-extra] [compiler-rt] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -491,19 +491,41 @@ void VPlanTransforms::removeDeadRecipes(VPlan ) { static VPValue *createScalarIVSteps(VPlan , const InductionDescriptor , ScalarEvolution , Instruction *TruncI, -Type *IVTy, VPValue

[Lldb-commits] [clang] [compiler-rt] [flang] [libcxx] [libc] [lldb] [lld] [libcxxabi] [llvm] [libclc] [clang-tools-extra] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -491,19 +491,41 @@ void VPlanTransforms::removeDeadRecipes(VPlan ) { static VPValue *createScalarIVSteps(VPlan , const InductionDescriptor , ScalarEvolution , Instruction *TruncI, -Type *IVTy, VPValue

[Lldb-commits] [clang] [clang-tools-extra] [lld] [libcxxabi] [lldb] [llvm] [compiler-rt] [libc] [libcxx] [libclc] [flang] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
https://github.com/fhahn commented: Missed comments should be addressed now, seems I missed them in the GitHub UI somehow https://github.com/llvm/llvm-project/pull/78113 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [libcxx] [llvm] [libcxxabi] [clang] [clang-tools-extra] [flang] [libclc] [lld] [compiler-rt] [lldb] [libc] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -491,19 +491,41 @@ void VPlanTransforms::removeDeadRecipes(VPlan ) { static VPValue *createScalarIVSteps(VPlan , const InductionDescriptor , ScalarEvolution , Instruction *TruncI, -Type *IVTy, VPValue

[Lldb-commits] [compiler-rt] [libcxx] [llvm] [clang] [clang-tools-extra] [flang] [libc] [lld] [lldb] [libcxxabi] [libclc] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -491,17 +491,39 @@ void VPlanTransforms::removeDeadRecipes(VPlan ) { static VPValue *createScalarIVSteps(VPlan , const InductionDescriptor , ScalarEvolution , Instruction *TruncI, -Type *IVTy, VPValue

[Lldb-commits] [clang] [lld] [libclc] [libcxxabi] [libc] [libcxx] [clang-tools-extra] [flang] [llvm] [compiler-rt] [lldb] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -491,17 +491,39 @@ void VPlanTransforms::removeDeadRecipes(VPlan ) { static VPValue *createScalarIVSteps(VPlan , const InductionDescriptor , ScalarEvolution , Instruction *TruncI, -Type *IVTy, VPValue

[Lldb-commits] [libc] [llvm] [lld] [lldb] [libcxx] [clang-tools-extra] [clang] [flang] [libcxxabi] [libclc] [compiler-rt] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
https://github.com/fhahn edited https://github.com/llvm/llvm-project/pull/78113 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [libcxx] [compiler-rt] [lld] [libc] [flang] [lldb] [clang-tools-extra] [llvm] [clang] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread via lldb-commits
@@ -982,6 +1037,92 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry, + DenseMap ) { +

[Lldb-commits] [lldb] [libc] [compiler-rt] [clang] [lld] [libcxx] [clang-tools-extra] [flang] [llvm] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread via lldb-commits
https://github.com/ayalz commented: Few last minor comments. https://github.com/llvm/llvm-project/pull/73158 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [libc] [clang-tools-extra] [clang] [lld] [llvm] [libcxx] [compiler-rt] [lldb] [flang] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread via lldb-commits
@@ -614,6 +614,61 @@ void VPBasicBlock::print(raw_ostream , const Twine , printSuccessors(O, Indent); } #endif +static void cloneCFG(VPBlockBase *Entry, + DenseMap ); + +static VPBlockBase *cloneVPB(VPBlockBase *BB) { ayalz wrote: Well,

[Lldb-commits] [lld] [llvm] [clang] [compiler-rt] [lldb] [libc] [clang-tools-extra] [flang] [libcxx] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread via lldb-commits
@@ -982,6 +1037,92 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry, + DenseMap ) { +

[Lldb-commits] [lld] [clang] [clang-tools-extra] [llvm] [libcxx] [lldb] [flang] [compiler-rt] [libc] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread via lldb-commits
@@ -982,6 +1037,92 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry, + DenseMap ) { +

[Lldb-commits] [compiler-rt] [libc] [lld] [clang-tools-extra] [libcxx] [lldb] [flang] [llvm] [clang] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread via lldb-commits
@@ -982,6 +1037,92 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry, + DenseMap ) { +

[Lldb-commits] [llvm] [flang] [libc] [clang] [libcxx] [lld] [clang-tools-extra] [lldb] [compiler-rt] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread via lldb-commits
@@ -982,6 +1037,92 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry, ayalz wrote: Should

[Lldb-commits] [clang] [libc] [lld] [flang] [clang-tools-extra] [lldb] [libcxx] [compiler-rt] [llvm] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread via lldb-commits
https://github.com/ayalz edited https://github.com/llvm/llvm-project/pull/73158 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [libcxxabi] [clang] [libc] [lld] [flang] [clang-tools-extra] [lldb] [libcxx] [compiler-rt] [llvm] [libclc] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread Florian Hahn via lldb-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/78113 >From 36b085f21b76d7bf7c9965a86a09d1cef4fe9329 Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Sun, 14 Jan 2024 14:13:08 + Subject: [PATCH 1/8] [VPlan] Add new VPUniformPerUFRecipe, use for step truncation.

[Lldb-commits] [lld] [compiler-rt] [libcxx] [libclc] [lldb] [llvm] [clang-tools-extra] [libc] [libcxxabi] [flang] [clang] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread via lldb-commits
@@ -491,17 +491,39 @@ void VPlanTransforms::removeDeadRecipes(VPlan ) { static VPValue *createScalarIVSteps(VPlan , const InductionDescriptor , ScalarEvolution , Instruction *TruncI, -Type *IVTy, VPValue

[Lldb-commits] [clang] [libc] [libclc] [llvm] [compiler-rt] [lld] [libcxxabi] [libcxx] [lldb] [flang] [clang-tools-extra] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread via lldb-commits
@@ -491,19 +491,41 @@ void VPlanTransforms::removeDeadRecipes(VPlan ) { static VPValue *createScalarIVSteps(VPlan , const InductionDescriptor , ScalarEvolution , Instruction *TruncI, -Type *IVTy, VPValue

[Lldb-commits] [llvm] [flang] [libcxxabi] [libc] [compiler-rt] [lld] [libclc] [clang] [libcxx] [lldb] [clang-tools-extra] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread via lldb-commits
https://github.com/ayalz edited https://github.com/llvm/llvm-project/pull/78113 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lld] [flang] [libc] [llvm] [libclc] [libcxxabi] [clang] [libcxx] [clang-tools-extra] [compiler-rt] [lldb] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread via lldb-commits
@@ -491,17 +491,39 @@ void VPlanTransforms::removeDeadRecipes(VPlan ) { static VPValue *createScalarIVSteps(VPlan , const InductionDescriptor , ScalarEvolution , Instruction *TruncI, -Type *IVTy, VPValue

[Lldb-commits] [clang] [libcxxabi] [libcxx] [libc] [flang] [llvm] [lldb] [lld] [clang-tools-extra] [compiler-rt] [libclc] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread via lldb-commits
https://github.com/ayalz commented: Some comments still seem relevant, trying to further clarify. https://github.com/llvm/llvm-project/pull/78113 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [libc] [libcxxabi] [clang-tools-extra] [flang] [lld] [libcxx] [lldb] [clang] [libclc] [llvm] [compiler-rt] [VPlan] Add new VPScalarCastRecipe, use for IV & step trunc. (PR #78113)

2024-01-25 Thread via lldb-commits
@@ -491,17 +491,39 @@ void VPlanTransforms::removeDeadRecipes(VPlan ) { static VPValue *createScalarIVSteps(VPlan , const InductionDescriptor , ScalarEvolution , Instruction *TruncI, -Type *IVTy, VPValue

[Lldb-commits] [llvm] [libcxxabi] [flang] [libc] [compiler-rt] [openmp] [lld] [clang] [libunwind] [mlir] [lldb] [libcxx] [clang-tools-extra] [clang] static operators should evaluate object argument (P

2024-01-25 Thread Shafik Yaghmour via lldb-commits
https://github.com/shafik approved this pull request. https://github.com/llvm/llvm-project/pull/68485 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [clang-tools-extra] [llvm] [libc] [clang] [libcxx] [lldb] [lld] [flang] [compiler-rt] [NVPTX] Add support for -march=native in standalone NVPTX (PR #79373)

2024-01-25 Thread Joseph Huber via lldb-commits
https://github.com/jhuber6 closed https://github.com/llvm/llvm-project/pull/79373 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [lldb] [lldb][NFCI] Constrain EventDataBytes creation (PR #79508)

2024-01-25 Thread via lldb-commits
llvmbot wrote: @llvm/pr-subscribers-lldb Author: Alex Langford (bulbazord) Changes There are 3 ways to create an EventDataBytes object: (const char *), (llvm::StringRef), and (const void *, size_t len). All of these cases can be handled under `llvm::StringRef`. Additionally, this allows

[Lldb-commits] [lldb] [lldb][NFCI] Constrain EventDataBytes creation (PR #79508)

2024-01-25 Thread Alex Langford via lldb-commits
https://github.com/bulbazord created https://github.com/llvm/llvm-project/pull/79508 There are 3 ways to create an EventDataBytes object: (const char *), (llvm::StringRef), and (const void *, size_t len). All of these cases can be handled under `llvm::StringRef`. Additionally, this allows us

[Lldb-commits] [clang-tools-extra] [llvm] [libc] [clang] [libcxx] [lldb] [lld] [libunwind] [flang] [mlir] [compiler-rt] [ELF] Implement R_RISCV_TLSDESC for RISC-V (PR #79239)

2024-01-25 Thread Fangrui Song via lldb-commits
https://github.com/MaskRay closed https://github.com/llvm/llvm-project/pull/79239 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [flang] [clang] [libc] [compiler-rt] [clang-tools-extra] [llvm] [lld] [lldb] [libcxx] [NVPTX] Add support for -march=native in standalone NVPTX (PR #79373)

2024-01-25 Thread Joseph Huber via lldb-commits
jhuber6 wrote: > Got it, okay, thanks. > > Since this change only applies to `--target=nvptx64-nvidia-cuda`, fine by me. > Thanks for putting up with our scrutiny. :) No problem, I probably should've have been clearer in my commit messages. https://github.com/llvm/llvm-project/pull/79373

[Lldb-commits] [flang] [clang] [libunwind] [libc] [mlir] [compiler-rt] [lld] [clang-tools-extra] [llvm] [lldb] [libcxx] [ELF] Implement R_RISCV_TLSDESC for RISC-V (PR #79239)

2024-01-25 Thread Fangrui Song via lldb-commits
MaskRay wrote: """ This branch is out-of-date with the base branch Merge the latest changes from main into this branch. This merge commit will be associated with ... """ Hmm. rebase + `spr diff` cannot fix it. I'll merge this manually. https://github.com/llvm/llvm-project/pull/79239

[Lldb-commits] [flang] [clang] [libunwind] [libc] [mlir] [compiler-rt] [lld] [clang-tools-extra] [llvm] [lldb] [libcxx] [ELF] Implement R_RISCV_TLSDESC for RISC-V (PR #79239)

2024-01-25 Thread Fangrui Song via lldb-commits
https://github.com/MaskRay updated https://github.com/llvm/llvm-project/pull/79239 >From 3725fa4eac3d3d946289d7eb7213f3a1751a2770 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Tue, 23 Jan 2024 17:58:07 -0800 Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?=

[Lldb-commits] [flang] [libc] [compiler-rt] [clang] [clang-tools-extra] [llvm] [libcxx] [lld] [lldb] [NVPTX] Add support for -march=native in standalone NVPTX (PR #79373)

2024-01-25 Thread Justin Lebar via lldb-commits
jlebar wrote: Got it, okay, thanks. Since this change only applies to `--target=nvptx64-nvidia-cuda`, fine by me. Thanks for putting up with our scrutiny. :) https://github.com/llvm/llvm-project/pull/79373 ___ lldb-commits mailing list

[Lldb-commits] [lld] [lldb] [libcxx] [compiler-rt] [clang-tools-extra] [llvm] [libc] [clang] [flang] [NVPTX] Add support for -march=native in standalone NVPTX (PR #79373)

2024-01-25 Thread Joseph Huber via lldb-commits
jhuber6 wrote: > I...think I understand. > > Is the output of this compilation step a cubin, then? Yes, it will spit out a simple `cubin` instead of a fatbinary. The NVIDIA toolchain is much worse about this stuff than the AMD one, but in general it works. You can check with `-###` or

[Lldb-commits] [lld] [lldb] [libcxx] [compiler-rt] [clang-tools-extra] [llvm] [libc] [clang] [flang] [NVPTX] Add support for -march=native in standalone NVPTX (PR #79373)

2024-01-25 Thread Justin Lebar via lldb-commits
jlebar wrote: I...think I understand. Is the output of this compilation step a cubin, then? https://github.com/llvm/llvm-project/pull/79373 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [lld] [lldb] [libcxx] [compiler-rt] [clang-tools-extra] [llvm] [libc] [clang] [flang] [NVPTX] Add support for -march=native in standalone NVPTX (PR #79373)

2024-01-25 Thread Joseph Huber via lldb-commits
jhuber6 wrote: > > This method of compilation is not like CUDA, so we can't target all the > > GPUs at the same time. > > Can you clarify for me -- what are you compiling where it's impossible to > target multiple GPUs in the binary? I'm confused because Art is understanding > that it's not

[Lldb-commits] [lld] [lldb] [clang-tools-extra] [clang] [libcxx] [libc] [flang] [llvm] [compiler-rt] [NVPTX] Add support for -march=native in standalone NVPTX (PR #79373)

2024-01-25 Thread Justin Lebar via lldb-commits
jlebar wrote: > This method of compilation is not like CUDA, so we can't target all the GPUs > at the same time. Can you clarify for me -- what are you compiling where it's impossible to target multiple GPUs in the binary? I'm confused because Art is understanding that it's not CUDA, but

[Lldb-commits] [lld] [lldb] [clang-tools-extra] [clang] [libcxx] [libc] [flang] [llvm] [compiler-rt] [NVPTX] Add support for -march=native in standalone NVPTX (PR #79373)

2024-01-25 Thread Artem Belevich via lldb-commits
https://github.com/Artem-B approved this pull request. LGTM, as we can only handle a single GPU target during compilation. https://github.com/llvm/llvm-project/pull/79373 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [flang] [llvm] [libcxx] [clang] [compiler-rt] [lld] [clang-tools-extra] [libc] [lldb] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -982,6 +1037,94 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry, + DenseMap ) { +

[Lldb-commits] [lld] [lldb] [clang-tools-extra] [clang] [libcxx] [libc] [flang] [llvm] [compiler-rt] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -614,6 +614,61 @@ void VPBasicBlock::print(raw_ostream , const Twine , printSuccessors(O, Indent); } #endif +static void cloneCFG(VPBlockBase *Entry, + DenseMap ); + +static VPBlockBase *cloneVPB(VPBlockBase *BB) { fhahn wrote: I am

[Lldb-commits] [llvm] [clang-tools-extra] [libcxx] [lld] [compiler-rt] [libc] [clang] [flang] [lldb] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -614,6 +614,61 @@ void VPBasicBlock::print(raw_ostream , const Twine , printSuccessors(O, Indent); } #endif +static void cloneCFG(VPBlockBase *Entry, + DenseMap ); + +static VPBlockBase *cloneVPB(VPBlockBase *BB) { + if (auto *VPBB = dyn_cast(BB)) {

[Lldb-commits] [lld] [lldb] [libcxx] [compiler-rt] [clang-tools-extra] [llvm] [libc] [clang] [flang] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -614,6 +614,61 @@ void VPBasicBlock::print(raw_ostream , const Twine , printSuccessors(O, Indent); } #endif +static void cloneCFG(VPBlockBase *Entry, + DenseMap ); + +static VPBlockBase *cloneVPB(VPBlockBase *BB) { + if (auto *VPBB = dyn_cast(BB)) {

[Lldb-commits] [lldb] [flang] [clang-tools-extra] [clang] [libc] [libcxx] [lld] [compiler-rt] [llvm] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -982,6 +1037,94 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry, + DenseMap ) { +

[Lldb-commits] [clang-tools-extra] [libc] [libcxx] [llvm] [compiler-rt] [lldb] [lld] [flang] [clang] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -1594,6 +1657,13 @@ class VPWidenPHIRecipe : public VPHeaderPHIRecipe { addOperand(Start); } + VPRecipeBase *clone() override { +auto *Res = new VPWidenPHIRecipe(cast(getUnderlyingInstr()), fhahn wrote: Changed to `llvm_unreachable`, thanks!

[Lldb-commits] [libcxx] [libc] [compiler-rt] [clang-tools-extra] [lld] [llvm] [lldb] [clang] [flang] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -982,6 +1037,94 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry, + DenseMap ) { +

[Lldb-commits] [clang] [lld] [llvm] [libc] [flang] [libcxx] [compiler-rt] [clang-tools-extra] [lldb] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -982,6 +1037,94 @@ void VPlan::updateDominatorTree(DominatorTree *DT, BasicBlock *LoopHeaderBB, assert(DT->verify(DominatorTree::VerificationLevel::Fast)); } +static void remapOperands(VPBlockBase *Entry, VPBlockBase *NewEntry, + DenseMap ) { +

[Lldb-commits] [libcxx] [flang] [llvm] [clang] [lldb] [clang-tools-extra] [compiler-rt] [lld] [libc] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -614,6 +614,61 @@ void VPBasicBlock::print(raw_ostream , const Twine , printSuccessors(O, Indent); } #endif +static void cloneCFG(VPBlockBase *Entry, + DenseMap ); fhahn wrote: Updated as suggested and renamed, thanks!

[Lldb-commits] [clang-tools-extra] [clang] [compiler-rt] [flang] [libcxx] [lldb] [lld] [llvm] [libc] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread Florian Hahn via lldb-commits
@@ -2694,6 +2852,9 @@ class VPlan { /// been modeled in VPlan directly. DenseMap SCEVToExpansion; + /// Construct an uninitialized VPlan, should be used for cloning only. + explicit VPlan() = default; + fhahn wrote: Removed, thanks!

[Lldb-commits] [clang] [lld] [llvm] [libc] [flang] [libcxx] [compiler-rt] [clang-tools-extra] [lldb] [-Wunsafe-buffer-usage] Fix AST matcher of UUCAddAssignGadget (PR #79392)

2024-01-25 Thread via lldb-commits
https://github.com/jkorous-apple updated https://github.com/llvm/llvm-project/pull/79392 >From dcc2b0c07681b57dbd5a82ce83f5166bb3b9ee09 Mon Sep 17 00:00:00 2001 From: Jan Korous Date: Wed, 24 Jan 2024 15:02:55 -0800 Subject: [PATCH] [-Wunsafe-buffer-usage] Fix AST matcher of UUCAddAssignGadget

[Lldb-commits] [flang] [clang] [clang-tools-extra] [llvm] [compiler-rt] [libcxx] [libc] [lldb] [lld] [NVPTX] Add support for -march=native in standalone NVPTX (PR #79373)

2024-01-25 Thread Joseph Huber via lldb-commits
jhuber6 wrote: > > This method of compilation is not like CUDA, so we can't target all the > > GPUs at the same time. > > I think this is the key fact I was missing. If the patch is only for a > standalone compilation which does not do multi-GPU compilation in principle, > then your approach

[Lldb-commits] [flang] [clang] [clang-tools-extra] [llvm] [compiler-rt] [libcxx] [libc] [lldb] [lld] Make clang report invalid target versions for all environment types. (PR #78655)

2024-01-25 Thread via lldb-commits
@@ -276,7 +276,7 @@ class Triple { Callable, Mesh, Amplification, - +OpenCL, ZijunZhaoCCK wrote: Some cases like https://github.com/llvm/llvm-project/blob/main/clang/test/CodeGenOpenCL/amdgpu-alignment.cl#L3

[Lldb-commits] [libcxx] [flang] [lldb] [clang] [clang-tools-extra] [lld] [llvm] [compiler-rt] [libc] [NVPTX] Add support for -march=native in standalone NVPTX (PR #79373)

2024-01-25 Thread Artem Belevich via lldb-commits
Artem-B wrote: > This method of compilation is not like CUDA, so we can't target all the GPUs > at the same time. I think this is the key fact I was missing. If the patch is only for a standalone compilation which does not do multi-GPU compilation in principle, then your approach makes

[Lldb-commits] [clang] [lld] [llvm] [libc] [flang] [libcxx] [compiler-rt] [clang-tools-extra] [lldb] [VPlan] Implement cloning of VPlans. (PR #73158)

2024-01-25 Thread Florian Hahn via lldb-commits
https://github.com/fhahn updated https://github.com/llvm/llvm-project/pull/73158 >From 13a26e8e7440c3b501730b22588af393a3e543cd Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Thu, 6 Jul 2023 08:07:45 +0100 Subject: [PATCH 1/3] [VPlan] Implement cloning of VPlans. This patch implements

[Lldb-commits] [clang] [clang-tools-extra] [lldb] [libc] [libcxx] [lld] [llvm] [flang] [compiler-rt] [NVPTX] Add support for -march=native in standalone NVPTX (PR #79373)

2024-01-25 Thread Joseph Huber via lldb-commits
jhuber6 wrote: > > I think the semantics of native on other architectures are clear enough > > here. > > I don't think we have the same idea about that. Let's spell it out, so > there's no confusion. > > [GCC > manual](https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html#index-march-16) >

[Lldb-commits] [clang] [clang-tools-extra] [lldb] [libc] [libcxx] [lld] [llvm] [flang] [compiler-rt] Make clang report invalid target versions for all environment types. (PR #78655)

2024-01-25 Thread Fangrui Song via lldb-commits
@@ -276,7 +276,7 @@ class Triple { Callable, Mesh, Amplification, - +OpenCL, MaskRay wrote: I wonder why we need this addition. This is not mentioned in the description. https://github.com/llvm/llvm-project/pull/78655

[Lldb-commits] [libc] [lld] [flang] [libcxx] [clang] [clang-tools-extra] [compiler-rt] [llvm] [lldb] Make clang report invalid target versions for all environment types. (PR #78655)

2024-01-25 Thread Fangrui Song via lldb-commits
@@ -255,7 +255,7 @@ class Triple { Cygnus, CoreCLR, Simulator, // Simulator variants of other systems, e.g., Apple's iOS -MacABI, // Mac Catalyst variant of Apple's iOS deployment target. +MacABI,// Mac Catalyst variant of Apple's iOS deployment target.

[Lldb-commits] [clang] [lld] [llvm] [libc] [flang] [libcxx] [compiler-rt] [clang-tools-extra] [lldb] Make clang report invalid target versions for all environment types. (PR #78655)

2024-01-25 Thread Fangrui Song via lldb-commits
https://github.com/MaskRay edited 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] [clang] [lld] [llvm] [libc] [flang] [libcxx] [compiler-rt] [clang-tools-extra] [lldb] Make clang report invalid target versions for all environment types. (PR #78655)

2024-01-25 Thread Fangrui Song via lldb-commits
@@ -1443,15 +1443,17 @@ Compilation *Driver::BuildCompilation(ArrayRef ArgList) { const ToolChain = getToolChain( *UArgs, computeTargetTriple(*this, TargetTriple, *UArgs)); - if (TC.getTriple().isAndroid()) { -llvm::Triple Triple = TC.getTriple(); -StringRef

[Lldb-commits] [clang] [lld] [llvm] [libc] [flang] [libcxx] [compiler-rt] [clang-tools-extra] [lldb] [NVPTX] Add support for -march=native in standalone NVPTX (PR #79373)

2024-01-25 Thread Artem Belevich via lldb-commits
Artem-B wrote: > I think the semantics of native on other architectures are clear enough here. I don't think we have the same idea about that. Let's spell it out, so there's no confusion. [GCC manual](https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html#index-march-16) says: > Using

[Lldb-commits] [lldb] [mlir] [libcxx] [lld] [flang] [libc] [clang] [llvm] [libunwind] [clang-tools-extra] [compiler-rt] [Driver, CodeGen] Support -mtls-dialect= (PR #79256)

2024-01-25 Thread Fangrui Song via lldb-commits
https://github.com/MaskRay updated https://github.com/llvm/llvm-project/pull/79256 >From be08e64c2c1f433b017185ce78525ad097e609be Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Tue, 23 Jan 2024 21:37:04 -0800 Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?=

[Lldb-commits] [compiler-rt] [libunwind] [clang] [llvm] [lld] [libc] [flang] [lldb] [clang-tools-extra] [libcxx] [X86] Use RORX over SHR imm (PR #77964)

2024-01-25 Thread Bryce Wilson via lldb-commits
Bryce-MW wrote: I think the fail on Windows is not related. Hopefully a merge fixes it... https://github.com/llvm/llvm-project/pull/77964 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [compiler-rt] [libunwind] [clang] [llvm] [lld] [libc] [flang] [lldb] [clang-tools-extra] [libcxx] [X86] Use RORX over SHR imm (PR #77964)

2024-01-25 Thread Bryce Wilson via lldb-commits
https://github.com/Bryce-MW updated https://github.com/llvm/llvm-project/pull/77964 >From d4c312b9dbf447d0a53dda0e6cdc482bd908430b Mon Sep 17 00:00:00 2001 From: Bryce Wilson Date: Fri, 12 Jan 2024 16:01:32 -0600 Subject: [PATCH 01/15] [X86] Use RORX over SHR imm ---

[Lldb-commits] [llvm] [lld] [libc] [lldb] [flang] [compiler-rt] [clang] [clang-tools-extra] [libcxx] Make clang report invalid target versions for all environment types. (PR #78655)

2024-01-25 Thread via lldb-commits
pirama-arumuga-nainar wrote: @llvm/clang-vendors Adding clang vendors. FYI, this change expands error reporting on invalid version numbers to all target triples (This was previously restricted to Android triples). This can have potential downstream impact. Please review/test and let us

[Lldb-commits] [libunwind] [clang] [lld] [libcxx] [flang] [mlir] [compiler-rt] [libc] [clang-tools-extra] [llvm] [lldb] [Driver, CodeGen] Support -mtls-dialect= (PR #79256)

2024-01-25 Thread Paul Kirth via lldb-commits
https://github.com/ilovepi approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/79256 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [clang] [lld] [libcxx] [flang] [compiler-rt] [libc] [clang-tools-extra] [llvm] [lldb] [NVPTX] Add support for -march=native in standalone NVPTX (PR #79373)

2024-01-25 Thread Joseph Huber via lldb-commits
jhuber6 wrote: > User confusion is only part of the issue here. With any single GPU choice we > would still potentially produce a nonworking binary, if our GPU choice does > not match what the user wants. > > "all GPUs" has the advantage of always producing the binary that's guaranteed > to

[Lldb-commits] [clang-tools-extra] [libc] [llvm] [compiler-rt] [lld] [libcxx] [lldb] [flang] [clang] [NVPTX] Add support for -march=native in standalone NVPTX (PR #79373)

2024-01-25 Thread Artem Belevich via lldb-commits
Artem-B wrote: > This is what we already do for `--offload-arch=native` on CUDA, but this is > somewhat tangential. I've updated this patch to present the warning in the > case of multiply GPUs being detected, so I don't think there's a concern here > with the user being confused. If they

[Lldb-commits] [compiler-rt] [flang] [libcxx] [libunwind] [clang] [llvm] [clang-tools-extra] [lldb] [mlir] [libc] [lld] [ELF] Implement R_RISCV_TLSDESC for RISC-V (PR #79239)

2024-01-25 Thread Fangrui Song via lldb-commits
https://github.com/MaskRay updated https://github.com/llvm/llvm-project/pull/79239 >From 3725fa4eac3d3d946289d7eb7213f3a1751a2770 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Tue, 23 Jan 2024 17:58:07 -0800 Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?=

  1   2   >