[clang] [CIR] Infrastructure: class CIRGenBuilderTy; cache CIR types (PR #119037)

2024-12-09 Thread Nathan Lanza via cfe-commits
@@ -0,0 +1,28 @@ +//===--===// +// +// 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: Apac

[clang] [Darwin][Driver][clang] Prioritise command line args over `DEFAULT_SYSROOT` (PR #115993)

2024-12-09 Thread Carlo Cabrera via cfe-commits
carlocab wrote: > > Sorry, which env var are you referring to? > > I'm suggesting an explicit test case that checks that `DEFAULT_SYSROOT` is > set and behaves as expected. It's ignored if sysroot or isysroot is passed, > it's used when they're missing. `DEFAULT_SYSROOT` is not an environment

[clang] [CIR] Infrastructure: class CIRGenBuilderTy; cache CIR types (PR #119037)

2024-12-09 Thread David Olsen via cfe-commits
@@ -0,0 +1,25 @@ +//===--===// +// +// 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: Apac

[clang] [llvm] [SPIRV][OPT] Adding flag to run spirv structurizer (PR #119300)

2024-12-09 Thread via cfe-commits
https://github.com/joaosaffran created https://github.com/llvm/llvm-project/pull/119300 This PR adds a new flag into OPT to run SPIRV structurizer, this is being added improving testing of such pass. This change is required to implement a test request that come [from this other PR](https://gi

[clang] [llvm] [SPIRV][OPT] Adding flag to run spirv structurizer (PR #119300)

2024-12-09 Thread via cfe-commits
https://github.com/joaosaffran closed https://github.com/llvm/llvm-project/pull/119300 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [X86][AVX10.2] Add comments for the avx10_2copyintrin.h file (PR #119238)

2024-12-09 Thread Phoebe Wang via cfe-commits
@@ -19,11 +19,45 @@ __attribute__((__always_inline__, __nodebug__, __target__("avx10.2-256"), \ __min_vector_width__(128))) +/// Constructs a 128-bit integer vector, setting the lower 32 bits to the +///lower 32 bits of the parameter \a __A; the uppe

[clang] [NFC][clang] Update ubsan-trap-merge.c test to show absence of nomerge in non-trap mode (PR #119280)

2024-12-09 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/119280 >From 1b3a64701a8f496343360d8b6b86670f039a8e6d Mon Sep 17 00:00:00 2001 From: Thurston Dang Date: Mon, 9 Dec 2024 22:38:30 + Subject: [PATCH 1/4] [NFC][clang] Add ubsan-handler-merge.c test to show absen

[clang] [llvm] Reapply "[AMDGPU] Infer amdgpu-no-flat-scratch-init attribute in AMDGPUAttributor (#94647)" (PR #118907)

2024-12-09 Thread Konstantin Zhuravlyov via cfe-commits
https://github.com/kzhuravl approved this pull request. Looks like it is reapplying 94647 (which was already reviewed) with issues fixed. Thanks! https://github.com/llvm/llvm-project/pull/118907 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[clang] [X86][AVX10.2] Add comments for the avx10_2copyintrin.h file (PR #119238)

2024-12-09 Thread Phoebe Wang via cfe-commits
@@ -19,11 +19,45 @@ __attribute__((__always_inline__, __nodebug__, __target__("avx10.2-256"), \ __min_vector_width__(128))) +/// Constructs a 128-bit integer vector, setting the lower 32 bits to the +///lower 32 bits of the parameter \a __A; the uppe

[clang] [NFC][clang] Update ubsan-trap-merge.c test to show absence of nomerge in non-trap mode (PR #119280)

2024-12-09 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/119280 >From 1b3a64701a8f496343360d8b6b86670f039a8e6d Mon Sep 17 00:00:00 2001 From: Thurston Dang Date: Mon, 9 Dec 2024 22:38:30 + Subject: [PATCH 1/5] [NFC][clang] Add ubsan-handler-merge.c test to show absen

[clang] [NFC][clang] Update ubsan-trap-merge.c test to show absence of nomerge in non-trap mode (PR #119280)

2024-12-09 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/119280 >From 1b3a64701a8f496343360d8b6b86670f039a8e6d Mon Sep 17 00:00:00 2001 From: Thurston Dang Date: Mon, 9 Dec 2024 22:38:30 + Subject: [PATCH 1/6] [NFC][clang] Add ubsan-handler-merge.c test to show absen

[clang] [NFC][clang] Update ubsan-trap-merge.c test to show absence of nomerge in non-trap mode (PR #119280)

2024-12-09 Thread Thurston Dang via cfe-commits
https://github.com/thurstond edited https://github.com/llvm/llvm-project/pull/119280 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [WebAssembly] Add `-i128:128` to the `datalayout` string. (PR #119204)

2024-12-09 Thread Dan Gohman via cfe-commits
@@ -524,9 +524,7 @@ define i64 @utest_f64i64(double %x) { ; CHECK-NEXT:local.get 0 ; CHECK-NEXT:call __fixunsdfti ; CHECK-NEXT:local.get 1 -; CHECK-NEXT:i32.const 8 -; CHECK-NEXT:i32.add -; CHECK-NEXT:i64.load 0 +; CHECK-NEXT:i64.load 8 -

[clang] fd57946 - [NFC][clang] Update ubsan-trap-merge.c test to show absence of nomerge in non-trap mode (#119280)

2024-12-09 Thread via cfe-commits
Author: Thurston Dang Date: 2024-12-09T16:21:22-08:00 New Revision: fd57946cc4f11fe4610d3544b61041f306823f81 URL: https://github.com/llvm/llvm-project/commit/fd57946cc4f11fe4610d3544b61041f306823f81 DIFF: https://github.com/llvm/llvm-project/commit/fd57946cc4f11fe4610d3544b61041f306823f81.diff

[clang] [clang][perf-training] Fix profiling with -DCLANG_BOLT=perf (PR #119117)

2024-12-09 Thread Tom Stellard via cfe-commits
tstellar wrote: @aaupov When we build llvm-support there is one perf.data file generate for each cpp file compiled, so we end up without about 150 files. Is there some way to merge those together before running perf2bolt? https://github.com/llvm/llvm-project/pull/119117 __

[clang] [NFC][clang] Update ubsan-trap-merge.c test to show absence of nomerge in non-trap mode (PR #119280)

2024-12-09 Thread Thurston Dang via cfe-commits
https://github.com/thurstond closed https://github.com/llvm/llvm-project/pull/119280 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [X86][AVX10.2] Add comments for the avx10_2copyintrin.h file (PR #119238)

2024-12-09 Thread Phoebe Wang via cfe-commits
@@ -19,11 +19,45 @@ __attribute__((__always_inline__, __nodebug__, __target__("avx10.2-256"), \ __min_vector_width__(128))) +/// Constructs a 128-bit integer vector, setting the lower 32 bits to the +///lower 32 bits of the parameter \a __A; the uppe

[clang] [llvm] Introduce SingleByteCoverage tests (w/yaml2obj) (PR #113114)

2024-12-09 Thread NAKAMURA Takumi via cfe-commits
chapuni wrote: Ping. Or would it be too early for adopting yaml2obj? https://github.com/llvm/llvm-project/pull/113114 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-tools-extra] [lld] [lldb] [llvm] Rework the `Option` library to reduce dynamic relocations (PR #119198)

2024-12-09 Thread Chandler Carruth via cfe-commits
@@ -53,10 +53,8 @@ class OptTable { public: /// Entry for a single option instance in the option data table. struct Info { -/// A null terminated array of prefix strings to apply to name while -/// matching. -ArrayRef Prefixes; -StringLiteral PrefixedName; +

[clang] [clang-tools-extra] [lld] [lldb] [llvm] Rework the `Option` library to reduce dynamic relocations (PR #119198)

2024-12-09 Thread Chandler Carruth via cfe-commits
@@ -80,15 +78,56 @@ class OptTable { const char *AliasArgs; const char *Values; -StringRef getName() const { - unsigned PrefixLength = Prefixes.empty() ? 0 : Prefixes[0].size(); - return PrefixedName.drop_front(PrefixLength); +bool hasNoPrefix() const

[clang] [clang-tools-extra] [lld] [lldb] [llvm] Rework the `Option` library to reduce dynamic relocations (PR #119198)

2024-12-09 Thread Chandler Carruth via cfe-commits
@@ -845,13 +845,14 @@ MemoryBufferRef LinkerDriver::convertResToCOFF(ArrayRef mbs, // Create OptTable +#define OPTTABLE_STR_TABLE_CODE chandlerc wrote: I have no idea. It took a lot of work to get even this to work, figuring out each of the different ways

[clang] [clang][perf-training] Fix profiling with -DCLANG_BOLT=perf (PR #119117)

2024-12-09 Thread Amir Ayupov via cfe-commits
aaupov wrote: > @aaupov When we build llvm-support there is one perf.data file generate for > each cpp file compiled, so we end up without about 150 files. Is there some > way to merge those together before running perf2bolt? I see. The best way would be to run perf once so that all clang inv

[clang] [clang-tools-extra] [lld] [lldb] [llvm] Rework the `Option` library to reduce dynamic relocations (PR #119198)

2024-12-09 Thread Chandler Carruth via cfe-commits
@@ -53,10 +53,8 @@ class OptTable { public: /// Entry for a single option instance in the option data table. struct Info { -/// A null terminated array of prefix strings to apply to name while -/// matching. -ArrayRef Prefixes; -StringLiteral PrefixedName; +

[clang] [clang-cl] [Sema] Support MSVC non-const lvalue to user-defined temporary reference (PR #99833)

2024-12-09 Thread Max Winkler via cfe-commits
https://github.com/MaxEW707 updated https://github.com/llvm/llvm-project/pull/99833 >From 0a705b1a8e9673cd5e803ffe392dacfa0f06c40f Mon Sep 17 00:00:00 2001 From: MaxEW707 Date: Fri, 21 Jun 2024 20:37:40 -0700 Subject: [PATCH 01/15] Support MSVC lvalue to temporary reference binding --- clang/

[clang] [clang-format] Reorder TokenAnnotator::canBreakBefore (PR #119044)

2024-12-09 Thread Owen Pan via cfe-commits
https://github.com/owenca closed https://github.com/llvm/llvm-project/pull/119044 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Infrastructure: class CIRGenBuilderTy; cache CIR types (PR #119037)

2024-12-09 Thread David Olsen via cfe-commits
https://github.com/dkolsen-pgi updated https://github.com/llvm/llvm-project/pull/119037 >From adc46522a895e088b6af0d229b310d455d6d6ee7 Mon Sep 17 00:00:00 2001 From: David Olsen Date: Fri, 6 Dec 2024 13:41:44 -0800 Subject: [PATCH 1/2] [CIR] Infrastructure: class CIRGenBuilderTy; cache CIR typ

[clang] [clang-format] Reorder TokenAnnotator::canBreakBefore (PR #119044)

2024-12-09 Thread Owen Pan via cfe-commits
https://github.com/owenca approved this pull request. https://github.com/llvm/llvm-project/pull/119044 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Reorder TokenAnnotator::canBreakBefore (PR #119044)

2024-12-09 Thread Owen Pan via cfe-commits
https://github.com/owenca updated https://github.com/llvm/llvm-project/pull/119044 >From c5bf1fc70df08ef94cc32a47d1bdce69c92c2abf Mon Sep 17 00:00:00 2001 From: Gedare Bloom Date: Fri, 6 Dec 2024 16:52:35 -0700 Subject: [PATCH 1/2] [clang-format] Reorder TokenAnnotator::canBreakBefore Move the

[clang] 46bf67d - [clang-format] Reorder TokenAnnotator::canBreakBefore (#119044)

2024-12-09 Thread via cfe-commits
Author: Gedare Bloom Date: 2024-12-09T21:05:28-08:00 New Revision: 46bf67d8faa6a7d75561fe03b5b871ec4b4a9c1d URL: https://github.com/llvm/llvm-project/commit/46bf67d8faa6a7d75561fe03b5b871ec4b4a9c1d DIFF: https://github.com/llvm/llvm-project/commit/46bf67d8faa6a7d75561fe03b5b871ec4b4a9c1d.diff

[clang] [clang-format] Reorder TokenAnnotator::canBreakBefore (PR #119044)

2024-12-09 Thread Owen Pan via cfe-commits
@@ -6105,6 +6105,35 @@ bool TokenAnnotator::canBreakBefore(const AnnotatedLine &Line, return false; } + // We can break before an r_brace if there was a corresponding break after + // the l_brace, which is tracked by BreakBeforeClosingBrace, or if we are + // in a

[clang] [CIR] Infrastructure: class CIRGenBuilderTy; cache CIR types (PR #119037)

2024-12-09 Thread Nathan Lanza via cfe-commits
@@ -0,0 +1,25 @@ +//===--===// +// +// 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: Apac

[clang] [NFC][clang] Add ubsan-handler-merge.c test to show absence of nomerge (PR #119280)

2024-12-09 Thread Thurston Dang via cfe-commits
https://github.com/thurstond created https://github.com/llvm/llvm-project/pull/119280 This shows that ubsan handlers do not have nomerge attributes, even if -ubsan-unique-trap is enabled. 0d15d46362bd6ab5a9a2165805adaab13a7689f4 attaches nomerge but only for trap mode. ubsan-handler-merge.c

[clang] [llvm] [HLSL] Adding Flatten and Branch if attributes (PR #116331)

2024-12-09 Thread via cfe-commits
@@ -2694,19 +2694,49 @@ bool SPIRVInstructionSelector::selectIntrinsic(Register ResVReg, } return MIB.constrainAllUses(TII, TRI, RBI); } - case Intrinsic::spv_loop_merge: - case Intrinsic::spv_selection_merge: { -const auto Opcode = IID == Intrinsic::spv_select

[clang] [llvm] [HLSL] Implement SV_GroupThreadId semantic (PR #117781)

2024-12-09 Thread Zhengxing li via cfe-commits
@@ -2851,7 +2851,21 @@ bool SPIRVInstructionSelector::selectIntrinsic(Register ResVReg, .constrainAllUses(TII, TRI, RBI); break; case Intrinsic::spv_thread_id: -return selectSpvThreadId(ResVReg, ResType, I); +// The HLSL SV_DispatchThreadID semantic is

[clang] [llvm] [HLSL][SPIRV][DXIL] Implement `WaveActiveSum` intrinsic (PR #118580)

2024-12-09 Thread Adam Yang via cfe-commits
https://github.com/adam-yang updated https://github.com/llvm/llvm-project/pull/118580 >From d435e26eb327b4d6c1e3530586b97372292ce214 Mon Sep 17 00:00:00 2001 From: Finn Plummer Date: Fri, 18 Oct 2024 10:49:18 -0700 Subject: [PATCH 1/4] [HLSL][SPIRV][DXIL] Implement `WaveActiveSum` intrinsic -

[clang] [llvm] [HLSL][SPIRV][DXIL] Implement `WaveActiveSum` intrinsic (PR #118580)

2024-12-09 Thread Adam Yang via cfe-commits
@@ -1843,6 +1843,23 @@ static bool CheckAnyScalarOrVector(Sema *S, CallExpr *TheCall, return false; } +static bool CheckNotBoolType(Sema *S, CallExpr *TheCall, unsigned ArgIndex) { adam-yang wrote: Addressed both these comments. https://github.com/llvm/ll

[clang] [NFC][clang] Add ubsan-handler-merge.c test to show absence of nomerge (PR #119280)

2024-12-09 Thread Vitaly Buka via cfe-commits
@@ -0,0 +1,113 @@ +// NOTE: Assertions have mostly been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 5 +// The most important assertion is the attributes at the end of the file, which +// shows that -ubsan-unique-traps does not attach 'nomerge' to each ubsa

[clang] [NFC][clang] Add ubsan-handler-merge.c test to show absence of nomerge (PR #119280)

2024-12-09 Thread Vitaly Buka via cfe-commits
@@ -0,0 +1,113 @@ +// NOTE: Assertions have mostly been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 5 +// The most important assertion is the attributes at the end of the file, which +// shows that -ubsan-unique-traps does not attach 'nomerge' to each ubsa

[clang] [HLSL] Fix debug info generation for RWBuffer types (PR #119041)

2024-12-09 Thread Justin Bogner via cfe-commits
@@ -2021,28 +2021,10 @@ llvm::DISubroutineType *CGDebugInfo::getOrCreateInstanceMethodType( // ThisPtr may be null if the member function has an explicit 'this' // parameter. if (!ThisPtr.isNull()) { -const CXXRecordDecl *RD = ThisPtr->getPointeeCXXRecordDecl(); -

[clang] [Clang][CodeGen] Remove extraneous dot prefixes [NFC] (PR #119275)

2024-12-09 Thread Eli Friedman via cfe-commits
https://github.com/efriedma-quic approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/119275 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [HLSL] Fix debug info generation for RWBuffer types (PR #119041)

2024-12-09 Thread via cfe-commits
https://github.com/joaosaffran updated https://github.com/llvm/llvm-project/pull/119041 >From f6a7af10669d71251c2235bef5b2625d88fa1d90 Mon Sep 17 00:00:00 2001 From: Joao Saffran Date: Fri, 6 Dec 2024 01:27:24 + Subject: [PATCH 1/6] Apply DXC fix and add tests --- clang/lib/CodeGen/CGDebu

[clang] [llvm] [HLSL][SPIRV][DXIL] Implement `WaveActiveSum` intrinsic (PR #118580)

2024-12-09 Thread Adam Yang via cfe-commits
https://github.com/adam-yang updated https://github.com/llvm/llvm-project/pull/118580 >From d435e26eb327b4d6c1e3530586b97372292ce214 Mon Sep 17 00:00:00 2001 From: Finn Plummer Date: Fri, 18 Oct 2024 10:49:18 -0700 Subject: [PATCH 1/3] [HLSL][SPIRV][DXIL] Implement `WaveActiveSum` intrinsic -

[clang] [NFC][clang] Add ubsan-handler-merge.c test to show absence of nomerge (PR #119280)

2024-12-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Thurston Dang (thurstond) Changes This shows that ubsan handlers do not have nomerge attributes, even if -ubsan-unique-trap is enabled. 0d15d46362bd6ab5a9a2165805adaab13a7689f4 attaches nomerge but only for trap mode. ubsan-handler-merg

[clang] [llvm] Reland - [Driver][SYCL] Add initial SYCL offload compilation support … (PR #117268)

2024-12-09 Thread Michael Toguchi via cfe-commits
https://github.com/mdtoguchi updated https://github.com/llvm/llvm-project/pull/117268 >From 3fdc74687dbf6da831a1c27995d9d7fef3a2a51f Mon Sep 17 00:00:00 2001 From: Michael Toguchi Date: Fri, 15 Nov 2024 05:14:21 -0700 Subject: [PATCH 1/4] Reland - [Driver][SYCL] Add initial SYCL offload compil

[clang] [llvm] [PowerPC] Update data layout aligment of i128 to 16 (PR #118004)

2024-12-09 Thread Lei Huang via cfe-commits
https://github.com/lei137 closed https://github.com/llvm/llvm-project/pull/118004 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] a13ec9c - [PowerPC] Update data layout aligment of i128 to 16 (#118004)

2024-12-09 Thread via cfe-commits
Author: Lei Huang Date: 2024-12-09T18:02:24-05:00 New Revision: a13ec9cd54deba3a6779ce1114503cf86a3f8658 URL: https://github.com/llvm/llvm-project/commit/a13ec9cd54deba3a6779ce1114503cf86a3f8658 DIFF: https://github.com/llvm/llvm-project/commit/a13ec9cd54deba3a6779ce1114503cf86a3f8658.diff LOG

[clang] [llvm] Reland - [Driver][SYCL] Add initial SYCL offload compilation support … (PR #117268)

2024-12-09 Thread Michael Toguchi via cfe-commits
@@ -0,0 +1,179 @@ +//===--- SYCL.cpp - SYCL Tool and ToolChain Implementations -*- C++ -*-===// +// +// 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

[clang] [llvm] Reland - [Driver][SYCL] Add initial SYCL offload compilation support … (PR #117268)

2024-12-09 Thread Michael Toguchi via cfe-commits
@@ -6591,6 +6681,18 @@ const ToolChain &Driver::getOffloadingDeviceToolChain( HostTC, Args); break; } +case Action::OFK_SYCL: + switch (Target.getArch()) { + case llvm::Triple::spir: + case

[clang] [test][clang][AArch64] Don't assume current dir is writeable (PR #119285)

2024-12-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Jordan Rupprecht (rupprecht) Changes afa2fbf87a8e3fff609fd325c938929c48e94280 adds a test which can fail with `error: unable to open output file 'fixed-register-global.o': 'Permission denied'`. We don't check the output file at all, so ju

[clang] 274637d - [HLSL] Implement `Append` and `Consume` methods on `Append`/`ConsumeStructuredBuffer` (#118536)

2024-12-09 Thread via cfe-commits
Author: Helena Kotas Date: 2024-12-09T15:15:37-08:00 New Revision: 274637d7e5960e37a33f29521905eef3d0fee13d URL: https://github.com/llvm/llvm-project/commit/274637d7e5960e37a33f29521905eef3d0fee13d DIFF: https://github.com/llvm/llvm-project/commit/274637d7e5960e37a33f29521905eef3d0fee13d.diff

[clang] [HLSL] Implement `Append` and `Consume` methods on `Append`/`ConsumeStructuredBuffer` (PR #118536)

2024-12-09 Thread Helena Kotas via cfe-commits
https://github.com/hekota closed https://github.com/llvm/llvm-project/pull/118536 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [test][clang][AArch64] Don't assume current dir is writeable (PR #119285)

2024-12-09 Thread Jordan Rupprecht via cfe-commits
https://github.com/rupprecht created https://github.com/llvm/llvm-project/pull/119285 afa2fbf87a8e3fff609fd325c938929c48e94280 adds a test which can fail with `error: unable to open output file 'fixed-register-global.o': 'Permission denied'`. We don't check the output file at all, so just use

[clang] d74c73f - [Clang][CodeGen] Remove extraneous dot prefixes [NFC] (#119275)

2024-12-09 Thread via cfe-commits
Author: Bill Wendling Date: 2024-12-09T23:18:28Z New Revision: d74c73fcf648f9d13c62735317fa1708ec4b9f59 URL: https://github.com/llvm/llvm-project/commit/d74c73fcf648f9d13c62735317fa1708ec4b9f59 DIFF: https://github.com/llvm/llvm-project/commit/d74c73fcf648f9d13c62735317fa1708ec4b9f59.diff LOG:

[clang] [libcxx] [C++20] [Modules] Convert '-fexperimental-modules-reduced-bmi' to '-fmodules-reduced-bmi' (PR #114382)

2024-12-09 Thread Chuanqi Xu via cfe-commits
@@ -172,6 +172,7 @@ def parseScript(test, preamble): f"{compileFlags} " "-Wno-reserved-module-identifier -Wno-reserved-user-defined-literal " "-fmodule-file=std=%T/std.pcm " # The std.compat module imports std. +

[clang] Fix a bug that CXXConstructExpr wasn't recognized by tryToFindPtrOrigin (PR #119336)

2024-12-09 Thread Ryosuke Niwa via cfe-commits
https://github.com/rniwa created https://github.com/llvm/llvm-project/pull/119336 Prior to this PR, only CXXTemporaryObjectExpr, not CXXConstructExpr was recognized in tryToFindPtrOrigin. >From a3c97276a15af0324b4436d85fa06e22650dfb57 Mon Sep 17 00:00:00 2001 From: Ryosuke Niwa Date: Mon, 9 D

[clang] [clang-format] Fix idempotent format of hash in macro body (PR #118513)

2024-12-09 Thread Owen Pan via cfe-commits
owenca wrote: Ping @mydeveloperday @HazardyKnusperkeks https://github.com/llvm/llvm-project/pull/118513 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [lldb] [Serialization] Support load lazy specialization lazily (PR #119333)

2024-12-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-modules Author: Chuanqi Xu (ChuanqiXu9) Changes Reland https://github.com/llvm/llvm-project/pull/83237 --- Currently all the specializations of a template (including instantiation, specialization and partial specializations) will be loaded at o

[clang] [lldb] [Serialization] Support load lazy specialization lazily (PR #119333)

2024-12-09 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 updated https://github.com/llvm/llvm-project/pull/119333 >From bccd73362a411ef6652100f987843aa18dfb8085 Mon Sep 17 00:00:00 2001 From: Chuanqi Xu Date: Fri, 6 Dec 2024 10:31:37 +0800 Subject: [PATCH] [Serialization] Support load lazy specialization lazily Currentl

[clang] [llvm] [PAC][ELF][AArch64] Support signed personality function pointer (PR #113148)

2024-12-09 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `sanitizer-aarch64-linux` running on `sanitizer-buildbot8` while building `clang,llvm` at step 2 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/51/builds/7393 Here is the relevant piece o

[clang] [lldb] [Serialization] Support load lazy specialization lazily (PR #119333)

2024-12-09 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 edited https://github.com/llvm/llvm-project/pull/119333 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clangd] Do not show `aParam` parameter hint for argument spelled `param` (PR #119162)

2024-12-09 Thread Nathan Ridge via cfe-commits
HighCommander4 wrote: > I have mixed feelings about this. The change is small, but it seems tied to a > particular coding style, and the implementation appears to be "optimized" > specifically for that style, which isn’t we do generally. Would you feel any differently if the implementation was

[clang] [lldb] [Serialization] Support load lazy specialization lazily (PR #119333)

2024-12-09 Thread via cfe-commits
h-vetinari wrote: I think the title of the commit ("Support load lazy specialization lazily") is hard to parse and somewhat redundant. Perhaps the following would be better (IIUC): "Support loading template specializations lazily" Also "We should a specialization ` A` in `M.cppm` [...]" in th

[clang] [llvm] [PAC][ELF][AArch64] Support signed personality function pointer (PR #113148)

2024-12-09 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux-android` running on `sanitizer-buildbot-android` while building `clang,llvm` at step 2 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/186/builds/4741 Here is the r

[clang] [lldb] [Serialization] Support load lazy specialization lazily (PR #119333)

2024-12-09 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 created https://github.com/llvm/llvm-project/pull/119333 Reland https://github.com/llvm/llvm-project/pull/83237 --- Currently all the specializations of a template (including instantiation, specialization and partial specializations) will be loaded at once if we

[clang] [libcxx] [C++20] [Modules] Convert '-fexperimental-modules-reduced-bmi' to '-fmodules-reduced-bmi' (PR #114382)

2024-12-09 Thread Chuanqi Xu via cfe-commits
@@ -188,6 +189,7 @@ def parseScript(test, preamble): "%dbg(MODULE std) %{cxx} %{flags} " f"{compileFlags} " "-Wno-reserved-module-identifier -Wno-reserved-user-defined-literal " +"-fexperimental-modules-reduced-bmi "

[clang] [libcxx] [C++20] [Modules] Convert '-fexperimental-modules-reduced-bmi' to '-fmodules-reduced-bmi' (PR #114382)

2024-12-09 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 edited https://github.com/llvm/llvm-project/pull/114382 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [PAC][ELF][AArch64] Support signed personality function pointer (PR #113148)

2024-12-09 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux-fast` running on `sanitizer-buildbot4` while building `clang,llvm` at step 2 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/169/builds/6246 Here is the relevant pi

[clang] [llvm] Revert "[PAC][ELF][AArch64] Support signed personality function pointer" (PR #119331)

2024-12-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-aarch64 @llvm/pr-subscribers-clang Author: Daniil Kovalev (kovdan01) Changes Reverts llvm/llvm-project#113148 See buildbot failure https://lab.llvm.org/buildbot/#/builders/190/builds/11048 --- Full diff: https://github.com/llvm/llvm-project/pul

[clang] ef2e590 - Revert "[PAC][ELF][AArch64] Support signed personality function pointer" (#119331)

2024-12-09 Thread via cfe-commits
Author: Daniil Kovalev Date: 2024-12-10T09:12:25+03:00 New Revision: ef2e590e7b6fb5b0478e5e087006895a07d185c8 URL: https://github.com/llvm/llvm-project/commit/ef2e590e7b6fb5b0478e5e087006895a07d185c8 DIFF: https://github.com/llvm/llvm-project/commit/ef2e590e7b6fb5b0478e5e087006895a07d185c8.diff

[clang] [llvm] Revert "[PAC][ELF][AArch64] Support signed personality function pointer" (PR #119331)

2024-12-09 Thread Daniil Kovalev via cfe-commits
https://github.com/kovdan01 closed https://github.com/llvm/llvm-project/pull/119331 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] Revert "[PAC][ELF][AArch64] Support signed personality function pointer" (PR #119331)

2024-12-09 Thread Daniil Kovalev via cfe-commits
https://github.com/kovdan01 ready_for_review https://github.com/llvm/llvm-project/pull/119331 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libcxx] [C++20] [Modules] Convert '-fexperimental-modules-reduced-bmi' to '-fmodules-reduced-bmi' (PR #114382)

2024-12-09 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 updated https://github.com/llvm/llvm-project/pull/114382 >From 8a90969b9b669fa2925cea2b60622c19406243d1 Mon Sep 17 00:00:00 2001 From: Chuanqi Xu Date: Thu, 31 Oct 2024 17:27:00 +0800 Subject: [PATCH 1/3] [C++20] [Modules] Convert '-fexperimental-modules-reduced-b

[clang] [llvm] [PAC][ELF][AArch64] Support signed personality function pointer (PR #113148)

2024-12-09 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-aarch64-global-isel` running on `linaro-clang-aarch64-global-isel` while building `clang,llvm` at step 7 "ninja check 1". Full details are available at: https://lab.llvm.org/buildbot/#/builders/125/builds/4087 Here is

[clang] [libcxx] [C++20] [Modules] Convert '-fexperimental-modules-reduced-bmi' to '-fmodules-reduced-bmi' (PR #114382)

2024-12-09 Thread Chuanqi Xu via cfe-commits
ChuanqiXu9 wrote: > I still find the current approach wrt the warning to be odd, we would > basically force every modules user to change their command line, either by > adding the new `-fmodules-reduced-bmi`, or add `-Wno-wathever` to suppress > the warning, or just learn to live with the warn

[clang] [Clang-REPL] Fix crash during `__run_exit_handlers` with dynamic libraries. (PR #117475)

2024-12-09 Thread Vassil Vassilev via cfe-commits
https://github.com/vgvassilev closed https://github.com/llvm/llvm-project/pull/117475 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 30ad53b - [Clang-REPL] Fix crash during `__run_exit_handlers` with dynamic libraries. (#117475)

2024-12-09 Thread via cfe-commits
Author: SahilPatidar Date: 2024-12-10T09:57:31+02:00 New Revision: 30ad53b92cec0cff9679d559edcc5b933312ba0c URL: https://github.com/llvm/llvm-project/commit/30ad53b92cec0cff9679d559edcc5b933312ba0c DIFF: https://github.com/llvm/llvm-project/commit/30ad53b92cec0cff9679d559edcc5b933312ba0c.diff

[clang] Fix a bug that CXXConstructExpr wasn't recognized by tryToFindPtrOrigin (PR #119336)

2024-12-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Ryosuke Niwa (rniwa) Changes Prior to this PR, only CXXTemporaryObjectExpr, not CXXConstructExpr was recognized in tryToFindPtrOrigin. --- Full diff: https://github.com/llvm/llvm-project/pull/119336.diff 2 Files Affected: - (modified)

[clang] Fix a bug that CXXConstructExpr wasn't recognized by tryToFindPtrOrigin (PR #119336)

2024-12-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-static-analyzer-1 Author: Ryosuke Niwa (rniwa) Changes Prior to this PR, only CXXTemporaryObjectExpr, not CXXConstructExpr was recognized in tryToFindPtrOrigin. --- Full diff: https://github.com/llvm/llvm-project/pull/119336.diff 2 Files Affect

<    1   2   3   4   5