[llvm] [clang] [AIX][TOC] Add -mtocdata/-mno-tocdata options on AIX (PR #67999)

2024-01-09 Thread via cfe-commits
https://github.com/diggerlin edited https://github.com/llvm/llvm-project/pull/67999 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[lld] [libcxx] [clang-tools-extra] [libc] [flang] [compiler-rt] [lldb] [clang] [openmp] [llvm] [PGO][OpenMP] Instrumentation for GPU devices (PR #76587)

2024-01-09 Thread Ethan Luis McDonough via cfe-commits
https://github.com/EthanLuisMcDonough updated https://github.com/llvm/llvm-project/pull/76587 >From 530eb982b9770190377bb0bd09c5cb715f34d484 Mon Sep 17 00:00:00 2001 From: Ethan Luis McDonough Date: Fri, 15 Dec 2023 20:38:38 -0600 Subject: [PATCH 1/9] Add profiling functions to libomptarget

[libcxxabi] [lld] [libcxx] [clang-tools-extra] [libc] [flang] [compiler-rt] [lldb] [clang] [llvm] [RISC-V][LLD] Add Support for RISC-V TLSDESC Relocations (PR #66916)

2024-01-09 Thread Paul Kirth via cfe-commits
ilovepi wrote: > The base branch can be edited if you click "Edit" near the title, which will > help reveal the lld side changes... hmm, I was hoping that would work, but the base branch is in my fork. I think to make it work correctly I'd have to be using the "user" branches in the main

[clang] [AArch64][SME2] Fix SME2 mla/mls tests (PR #76711)

2024-01-09 Thread Kerry McLaughlin via cfe-commits
@@ -494,7 +494,7 @@ void test_svmls_lane1_f16(uint32_t slice_base, svfloat16_t zn, svfloat16_t zm) _ // void test_svmls_lane1_bf16(uint32_t slice_base, svbfloat16_t zn, svbfloat16_t zm) __arm_streaming __arm_shared_za { -

[clang] [AArch64][SME2] Fix SME2 mla/mls tests (PR #76711)

2024-01-09 Thread Kerry McLaughlin via cfe-commits
@@ -460,7 +460,7 @@ void test_svmla_single4_u16(uint32_t slice_base, svuint16x4_t zn, svuint16_t zm) // void test_svmla_single4_s16(uint32_t slice_base, svint16x4_t zn, svint16_t zm) __arm_streaming __arm_shared_za { -

[clang] [AArch64][SME2] Fix SME2 mla/mls tests (PR #76711)

2024-01-09 Thread Kerry McLaughlin via cfe-commits
https://github.com/kmclaughlin-arm commented: Thanks for updating this @MDevereau, I think there are just a few more tests that should be included in this PR. https://github.com/llvm/llvm-project/pull/76711 ___ cfe-commits mailing list

[clang] [AArch64][SME2] Fix SME2 mla/mls tests (PR #76711)

2024-01-09 Thread Kerry McLaughlin via cfe-commits
https://github.com/kmclaughlin-arm edited https://github.com/llvm/llvm-project/pull/76711 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][Parser] Pop scope prior VarDecl invalidating by invalid init (PR #77434)

2024-01-09 Thread via cfe-commits
https://github.com/cor3ntin approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/77434 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][Sema] Print more static_assert exprs (PR #74852)

2024-01-09 Thread Erich Keane via cfe-commits
@@ -0,0 +1,115 @@ +// RUN: %clang_cc1 -std=c++2a -verify %s + +struct A { + int a, b[3], c; + bool operator==(const A&) const = default; +}; + +constexpr auto a0 = A{0, 0, 3, 4, 5}; + +// expected-note@+1 {{evaluates to 'A{0, {0, 3, 4}, 5} == A{1, {2, 3, 4}, 5}'}}

[lldb] [clang] [clang-tools-extra] [Clang] [c++20] P1907R1: Support for generalized non-type template ar… (PR #77428)

2024-01-09 Thread via cfe-commits
cor3ntin wrote: Sure! I will close this one. I wasn't sure you were around and honestly a bit concerned about all the work that is going to be lost on phabricator. On Tue, Jan 9, 2024, 18:38 Andrey Ali Khan Bolshakov < ***@***.***> wrote: > Have I understood correctly that I should open my own

[clang] [Clang] Implement the 'counted_by' attribute (PR #76348)

2024-01-09 Thread Kees Cook via cfe-commits
kees wrote: > > This prints a wrapped calculation instead of the expected "0". > > Shouldn't `getDefaultBuiltinObjectSizeResult` return `-1`? Have you tried > `-2` to see if it's returning the negative count value or it happens to be > equal to the default value? Well, maybe it's not

[clang] [libclang/python] Expose Rewriter to the python binding (PR #77269)

2024-01-09 Thread Jimmy Z via cfe-commits
jimmy-zx wrote: Pinging @AaronBallman and @jyknight for review. (sorry if I chose the wrong people) https://github.com/llvm/llvm-project/pull/77269 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[compiler-rt] [clang] [clang-tools-extra] [PGO] Exposing PGO's Counter Reset and File Dumping APIs (PR #76471)

2024-01-09 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: Breaks https://lab.llvm.org/buildbot/#/builders/127/builds/60635 Please fix or revert. https://github.com/llvm/llvm-project/pull/76471 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[clang] [Clang] Implement the 'counted_by' attribute (PR #76348)

2024-01-09 Thread Yeoul Na via cfe-commits
rapidsna wrote: > This prints a wrapped calculation instead of the expected "0". Shouldn't `getDefaultBuiltinObjectSizeResult` return `-1`? Have you tried `-2` to see if it's returning the negative count value or it happens to be equal to the default value?

[llvm] [libc] [flang] [libcxxabi] [libcxx] [lld] [clang] [clang-tools-extra] [compiler-rt] [lldb] [RISCV] Support Global Dynamic TLSDESC in the RISC-V backend (PR #66915)

2024-01-09 Thread Paul Kirth via cfe-commits
@@ -71,6 +71,18 @@ enum Fixups { // Used to generate an R_RISCV_ALIGN relocation, which indicates the linker // should fixup the alignment after linker relaxation. fixup_riscv_align, + // 20-bit fixup corresponding to %tlsdesc_hi(foo) for instructions like + // auipc +

[lldb] [clang] [clang-tools-extra] [Clang] [c++20] P1907R1: Support for generalized non-type template ar… (PR #77428)

2024-01-09 Thread Andrey Ali Khan Bolshakov via cfe-commits
bolshakov-a wrote: Have I understood correctly that I should open my own PR to proceed working on this? https://github.com/llvm/llvm-project/pull/77428 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[lldb] [clang] [flang] [libunwind] [mlir] [libcxxabi] [clang-tools-extra] [lld] [llvm] [compiler-rt] [libcxx] [libc] [libclc] [libc++][ranges] Implement ranges::contains_subrange (PR #66963)

2024-01-09 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/66963 >From 647f5fe641b30c874bab770fced9fcec9b601161 Mon Sep 17 00:00:00 2001 From: Zijun Zhao Date: Wed, 13 Sep 2023 14:26:01 -0700 Subject: [PATCH 01/10] [libc++] Implement ranges::contains_subrange ---

[libunwind] [lld] [libcxx] [lldb] [mlir] [compiler-rt] [libclc] [flang] [libc] [clang] [llvm] [clang-tools-extra] [libcxxabi] [libc++][ranges] Implement ranges::contains_subrange (PR #66963)

2024-01-09 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/66963 >From 647f5fe641b30c874bab770fced9fcec9b601161 Mon Sep 17 00:00:00 2001 From: Zijun Zhao Date: Wed, 13 Sep 2023 14:26:01 -0700 Subject: [PATCH 1/9] [libc++] Implement ranges::contains_subrange ---

[clang] [Clang][Sema] Print more static_assert exprs (PR #74852)

2024-01-09 Thread via cfe-commits
@@ -0,0 +1,115 @@ +// RUN: %clang_cc1 -std=c++2a -verify %s + +struct A { + int a, b[3], c; + bool operator==(const A&) const = default; +}; + +constexpr auto a0 = A{0, 0, 3, 4, 5}; + +// expected-note@+1 {{evaluates to 'A{0, {0, 3, 4}, 5} == A{1, {2, 3, 4}, 5}'}}

[clang] [clang] Improve bit-field in ref NTTP diagnostic (PR #71077)

2024-01-09 Thread Andrey Ali Khan Bolshakov via cfe-commits
bolshakov-a wrote: Thanks! https://github.com/llvm/llvm-project/pull/71077 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] Fix #75686: add iter_swap and iter_move to the matched name (PR #76117)

2024-01-09 Thread Piotr Zegar via cfe-commits
https://github.com/PiotrZSL approved this pull request. https://github.com/llvm/llvm-project/pull/76117 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][Parser] Pop scope prior VarDecl invalidating by invalid init (PR #77434)

2024-01-09 Thread Ding Fei via cfe-commits
danix800 wrote: > This makes sense to me but I would like @cor3ntin to review as well. > > This needs a release note. Release note is added. > > I see that there was two test cases. Do you think it is worth it to add the > second test case as well? The original testcase from #30908 is

[clang] [clang][Parser] Pop scope prior VarDecl invalidating by invalid init (PR #77434)

2024-01-09 Thread Ding Fei via cfe-commits
https://github.com/danix800 updated https://github.com/llvm/llvm-project/pull/77434 >From 2f9e45458d21952f9e81cd54297f538d1d04b9f9 Mon Sep 17 00:00:00 2001 From: dingfei Date: Tue, 9 Jan 2024 16:40:23 +0800 Subject: [PATCH] [clang][Parser] Pop scope prior VarDecl invalidating by invalid

[libcxx] [libc] [compiler-rt] [clang] [flang] [lld] [libcxxabi] [clang-tools-extra] [lldb] [llvm] [RISCV] Support Global Dynamic TLSDESC in the RISC-V backend (PR #66915)

2024-01-09 Thread Paul Kirth via cfe-commits
@@ -0,0 +1,44 @@ +# RUN: llvm-mc -filetype=obj -triple riscv32 < %s --defsym RV32=1 | llvm-objdump -d -M no-aliases - | FileCheck %s --check-prefixes=INST,RV32 +# RUN: llvm-mc -filetype=obj -triple riscv64 < %s | llvm-objdump -d -M no-aliases - | FileCheck %s

[clang] [Clang] Implement the 'counted_by' attribute (PR #76348)

2024-01-09 Thread Kees Cook via cfe-commits
kees wrote: Thanks! The update fixes the anon struct issue I hit. I've found one more issue, though this appears to be a miscalculation with a pathological `count` value (i.e. `count` is signed type and contains a negative value): ``` struct annotated { unsigned long flags; int count;

[clang] [Clang][Sema] Print more static_assert exprs (PR #74852)

2024-01-09 Thread via cfe-commits
@@ -0,0 +1,115 @@ +// RUN: %clang_cc1 -std=c++2a -verify %s + +struct A { + int a, b[3], c; + bool operator==(const A&) const = default; +}; + +constexpr auto a0 = A{0, 0, 3, 4, 5}; + +// expected-note@+1 {{evaluates to 'A{0, {0, 3, 4}, 5} == A{1, {2, 3, 4}, 5}'}}

[clang-tools-extra] [clang] [clang-tidy] Improve performance of misc-const-correctness (PR #72705)

2024-01-09 Thread Piotr Zegar via cfe-commits
https://github.com/PiotrZSL closed https://github.com/llvm/llvm-project/pull/72705 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 6eb372e - [clang-tidy] Improve performance of misc-const-correctness (#72705)

2024-01-09 Thread via cfe-commits
Author: Piotr Zegar Date: 2024-01-09T18:22:03+01:00 New Revision: 6eb372e4e46a6dc4511f454b6501e93eb4cad22d URL: https://github.com/llvm/llvm-project/commit/6eb372e4e46a6dc4511f454b6501e93eb4cad22d DIFF: https://github.com/llvm/llvm-project/commit/6eb372e4e46a6dc4511f454b6501e93eb4cad22d.diff

[clang] [Clang][Sema] Print more static_assert exprs (PR #74852)

2024-01-09 Thread via cfe-commits
sethp wrote: In playing around with this some more, I found it was pretty effective for me to have an intializer-like expression (as in [e769f15](https://github.com/llvm/llvm-project/pull/74852/commits/e769f158c8ee001e95299ce4c83e5250e2a8f963) ), because then I could copy/paste the output

[libcxxabi] [flang] [libc] [clang] [lldb] [compiler-rt] [clang-tools-extra] [llvm] [libcxx] [lld] [RISCV] Support Global Dynamic TLSDESC in the RISC-V backend (PR #66915)

2024-01-09 Thread Paul Kirth via cfe-commits
@@ -3,8 +3,8 @@ # Out of range immediates ## simm12 -flh ft1, -2049(a0) # CHECK: :[[@LINE]]:10: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo modifier or an integer in the range [-2048, 2047] -fsh ft2, 2048(a1) # CHECK: :[[@LINE]]:10: error: operand must be a

[clang] [clang] Improve bit-field in ref NTTP diagnostic (PR #71077)

2024-01-09 Thread via cfe-commits
cor3ntin wrote: Merging at @bolshakov-a's request https://github.com/llvm/llvm-project/pull/71077 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Improve bit-field in ref NTTP diagnostic (PR #71077)

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

[clang] 79e17cd - [clang] Improve bit-field in ref NTTP diagnostic (#71077)

2024-01-09 Thread via cfe-commits
Author: Andrey Ali Khan Bolshakov Date: 2024-01-09T18:14:17+01:00 New Revision: 79e17cd01491c0fde241097ad4c5c24afbb1883e URL: https://github.com/llvm/llvm-project/commit/79e17cd01491c0fde241097ad4c5c24afbb1883e DIFF:

[clang] [clang] Improve bit-field in ref NTTP diagnostic (PR #71077)

2024-01-09 Thread via cfe-commits
https://github.com/cor3ntin approved this pull request. Still looks good, thanks https://github.com/llvm/llvm-project/pull/71077 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[lldb] [clang-tools-extra] [clang] [Clang] [c++20] P1907R1: Support for generalized non-type template ar… (PR #77428)

2024-01-09 Thread Andrey Ali Khan Bolshakov via cfe-commits
bolshakov-a wrote: @cor3ntin, thank you! Could you please take a look and probably merge #71077? This depends on that PR. https://github.com/llvm/llvm-project/pull/77428 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[clang] [clang] Improve bit-field in ref NTTP diagnostic (PR #71077)

2024-01-09 Thread Andrey Ali Khan Bolshakov via cfe-commits
https://github.com/bolshakov-a updated https://github.com/llvm/llvm-project/pull/71077 >From 4435d1ed5ed4785be7df35c129332359d89f132b Mon Sep 17 00:00:00 2001 From: Bolshakov Date: Thu, 2 Nov 2023 19:20:27 +0300 Subject: [PATCH] [clang] Improve bit-field in ref NTTP diagnostic Prior to this,

[clang] [llvm] [Clang] Update Unicode version to 15.1 (PR #77147)

2024-01-09 Thread Nikita Popov via cfe-commits
nikic wrote: Ooops, sorry about that. https://github.com/llvm/llvm-project/pull/77147 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][ASTImporter] Improve import of friend class templates. (PR #74627)

2024-01-09 Thread via cfe-commits
=?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?= , =?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?= , =?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?= Message-ID: In-Reply-To: https://github.com/NagyDonat approved this pull request. https://github.com/llvm/llvm-project/pull/74627 ___

[llvm] [clang] [RISCV] CodeGen of RVE and ilp32e/lp64e ABIs (PR #76777)

2024-01-09 Thread Nemanja Ivanovic via cfe-commits
@@ -50,11 +50,14 @@ void RISCVTargetStreamer::setTargetABI(RISCVABI::ABI ABI) { void RISCVTargetStreamer::emitTargetAttributes(const MCSubtargetInfo , bool EmitStackAlign) { - if (STI.hasFeature(RISCV::FeatureRVE)) -

[clang] [llvm] [RISCV] CodeGen of RVE and ilp32e/lp64e ABIs (PR #76777)

2024-01-09 Thread Nemanja Ivanovic via cfe-commits
@@ -179,6 +180,11 @@ Assembly Support Supported Fully supported by the compiler. This includes everything in Assembly Support, along with - if relevant - C language intrinsics for the instructions and pattern matching by the compiler to recognize idiomatic patterns which

[clang] [llvm] [RISCV] CodeGen of RVE and ilp32e/lp64e ABIs (PR #76777)

2024-01-09 Thread Nemanja Ivanovic via cfe-commits
@@ -17,6 +17,13 @@ def HasStdExtZicsr : Predicate<"Subtarget->hasStdExtZicsr()">, AssemblerPredicate<(all_of FeatureStdExtZicsr), "'Zicsr' (CSRs)">; +def FeatureStdExtI +: SubtargetFeature<"i", "HasStdExtI",

[llvm] [clang] [RISCV] CodeGen of RVE and ilp32e/lp64e ABIs (PR #76777)

2024-01-09 Thread Nemanja Ivanovic via cfe-commits
@@ -985,9 +1003,10 @@ void RISCVFrameLowering::determineCalleeSaves(MachineFunction , }; for (auto Reg : CSRegs) - SavedRegs.set(Reg); + if (Reg < RISCV::X16 || !Subtarget.isRVE()) nemanjai wrote: What happens if we are using

[clang] [llvm] [RISCV] CodeGen of RVE and ilp32e/lp64e ABIs (PR #76777)

2024-01-09 Thread Nemanja Ivanovic via cfe-commits
@@ -83,13 +88,14 @@ RISCVRegisterInfo::getCalleeSavedRegs(const MachineFunction *MF) const { } BitVector RISCVRegisterInfo::getReservedRegs(const MachineFunction ) const { + const RISCVSubtarget = MF.getSubtarget(); nemanjai wrote: Why was this added? Or

[llvm] [clang] [RISCV] CodeGen of RVE and ilp32e/lp64e ABIs (PR #76777)

2024-01-09 Thread Nemanja Ivanovic via cfe-commits
@@ -38,3 +40,14 @@ def CSR_XLEN_F32_Interrupt: CalleeSavedRegs<(add CSR_Interrupt, // Same as CSR_Interrupt, but including all 64-bit FP registers. def CSR_XLEN_F64_Interrupt: CalleeSavedRegs<(add CSR_Interrupt, (sequence "F%u_D",

[llvm] [clang] [RISCV] CodeGen of RVE and ilp32e/lp64e ABIs (PR #76777)

2024-01-09 Thread Nemanja Ivanovic via cfe-commits
https://github.com/nemanjai edited https://github.com/llvm/llvm-project/pull/76777 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [RISCV] CodeGen of RVE and ilp32e/lp64e ABIs (PR #76777)

2024-01-09 Thread Nemanja Ivanovic via cfe-commits
https://github.com/nemanjai commented: It is not my intent to hold up approval of this patch. In addition to the minor comments I added, I plan to do some local testing but even if the testing reveals issues, they can be fixed on subsequent commits.

[llvm] [clang] [Clang] Update Unicode version to 15.1 (PR #77147)

2024-01-09 Thread via cfe-commits
https://github.com/cor3ntin reopened https://github.com/llvm/llvm-project/pull/77147 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[llvm] [clang] [Clang] Update Unicode version to 15.1 (PR #77147)

2024-01-09 Thread via cfe-commits
cor3ntin wrote: @nikic looks like you closed the wrong issue https://github.com/llvm/llvm-project/pull/77147 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][Sema] Print more static_assert exprs (PR #74852)

2024-01-09 Thread via cfe-commits
https://github.com/sethp updated https://github.com/llvm/llvm-project/pull/74852 >From f281d34a51f662c934f158e4770774b0dc3588a2 Mon Sep 17 00:00:00 2001 From: Seth Pellegrino Date: Thu, 7 Dec 2023 08:45:51 -0800 Subject: [PATCH 1/7] [Clang][Sema] Print more static_assert exprs This change

[libc] [llvm] [lldb] [libunwind] [compiler-rt] [clang] [libcxx] [clang-tools-extra] [flang] [libc++] Implement ranges::iota (PR #68494)

2024-01-09 Thread James E T Smith via cfe-commits
https://github.com/jamesETsmith edited https://github.com/llvm/llvm-project/pull/68494 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][ASTImporter] Improve import of friend class templates. (PR #74627)

2024-01-09 Thread Balázs Kéri via cfe-commits
@@ -5919,15 +5919,26 @@ ExpectedDecl ASTNodeImporter::VisitClassTemplateDecl(ClassTemplateDecl *D) { if (ToD) return ToD; - bool IsFriendTemplate = D->getFriendObjectKind() != Decl::FOK_None; - bool IsDependentContext = DC != LexicalDC ?

[clang] [clang][ASTImporter] Improve import of friend class templates. (PR #74627)

2024-01-09 Thread Balázs Kéri via cfe-commits
https://github.com/balazske updated https://github.com/llvm/llvm-project/pull/74627 From cbcb81ebdbc49e3bd11b6f716ac14658a729b787 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20K=C3=A9ri?= Date: Tue, 5 Dec 2023 15:23:37 +0100 Subject: [PATCH 1/4] [clang][ASTImporter] Improve import of

[libclc] libclc: generic: add half implementation for erf/erfc (PR #66901)

2024-01-09 Thread Kévin Petit via cfe-commits
https://github.com/kpet closed https://github.com/llvm/llvm-project/pull/66901 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libclc] 9160f49 - libclc: generic: add half implementation for erf/erfc (#66901)

2024-01-09 Thread via cfe-commits
Author: Romaric Jodin Date: 2024-01-09T16:47:53Z New Revision: 9160f49e08af4267efdc870a1c9a434bfd155ae3 URL: https://github.com/llvm/llvm-project/commit/9160f49e08af4267efdc870a1c9a434bfd155ae3 DIFF: https://github.com/llvm/llvm-project/commit/9160f49e08af4267efdc870a1c9a434bfd155ae3.diff

[clang] [clang][dataflow] Make cap on block visits configurable by caller. (PR #77481)

2024-01-09 Thread Gábor Horváth via cfe-commits
https://github.com/Xazax-hun approved this pull request. https://github.com/llvm/llvm-project/pull/77481 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[flang] [clang] [mlir] [Flang][OpenMP][MLIR] Add support for -nogpulib option (PR #71045)

2024-01-09 Thread via cfe-commits
https://github.com/agozillon approved this pull request. the PR LGTM. https://github.com/llvm/llvm-project/pull/71045 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][modules] Objective-C test lacks support on AIX/zOS (PR #77485)

2024-01-09 Thread Juergen Ributzka via cfe-commits
https://github.com/ributzka approved this pull request. Sorry for the breakage and thanks for fixing it. https://github.com/llvm/llvm-project/pull/77485 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[flang] [clang] [mlir] [Flang][OpenMP][MLIR] Add support for -nogpulib option (PR #71045)

2024-01-09 Thread Gheorghe-Teodor Bercea via cfe-commits
https://github.com/doru1004 approved this pull request. LG https://github.com/llvm/llvm-project/pull/71045 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][Parser] Pop scope prior VarDecl invalidating by invalid init (PR #77434)

2024-01-09 Thread Shafik Yaghmour via cfe-commits
https://github.com/shafik commented: This makes sense to me but I would like @cor3ntin to review as well. This needs a release note. I see that there was two test cases. Do you think it is worth it to add the second test case as well? https://github.com/llvm/llvm-project/pull/77434

[llvm] [clang] [Clang] Update Unicode version to 15.1 (PR #77147)

2024-01-09 Thread Nikita Popov via cfe-commits
https://github.com/nikic closed https://github.com/llvm/llvm-project/pull/77147 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[flang] [llvm] [clang] [mlir] [MLIR][LLVM] Add Continuous Loop Peeling transform to SCF (PR #77328)

2024-01-09 Thread via cfe-commits
https://github.com/muneebkhan85 updated https://github.com/llvm/llvm-project/pull/77328 >From 91418f78aad0c994a49e9305516bd6bbb3d69d65 Mon Sep 17 00:00:00 2001 From: Muneeb Khan Date: Tue, 7 Nov 2023 23:52:17 +0800 Subject: [PATCH 01/14] [MLIR][LLVM] Add Continuous Loop Peeling transform to

[flang] [llvm] [clang] [mlir] [MLIR][LLVM] Add Continuous Loop Peeling transform to SCF (PR #77328)

2024-01-09 Thread via cfe-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff 036e48e2f5f890e1f9574cdb610e2336f12038a2 d0c6477734356ac3ce898deb84e069ddbfc0fead --

[flang] [llvm] [clang] [mlir] [MLIR][LLVM] Add Continuous Loop Peeling transform to SCF (PR #77328)

2024-01-09 Thread via cfe-commits
https://github.com/muneebkhan85 updated https://github.com/llvm/llvm-project/pull/77328 >From 91418f78aad0c994a49e9305516bd6bbb3d69d65 Mon Sep 17 00:00:00 2001 From: Muneeb Khan Date: Tue, 7 Nov 2023 23:52:17 +0800 Subject: [PATCH 01/14] [MLIR][LLVM] Add Continuous Loop Peeling transform to

[clang] [Clang] Wide delimiters ('{{{') for expect strings (PR #77326)

2024-01-09 Thread via cfe-commits
sethp wrote: Awesome, thank you for your help! https://github.com/llvm/llvm-project/pull/77326 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Wide delimiters ('{{{') for expect strings (PR #77326)

2024-01-09 Thread Erich Keane via cfe-commits
erichkeane wrote: > I think I've followed all the steps in > https://llvm.org/docs/GitHub.html#landing-your-change except performing the > actual merge (or squash), for which I lack write permissions. Is there > anything else for me to do here? Nope! I'll put this on my list to merge when

[libcxx] [llvm] [libunwind] [lldb] [clang-tools-extra] [mlir] [clang] [compiler-rt] [clangd] Fix typo in AST.cpp (PR #77493)

2024-01-09 Thread via cfe-commits
github-actions[bot] wrote: :warning: C/C++ code formatter, clang-format found issues in your code. :warning: You can test this locally with the following command: ``bash git-clang-format --diff 4ea5c603b4c4db36b8ee7e04adf96416f4d996dc 938019a3c34e322b6ead871dd66d973e50c084f1 --

[libcxx] [llvm] [libunwind] [lldb] [clang-tools-extra] [mlir] [clang] [compiler-rt] [clangd] Fix typo in AST.cpp (PR #77493)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangd Author: None (Nour1248) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/77493.diff 1 Files Affected: - (modified) clang-tools-extra/clangd/AST.cpp (+5-5) ``diff diff --git a/clang-tools-extra/clangd/AST.cpp

[libcxx] [llvm] [libunwind] [lldb] [clang-tools-extra] [mlir] [clang] [compiler-rt] [clangd] Fix typo in AST.cpp (PR #77493)

2024-01-09 Thread via cfe-commits
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it

[libcxx] [llvm] [libunwind] [lldb] [clang-tools-extra] [mlir] [clang] [compiler-rt] [clangd] Fix typo in AST.cpp (PR #77493)

2024-01-09 Thread via cfe-commits
https://github.com/Nour1248 created https://github.com/llvm/llvm-project/pull/77493 None >From 4a8855eb6b54e2e073f1ee9384ec3dfc399657a5 Mon Sep 17 00:00:00 2001 From: Nour Fouad Date: Tue, 9 Jan 2024 18:08:45 +0200 Subject: [PATCH] [clangd] Fix typo in AST.cpp ---

[clang] [clang][dataflow] Add an early-out to `flowConditionImplies()` / `flowConditionAllows()`. (PR #77453)

2024-01-09 Thread Yitzhak Mandelbaum via cfe-commits
https://github.com/ymand approved this pull request. https://github.com/llvm/llvm-project/pull/77453 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RISCV][clang] Optimize memory usage of intrinsic lookup table (PR #77487)

2024-01-09 Thread Yingwei Zheng via cfe-commits
@@ -463,7 +464,7 @@ void RISCVIntrinsicManagerImpl::CreateRVVIntrinsicDecl(LookupResult , bool RISCVIntrinsicManagerImpl::CreateIntrinsicIfFound(LookupResult , IdentifierInfo *II,

[clang] [Clang] Wide delimiters ('{{{') for expect strings (PR #77326)

2024-01-09 Thread via cfe-commits
sethp wrote: I think I've followed all the steps in https://llvm.org/docs/GitHub.html#landing-your-change except performing the actual merge (or squash), for which I lack write permissions. Is there anything else for me to do here? https://github.com/llvm/llvm-project/pull/77326

[llvm] [clang] [TargetParser] Define AEK_FCMA and AEK_JSCVT for tsv110 (PR #75516)

2024-01-09 Thread Qi Hu via cfe-commits
https://github.com/Qi-Hu updated https://github.com/llvm/llvm-project/pull/75516 >From 74f1a4ed5d9ea582867babc2cf502b12f5ed97d0 Mon Sep 17 00:00:00 2001 From: Qi Hu Date: Thu, 14 Dec 2023 13:35:52 -0500 Subject: [PATCH] [TargetParser] Define AEK_FCMA and AEK_JSCVT for tsv110 We define

[clang] [clang-repl] Enable native CPU detection by default (PR #77491)

2024-01-09 Thread Stefan Gränitz via cfe-commits
weliveindetail wrote: Oh and this matches the default behavior in Orc host detection btw: https://github.com/llvm/llvm-project/blob/release/17.x/llvm/lib/ExecutionEngine/Orc/JITTargetMachineBuilder.cpp#L35 https://github.com/llvm/llvm-project/pull/77491

[clang] [clang-repl] Enable native CPU detection by default (PR #77491)

2024-01-09 Thread Vassil Vassilev via cfe-commits
https://github.com/vgvassilev approved this pull request. Thank you for the patch, Stefan! Some of our downstream consumers use that flag for exactly these reasons. LGTM! https://github.com/llvm/llvm-project/pull/77491 ___ cfe-commits mailing list

[clang] [Clang] Wide delimiters ('{{{') for expect strings (PR #77326)

2024-01-09 Thread via cfe-commits
https://github.com/sethp updated https://github.com/llvm/llvm-project/pull/77326 >From 1afdcda3bbf695430111873a69631a07e64ff610 Mon Sep 17 00:00:00 2001 From: Seth Pellegrino Date: Sat, 6 Jan 2024 07:54:31 -0800 Subject: [PATCH] [Clang] Wide delimiters ('{{{') for expect strings Prior to this

[clang] [clang-repl] Enable native CPU detection by default (PR #77491)

2024-01-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Stefan Gränitz (weliveindetail) Changes We can pass `-mcpu=native` to the clang driver to let it consider the host CPU when choosing the compile target for `clang-repl`. We can already achieve this behavior with `clang-repl -Xcc

[clang] [RISCV][clang] Optimize memory usage of intrinsic lookup table (PR #77487)

2024-01-09 Thread Kito Cheng via cfe-commits
@@ -463,7 +464,7 @@ void RISCVIntrinsicManagerImpl::CreateRVVIntrinsicDecl(LookupResult , bool RISCVIntrinsicManagerImpl::CreateIntrinsicIfFound(LookupResult , IdentifierInfo *II,

[clang] [clang-repl] Enable native CPU detection by default (PR #77491)

2024-01-09 Thread Stefan Gränitz via cfe-commits
https://github.com/weliveindetail created https://github.com/llvm/llvm-project/pull/77491 We can pass `-mcpu=native` to the clang driver to let it consider the host CPU when choosing the compile target for `clang-repl`. We can already achieve this behavior with `clang-repl -Xcc -mcpu=native`,

[clang] [clang-format] Fix crash involving array designators (PR #77045)

2024-01-09 Thread via cfe-commits
https://github.com/XDeme edited https://github.com/llvm/llvm-project/pull/77045 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang]use correct this scope to evaluate noexcept expr (PR #77416)

2024-01-09 Thread Congcong Cai via cfe-commits
https://github.com/HerrCai0907 closed https://github.com/llvm/llvm-project/pull/77416 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 4b7e861 - [clang]use correct this scope to evaluate noexcept expr (#77416)

2024-01-09 Thread via cfe-commits
Author: Congcong Cai Date: 2024-01-09T23:48:02+08:00 New Revision: 4b7e861d136d941d86b234fbcef520fd798b26fa URL: https://github.com/llvm/llvm-project/commit/4b7e861d136d941d86b234fbcef520fd798b26fa DIFF: https://github.com/llvm/llvm-project/commit/4b7e861d136d941d86b234fbcef520fd798b26fa.diff

[clang] [Clang] Wide delimiters ('{{{') for expect strings (PR #77326)

2024-01-09 Thread via cfe-commits
@@ -3458,8 +3461,34 @@ A range can also be specified by ``-``. For example: In this example, the diagnostic may appear only once, if at all. +.. _DiagnosticMatching: + +Matching Modes +~~ + +The default matching mode is simple string, which looks for the

[clang] [Clang] Wide delimiters ('{{{') for expect strings (PR #77326)

2024-01-09 Thread Erich Keane via cfe-commits
https://github.com/erichkeane approved this pull request. https://github.com/llvm/llvm-project/pull/77326 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Serialization] Load Specializations Lazily (PR #76774)

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

[clang] [Serialization] Load Specializations Lazily (PR #76774)

2024-01-09 Thread Vassil Vassilev via cfe-commits
https://github.com/vgvassilev commented: Overall this looks quite promising to me. Have you run that patch on bigger workflows? Do we have some performance numbers to compare? I will run some tests on our infrastructure and report back. https://github.com/llvm/llvm-project/pull/76774

[clang] [Serialization] Load Specializations Lazily (PR #76774)

2024-01-09 Thread Vassil Vassilev via cfe-commits
@@ -100,6 +100,11 @@ ExternalASTSource::FindExternalVisibleDeclsByName(const DeclContext *DC, return false; } +void ExternalASTSource::LoadExternalSpecializations( +const Decl *D, ArrayRef TemplateArgs) { + return; vgvassilev wrote: ```suggestion ```

[clang] [clang-format] Fix crash involving array designators (PR #77045)

2024-01-09 Thread via cfe-commits
https://github.com/XDeme edited https://github.com/llvm/llvm-project/pull/77045 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Wide delimiters ('{{{') for expect strings (PR #77326)

2024-01-09 Thread via cfe-commits
https://github.com/sethp updated https://github.com/llvm/llvm-project/pull/77326 >From cd0b9aed2d9e53f9b38aaa0f73336acae06bfbee Mon Sep 17 00:00:00 2001 From: Seth Pellegrino Date: Sat, 6 Jan 2024 07:54:31 -0800 Subject: [PATCH 1/4] [Clang] Wide delimiters ('{{{') for expect strings Prior to

[clang] [clang-format] Fix crash involving array designators and dangling comma (PR #77045)

2024-01-09 Thread via cfe-commits
https://github.com/XDeme updated https://github.com/llvm/llvm-project/pull/77045 >From d9cbbe48b96d27bff3fc926b60d039ed05f00489 Mon Sep 17 00:00:00 2001 From: XDeme Date: Fri, 5 Jan 2024 01:23:16 -0300 Subject: [PATCH 1/6] [clang-format] Fix crash involving array designators and dangling comma

[clang] [flang] [flang][driver] Add support for -isysroot in the frontend (PR #77365)

2024-01-09 Thread Andrzej Warzyński via cfe-commits
@@ -0,0 +1,12 @@ +! Verify that the -isysroot flag is known to the frontend and, on Darwin, +! is passed on to the linker. + +! RUN: %flang -### --target=aarch64-apple-darwin -isysroot /path/to/sysroot \ +! RUN:%s 2>&1 | FileCheck %s --check-prefix=CHECK-DARWIN +! RUN:

[clang] [flang] [flang][driver] Add support for -isysroot in the frontend (PR #77365)

2024-01-09 Thread Andrzej Warzyński via cfe-commits
@@ -220,6 +220,13 @@ static or shared library, the generated library does not need a `main` function, as a final link stage will occur that will provide the `Fortran_main` library when creating the final executable. +On Darwin, the logical root where the system libraries are

[llvm] [libunwind] [libcxx] [libc++] Allow running the test suite with optimizations (PR #68753)

2024-01-09 Thread Louis Dionne via cfe-commits
https://github.com/ldionne closed https://github.com/llvm/llvm-project/pull/68753 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libunwind] ca06c33 - [libc++] Allow running the test suite with optimizations (#68753)

2024-01-09 Thread via cfe-commits
Author: Louis Dionne Date: 2024-01-09T10:39:14-05:00 New Revision: ca06c330fd07f05e65a638892c32ca1474d47b5e URL: https://github.com/llvm/llvm-project/commit/ca06c330fd07f05e65a638892c32ca1474d47b5e DIFF: https://github.com/llvm/llvm-project/commit/ca06c330fd07f05e65a638892c32ca1474d47b5e.diff

[compiler-rt] [clang] [clang-tools-extra] [PGO] Exposing PGO's Counter Reset and File Dumping APIs (PR #76471)

2024-01-09 Thread Qiongsi Wu via cfe-commits
https://github.com/qiongsiwu closed https://github.com/llvm/llvm-project/pull/76471 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] 07c9189 - [PGO] Exposing PGO's Counter Reset and File Dumping APIs (#76471)

2024-01-09 Thread via cfe-commits
Author: Qiongsi Wu Date: 2024-01-09T10:38:17-05:00 New Revision: 07c9189fcc063bdf6219d2733843c89cde3991e1 URL: https://github.com/llvm/llvm-project/commit/07c9189fcc063bdf6219d2733843c89cde3991e1 DIFF: https://github.com/llvm/llvm-project/commit/07c9189fcc063bdf6219d2733843c89cde3991e1.diff

[clang] 07c9189 - [PGO] Exposing PGO's Counter Reset and File Dumping APIs (#76471)

2024-01-09 Thread via cfe-commits
Author: Qiongsi Wu Date: 2024-01-09T10:38:17-05:00 New Revision: 07c9189fcc063bdf6219d2733843c89cde3991e1 URL: https://github.com/llvm/llvm-project/commit/07c9189fcc063bdf6219d2733843c89cde3991e1 DIFF: https://github.com/llvm/llvm-project/commit/07c9189fcc063bdf6219d2733843c89cde3991e1.diff

[compiler-rt] [clang] [clang-tools-extra] [PGO] Exposing PGO's Counter Reset and File Dumping APIs (PR #76471)

2024-01-09 Thread Qiongsi Wu via cfe-commits
qiongsiwu wrote: Landing this PR. It seems that the format error is not caused by any changes in this PR. https://github.com/llvm/llvm-project/pull/76471 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[clang] a85cbe8 - Disable autolink_private_module.m for z/OS & AIX

2024-01-09 Thread David Tenty via cfe-commits
Author: Zibi Sarbinowski Date: 2024-01-09T10:33:45-05:00 New Revision: a85cbe8f9036c8771fbf61335eb288eaefcda365 URL: https://github.com/llvm/llvm-project/commit/a85cbe8f9036c8771fbf61335eb288eaefcda365 DIFF:

[clang] [clang][dataflow] Add an early-out to `flowConditionImplies()` / `flowConditionAllows()`. (PR #77453)

2024-01-09 Thread Gábor Horváth via cfe-commits
https://github.com/Xazax-hun approved this pull request. https://github.com/llvm/llvm-project/pull/77453 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

<    1   2   3   4   5   6   >