[libclc] [libclc] Support the generic address space (PR #137183)

2025-04-30 Thread Matt Arsenault via cfe-commits
@@ -23,4 +23,20 @@ #define _CLC_DEF __attribute__((always_inline)) #endif +#if __OPENCL_C_VERSION__ == CL_VERSION_2_0 || \ +(__OPENCL_C_VERSION__ >= CL_VERSION_3_0 && \ + defined(__opencl_c_generic_addr

[libclc] [libclc] Add v3 variants of async_work_group_copy/async_work_group_strided_copy/prefetch (PR #137932)

2025-04-30 Thread Fraser Cormack via cfe-commits
https://github.com/frasercrmck approved this pull request. LGTM. I see there's a note in the spec: `async_work_group_copy and async_work_group_strided_copy for 3-component vector types behave as async_work_group_copy and async_work_group_strided_copy respectively for 4-component vector types.

[clang] Thread Safety Analysis: Support reentrant capabilities (PR #137133)

2025-04-30 Thread Marco Elver via cfe-commits
https://github.com/melver edited https://github.com/llvm/llvm-project/pull/137133 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Thread Safety Analysis: Support reentrant capabilities (PR #137133)

2025-04-30 Thread Marco Elver via cfe-commits
https://github.com/melver edited https://github.com/llvm/llvm-project/pull/137133 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [NVPTX] Support the OpenCL generic addrspace feature by default (PR #137940)

2025-04-30 Thread Fraser Cormack via cfe-commits
https://github.com/frasercrmck created https://github.com/llvm/llvm-project/pull/137940 As best as I can see, all NVPTX architectures support the generic address space. I note there's a FIXME in the target's address space map about 'generic' still having to be added to the target but we haven'

[clang] [NVPTX] Support the OpenCL generic addrspace feature by default (PR #137940)

2025-04-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Fraser Cormack (frasercrmck) Changes As best as I can see, all NVPTX architectures support the generic address space. I note there's a FIXME in the target's address space map about 'generic' still having to be added to the target but we h

[clang] 04aa5a8 - [OMPIRBuilder] Don't discard the debug record from entry block. (#135161)

2025-04-30 Thread via cfe-commits
Author: Abid Qadeer Date: 2025-04-30T10:25:35+01:00 New Revision: 04aa5a88d17f5c1cab7acde2e87de05a405e60f1 URL: https://github.com/llvm/llvm-project/commit/04aa5a88d17f5c1cab7acde2e87de05a405e60f1 DIFF: https://github.com/llvm/llvm-project/commit/04aa5a88d17f5c1cab7acde2e87de05a405e60f1.diff L

[clang] [llvm] [mlir] [OMPIRBuilder] Don't discard the debug record from entry block. (PR #135161)

2025-04-30 Thread Abid Qadeer via cfe-commits
https://github.com/abidh closed https://github.com/llvm/llvm-project/pull/135161 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [C] Diagnose use of C++ keywords in C (PR #137234)

2025-04-30 Thread Aaron Ballman via cfe-commits
https://github.com/AaronBallman updated https://github.com/llvm/llvm-project/pull/137234 >From 56a3f3cd282e9bd5ef9014e4125380e0d9685121 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Thu, 24 Apr 2025 14:17:42 -0400 Subject: [PATCH 01/19] [C] Diagnose use of C++ keywords in C This adds a ne

[clang] [Clang][OpenCL][AMDGPU] OpenCL Kernel stubs should be assigned alwaysinline attribute (PR #137769)

2025-04-30 Thread Aniket Lal via cfe-commits
https://github.com/lalaniket8 updated https://github.com/llvm/llvm-project/pull/137769 >From 8fd3b0cafa7ddd260d073232f93e262a6d508d52 Mon Sep 17 00:00:00 2001 From: anikelal Date: Tue, 29 Apr 2025 13:59:48 +0530 Subject: [PATCH] add alwaysinline attribute to stubs --- clang/lib/CodeGen/CodeGe

[clang] default clause replaced by otherwise clause for metadirective in OpenMP 5.2 (PR #128640)

2025-04-30 Thread Urvi Rav via cfe-commits
https://github.com/ravurvi20 updated https://github.com/llvm/llvm-project/pull/128640 >From 6ebd5991788608fbd104ea9c23230912044462d3 Mon Sep 17 00:00:00 2001 From: Urvi Rav Date: Tue, 25 Feb 2025 00:49:07 -0600 Subject: [PATCH 1/7] default clause replaced by otherwise clause for metadirective

[clang] [clang] ownership_returns attribute takes no more than 2 arguments (PR #137897)

2025-04-30 Thread Iris Shi via cfe-commits
el-ev wrote: ### Merge activity * **Apr 30, 7:27 AM EDT**: A user started a stack merge that includes this pull request via [Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/137897). https://github.com/llvm/llvm-project/pull/137897 __

[clang] 6dfd354 - [clang] ownership_returns attribute takes no more than 2 arguments (#137897)

2025-04-30 Thread via cfe-commits
Author: halbi2 Date: 2025-04-30T19:29:37+08:00 New Revision: 6dfd35457123089b3506899c8bc522f3dfa6e959 URL: https://github.com/llvm/llvm-project/commit/6dfd35457123089b3506899c8bc522f3dfa6e959 DIFF: https://github.com/llvm/llvm-project/commit/6dfd35457123089b3506899c8bc522f3dfa6e959.diff LOG: [

[clang] [clang] ownership_returns attribute takes no more than 2 arguments (PR #137897)

2025-04-30 Thread Iris Shi via cfe-commits
https://github.com/el-ev closed https://github.com/llvm/llvm-project/pull/137897 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libclc] [libclc] Clean up unnecessary #undef __CLC_BODYs (PR #137959)

2025-04-30 Thread Fraser Cormack via cfe-commits
https://github.com/frasercrmck created https://github.com/llvm/llvm-project/pull/137959 This macro is automatically undefined by the various gentype-like helpers. >From ef6433ffa32a8f4ced865382bfd45de61f5aef53 Mon Sep 17 00:00:00 2001 From: Fraser Cormack Date: Wed, 30 Apr 2025 13:48:16 +0100

[clang] [Clang][AArch64] make bitperm intrinsics available in streaming mode (PR #129700)

2025-04-30 Thread via cfe-commits
https://github.com/CarolineConcatto approved this pull request. https://github.com/llvm/llvm-project/pull/129700 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [IR] Do not store Function inside BlockAddress (PR #137958)

2025-04-30 Thread Nikita Popov via cfe-commits
https://github.com/nikic updated https://github.com/llvm/llvm-project/pull/137958 >From 2d3db51939ec6ca2dfb2e327bce0f33bd2532ff9 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 30 Apr 2025 13:00:19 +0200 Subject: [PATCH] [IR] Do not store Function inside BlockAddress Currently BlockAddr

[clang] Fix crash when an attribute is applied to pragma attribute/pragma dump (PR #137880)

2025-04-30 Thread Aaron Ballman via cfe-commits
https://github.com/AaronBallman approved this pull request. LGTM, but the changes should come with a release note, right? https://github.com/llvm/llvm-project/pull/137880 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cg

[clang] [llvm] [IR] Do not store Function inside BlockAddress (PR #137958)

2025-04-30 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 HEAD~1 HEAD --extensions cpp,h -- clang/lib/CodeGen/CodeGenFunction.cpp llvm/include/

[libclc] [libclc] Clean up unnecessary #undef __CLC_BODYs (PR #137959)

2025-04-30 Thread Fraser Cormack via cfe-commits
frasercrmck wrote: CC @wenju-he https://github.com/llvm/llvm-project/pull/137959 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][OpenCL][AMDGPU] OpenCL Kernel stubs should be assigned alwaysinline attribute (PR #137769)

2025-04-30 Thread Yaxun Liu via cfe-commits
yxsamliu wrote: > > In practice this should be a single use of an internal function and should > > not require this hint. Is this papering over a different issue? > > Why do you think it is an internal function? I thought it's an externally > callable stub. Agree. OpenCL allows calling an ext

[clang] [Clang][AArch64] make bitperm intrinsics available in streaming mode (PR #129700)

2025-04-30 Thread via cfe-commits
https://github.com/Lukacma updated https://github.com/llvm/llvm-project/pull/129700 >From 4b7b5a05b918e644559319f10e6635643a2ee2e7 Mon Sep 17 00:00:00 2001 From: Marian Lukac Date: Tue, 4 Mar 2025 12:48:19 + Subject: [PATCH] [Clang][AArch64] update bitperm intrinsics to be available in str

[clang] [clang] Merge gtest binaries into AllClangUnitTests (PR #134196)

2025-04-30 Thread Nico Weber via cfe-commits
nico wrote: `BasicTests` and `FormatTests` had fairly few deps (they didn't need Sema etc) and compiled much fewer files than they presumably now do. Does it make sense to keep those as distinct binaries? https://github.com/llvm/llvm-project/pull/134196

[libclc] [libclc] Clean up unnecessary #undef __CLC_BODYs (PR #137959)

2025-04-30 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 HEAD~1 HEAD --extensions inc,h,cl -- libclc/clc/include/clc/common/clc_degrees.h lib

[clang] [clang] Merge gtest binaries into AllClangUnitTests (PR #134196)

2025-04-30 Thread Nico Weber via cfe-commits
@@ -304,7 +304,7 @@ getCodeModel(const CodeGenOptions &CodeGenOpts) { .Case("kernel", llvm::CodeModel::Kernel) .Case("medium", llvm::CodeModel::Medium) .Case("large", llvm::CodeModel::Large) -

[clang] [C] Modify -Wdefault-const-init (PR #137961)

2025-04-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Aaron Ballman (AaronBallman) Changes Post-commit review feedback on https://github.com/llvm/llvm-project/pull/137166 raised a concern from the Linux kernel about wanting to silence the new diagnostic when the uninitialized object is a con

[clang] [C] Warn on uninitialized const objects (PR #137166)

2025-04-30 Thread Aaron Ballman via cfe-commits
AaronBallman wrote: > > This case might be reasonable to handle differently, but I'm on the fence > > too. There's two cases for structure members, broadly: > > > > 1. Don't initialize the `const` field, don't ever read the `const` field. > > 2. Rely on the fact that you can overwrite a `const`

[clang] [C] Modify -Wdefault-const-init (PR #137961)

2025-04-30 Thread Aaron Ballman via cfe-commits
https://github.com/AaronBallman created https://github.com/llvm/llvm-project/pull/137961 Post-commit review feedback on https://github.com/llvm/llvm-project/pull/137166 raised a concern from the Linux kernel about wanting to silence the new diagnostic when the uninitialized object is a const m

[libclc] [libclc] Support the generic address space (PR #137183)

2025-04-30 Thread Fraser Cormack via cfe-commits
@@ -23,4 +23,20 @@ #define _CLC_DEF __attribute__((always_inline)) #endif +#if __OPENCL_C_VERSION__ == CL_VERSION_2_0 || \ +(__OPENCL_C_VERSION__ >= CL_VERSION_3_0 && \ + defined(__opencl_c_generic_addr

[clang] [clang][SPIRV] Add builtin for OpGenericCastToPtrExplicit and its SPIR-V friendly binding (PR #137805)

2025-04-30 Thread Victor Lomuller via cfe-commits
https://github.com/Naghasan updated https://github.com/llvm/llvm-project/pull/137805 >From 020a804188b13ef881dcf1cbd81a5e11e4803d62 Mon Sep 17 00:00:00 2001 From: Victor Lomuller Date: Mon, 28 Apr 2025 16:20:09 +0100 Subject: [PATCH 1/2] [clang][SPIRV] Add builtin for OpGenericCastToPtrExplicit

[clang] [flang] [llvm] Add IR Profile-Guided Optimization (IR PGO) support to the Flang compiler (PR #136098)

2025-04-30 Thread via cfe-commits
@@ -13,9 +13,14 @@ #ifndef LLVM_FRONTEND_DRIVER_CODEGENOPTIONS_H #define LLVM_FRONTEND_DRIVER_CODEGENOPTIONS_H +#include "llvm/ProfileData/InstrProfCorrelator.h" +#include namespace llvm { class Triple; class TargetLibraryInfoImpl; +extern llvm::cl::opt DebugInfoCorrelate;

[clang] [clang][SPIRV] Add builtin for OpGenericCastToPtrExplicit and its SPIR-V friendly binding (PR #137805)

2025-04-30 Thread Victor Lomuller via cfe-commits
@@ -33,8 +46,114 @@ static bool CheckAllArgsHaveSameType(Sema *S, CallExpr *TheCall) { return false; } -bool SemaSPIRV::CheckSPIRVBuiltinFunctionCall(unsigned BuiltinID, +static std::optional +processConstant32BitIntArgument(Sema &SemaRef, CallExpr *Call, int Argument) { +

[clang] [clang][SPIRV] Add builtin for OpGenericCastToPtrExplicit and its SPIR-V friendly binding (PR #137805)

2025-04-30 Thread Victor Lomuller via cfe-commits
@@ -97,10 +97,10 @@ static Value *EmitTargetArchBuiltinExpr(CodeGenFunction *CGF, case llvm::Triple::riscv64: return CGF->EmitRISCVBuiltinExpr(BuiltinID, E, ReturnValue); case llvm::Triple::spirv: Naghasan wrote: nope, I fixed it https://github.com/l

[clang] [Clang][Sema] Handle invalid variable template specialization whose type depends on itself (PR #134522)

2025-04-30 Thread Yanzuo Liu via cfe-commits
https://github.com/zwuis updated https://github.com/llvm/llvm-project/pull/134522 >From ccab3dc1f18ffeda9acb07c0bd5f80f65cc788b9 Mon Sep 17 00:00:00 2001 From: Yanzuo Liu Date: Sun, 6 Apr 2025 15:06:56 +0800 Subject: [PATCH 1/4] Handle invalid variable template specialization whose type depend

[clang] default clause replaced by otherwise clause for metadirective in OpenMP 5.2 (PR #128640)

2025-04-30 Thread Alexey Bataev via cfe-commits
https://github.com/alexey-bataev approved this pull request. https://github.com/llvm/llvm-project/pull/128640 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] default clause replaced by otherwise clause for metadirective in OpenMP 5.2 (PR #128640)

2025-04-30 Thread Alexey Bataev via cfe-commits
alexey-bataev wrote: Missed a couple of things. Need to update OpenMPSupport.rst and ReleaseNotes https://github.com/llvm/llvm-project/pull/128640 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/c

[clang] 92195f6 - Reapply "[DLCov] Implement DebugLoc coverage tracking (#107279)"

2025-04-30 Thread Stephen Tozer via cfe-commits
Author: Stephen Tozer Date: 2025-04-30T11:39:29+01:00 New Revision: 92195f6fc873cd27a5aa0852252dfe44ccdc6ea0 URL: https://github.com/llvm/llvm-project/commit/92195f6fc873cd27a5aa0852252dfe44ccdc6ea0 DIFF: https://github.com/llvm/llvm-project/commit/92195f6fc873cd27a5aa0852252dfe44ccdc6ea0.diff

[libclc] [libclc] Add v3 variants of async_work_group_copy/async_work_group_strided_copy/prefetch (PR #137932)

2025-04-30 Thread Wenju He via cfe-commits
@@ -9,15 +9,31 @@ #define __CLC_DST_ADDR_SPACE local #define __CLC_SRC_ADDR_SPACE global #define __CLC_BODY -#include +#include +#undef __CLC_DST_ADDR_SPACE wenju-he wrote: done, thanks for the suggestion https://github.com/llvm/llvm-project/pull/137932 __

[libclc] [libclc] Add v3 variants of async_work_group_copy/async_work_group_strided_copy/prefetch (PR #137932)

2025-04-30 Thread Wenju He via cfe-commits
https://github.com/wenju-he updated https://github.com/llvm/llvm-project/pull/137932 >From cafb374de8d77c82fa450b732a122663090f6e34 Mon Sep 17 00:00:00 2001 From: Wenju He Date: Wed, 30 Apr 2025 00:44:50 -0700 Subject: [PATCH 1/3] [libclc] Add v3 variants of async_work_group_copy/async_work_gr

[libclc] [libclc] Add v3 variants of async_work_group_copy/async_work_group_strided_copy/prefetch (PR #137932)

2025-04-30 Thread Wenju He via cfe-commits
wenju-he wrote: > We could probably come up with some kind of combined `gentype.inc` that does > them both at once good idea. https://github.com/llvm/llvm-project/pull/137932 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llv

[libclc] [libclc] Add v3 variants of async_work_group_copy/async_work_group_strided_copy/prefetch (PR #137932)

2025-04-30 Thread Fraser Cormack via cfe-commits
https://github.com/frasercrmck closed https://github.com/llvm/llvm-project/pull/137932 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libclc] 5b6fc61 - [libclc] Add v3 variants of async_work_group_copy/async_work_group_strided_copy/prefetch (#137932)

2025-04-30 Thread via cfe-commits
Author: Wenju He Date: 2025-04-30T13:19:08+01:00 New Revision: 5b6fc610919cc2e88fe3d9bfcc23637c75a636c9 URL: https://github.com/llvm/llvm-project/commit/5b6fc610919cc2e88fe3d9bfcc23637c75a636c9 DIFF: https://github.com/llvm/llvm-project/commit/5b6fc610919cc2e88fe3d9bfcc23637c75a636c9.diff LOG:

[clang] default clause replaced by otherwise clause for metadirective in OpenMP 5.2 (PR #128640)

2025-04-30 Thread Urvi Rav via cfe-commits
https://github.com/ravurvi20 updated https://github.com/llvm/llvm-project/pull/128640 >From 6ebd5991788608fbd104ea9c23230912044462d3 Mon Sep 17 00:00:00 2001 From: Urvi Rav Date: Tue, 25 Feb 2025 00:49:07 -0600 Subject: [PATCH 1/9] default clause replaced by otherwise clause for metadirective

[libclc] 1180740 - [libclc][NFC] Remove unused integer-gentype.inc

2025-04-30 Thread Fraser Cormack via cfe-commits
Author: Fraser Cormack Date: 2025-04-30T13:39:23+01:00 New Revision: 1180740ced0218865577a09c9245f035e443a6f0 URL: https://github.com/llvm/llvm-project/commit/1180740ced0218865577a09c9245f035e443a6f0 DIFF: https://github.com/llvm/llvm-project/commit/1180740ced0218865577a09c9245f035e443a6f0.diff

[clang] [C] Diagnose use of C++ keywords in C (PR #137234)

2025-04-30 Thread Aaron Ballman via cfe-commits
AaronBallman wrote: > The ObjC `@` is essentially an escape into a completely different grammar, > and it doesn't matter whether the following identifier is a keyword or not in > the base language. This warning should never kick in on that identifier. Okay, I've done that. > Similarly, ObjC s

[clang] [llvm] [IR] Do not store Function inside BlockAddress (PR #137958)

2025-04-30 Thread Nikita Popov via cfe-commits
https://github.com/nikic created https://github.com/llvm/llvm-project/pull/137958 Currently BlockAddresses store both the Function and the BasicBlock they reference, and the BlockAddress is part of the use list of both the Function and BasicBlock. This is quite awkward, because this is not re

[clang] [llvm] [IR] Do not store Function inside BlockAddress (PR #137958)

2025-04-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-codegen Author: Nikita Popov (nikic) Changes Currently BlockAddresses store both the Function and the BasicBlock they reference, and the BlockAddress is part of the use list of both the Function and BasicBlock. This is

[clang] [llvm] [IR] Do not store Function inside BlockAddress (PR #137958)

2025-04-30 Thread Nikita Popov via cfe-commits
@@ -32,7 +32,7 @@ void llvm::reduceFunctionsDeltaPass(Oracle &O, ReducerWorkItem &WorkItem) { // Intrinsics don't have function bodies that are useful to // reduce. Additionally, intrinsics may have additional operand // constraints. But, do drop intrinsics that ar

[clang] 4258998 - [clang][bytecode] Only print ptr/reference types via toAPValue() (#137965)

2025-04-30 Thread via cfe-commits
Author: Timm Baeder Date: 2025-05-01T06:04:59+02:00 New Revision: 4258998654a67fb98da16f2c56cbb5912e990a9c URL: https://github.com/llvm/llvm-project/commit/4258998654a67fb98da16f2c56cbb5912e990a9c DIFF: https://github.com/llvm/llvm-project/commit/4258998654a67fb98da16f2c56cbb5912e990a9c.diff L

[clang] [clang][bytecode] Only print ptr/reference types via toAPValue() (PR #137965)

2025-04-30 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr closed https://github.com/llvm/llvm-project/pull/137965 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Add AlignAfterOpenBracketOptions (PR #108332)

2025-04-30 Thread Gedare Bloom via cfe-commits
https://github.com/gedare updated https://github.com/llvm/llvm-project/pull/108332 >From b2cbc7730aca7c75679c070292cfd07cf55854af Mon Sep 17 00:00:00 2001 From: Gedare Bloom Date: Thu, 20 Jun 2024 17:35:39 -0600 Subject: [PATCH 1/2] Format: add AlignAfterControlStatement Introduce new style op

[clang] [clang][bytecode] Only print ptr/reference types via toAPValue() (PR #137965)

2025-04-30 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` at step 2 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/51/builds/15357 Here is the relevant piece of the

[clang] [clang][ptrauth] add support for options parameter to __ptrauth (PR #136828)

2025-04-30 Thread Oliver Hunt via cfe-commits
https://github.com/ojhunt updated https://github.com/llvm/llvm-project/pull/136828 >From b3de41c15edc527154e461e5b0df61642599b45e Mon Sep 17 00:00:00 2001 From: Oliver Hunt Date: Wed, 23 Apr 2025 01:43:00 -0700 Subject: [PATCH 1/6] [clang][ptrauth] add support for options parameter to __ptraut

[clang] c2c0ef5 - [clang][NFC] Convert `Sema::VariadicCallType` to scoped enum

2025-04-30 Thread Vlad Serebrennikov via cfe-commits
Author: Vlad Serebrennikov Date: 2025-05-01T07:01:06+03:00 New Revision: c2c0ef50a1a679058fffe445a6e78b6d232dc231 URL: https://github.com/llvm/llvm-project/commit/c2c0ef50a1a679058fffe445a6e78b6d232dc231 DIFF: https://github.com/llvm/llvm-project/commit/c2c0ef50a1a679058fffe445a6e78b6d232dc231.

[clang] 53c175c - [nfc][clang] Rename function (#137874)

2025-04-30 Thread via cfe-commits
Author: Prabhu Rajasekaran Date: 2025-04-30T21:32:19-07:00 New Revision: 53c175ceafc58fcdf13fd51f73506a7d277873bb URL: https://github.com/llvm/llvm-project/commit/53c175ceafc58fcdf13fd51f73506a7d277873bb DIFF: https://github.com/llvm/llvm-project/commit/53c175ceafc58fcdf13fd51f73506a7d277873bb.

[clang] [nfc][clang] Rename function (PR #137874)

2025-04-30 Thread Prabhu Rajasekaran via cfe-commits
https://github.com/Prabhuk closed https://github.com/llvm/llvm-project/pull/137874 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [nfc][clang] Rename function (PR #137874)

2025-04-30 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `lldb-x86_64-debian` running on `lldb-x86_64-debian` while building `clang` at step 6 "test". Full details are available at: https://lab.llvm.org/buildbot/#/builders/162/builds/21389 Here is the relevant piece of the build lo

[clang] 5f3e5df - [clang][NFC] Convert `Sema::BuiltinCountedByRefKind` to scoped enum

2025-04-30 Thread Vlad Serebrennikov via cfe-commits
Author: Vlad Serebrennikov Date: 2025-05-01T08:01:03+03:00 New Revision: 5f3e5df48186a7e409d548deec13a68486e3b944 URL: https://github.com/llvm/llvm-project/commit/5f3e5df48186a7e409d548deec13a68486e3b944 DIFF: https://github.com/llvm/llvm-project/commit/5f3e5df48186a7e409d548deec13a68486e3b944.

[clang] d0a9727 - [clang][bytecode] Remove obsolete test file (#138080)

2025-04-30 Thread via cfe-commits
Author: Timm Baeder Date: 2025-05-01T07:16:47+02:00 New Revision: d0a97271a4ea2b0fe392afe498af20f8499260d2 URL: https://github.com/llvm/llvm-project/commit/d0a97271a4ea2b0fe392afe498af20f8499260d2 DIFF: https://github.com/llvm/llvm-project/commit/d0a97271a4ea2b0fe392afe498af20f8499260d2.diff L

[clang] [clang][bytecode] Remove obsolete test file (PR #138080)

2025-04-30 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr closed https://github.com/llvm/llvm-project/pull/138080 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 4acfd83 - [clang][bytecode][NFC] Remove unused Context::getStack() (#138079)

2025-04-30 Thread via cfe-commits
Author: Timm Baeder Date: 2025-05-01T07:09:29+02:00 New Revision: 4acfd83ee492ba238c4082a5467a5a8e92d45102 URL: https://github.com/llvm/llvm-project/commit/4acfd83ee492ba238c4082a5467a5a8e92d45102 DIFF: https://github.com/llvm/llvm-project/commit/4acfd83ee492ba238c4082a5467a5a8e92d45102.diff L

[libunwind] libunwind: Do not use __attribute__((target("gcs"))) with non-clang … (PR #138077)

2025-04-30 Thread Andrew Pinski via cfe-commits
pinskia wrote: Actually GCC 15 does support GCS, the syntax is just `__attribute__((target("+gcs")))` Note the + there. The error message is clear too. https://github.com/llvm/llvm-project/pull/138077 ___ cfe-commits mailing list cfe-commits@lists.ll

[clang] [clang][bytecode][NFC] Remove unused Context::getStack() (PR #138079)

2025-04-30 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr closed https://github.com/llvm/llvm-project/pull/138079 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libunwind] libunwind: Do not use __attribute__((target("gcs"))) with non-clang … (PR #138077)

2025-04-30 Thread Khem Raj via cfe-commits
https://github.com/kraj updated https://github.com/llvm/llvm-project/pull/138077 >From 399e475a17022e6806803ddb7e83599403ffb53d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 30 Apr 2025 19:51:19 -0700 Subject: [PATCH] libunwind: Do not use __attribute__((target("gcs"))) with non-clang comp

[clang] e70a8a6 - [clang][NFC] Convert `Sema::NameClassificationKind` to scoped enum

2025-04-30 Thread Vlad Serebrennikov via cfe-commits
Author: Vlad Serebrennikov Date: 2025-05-01T08:13:30+03:00 New Revision: e70a8a6e0e9c3700bcfe7e9cce3c5edee6a51022 URL: https://github.com/llvm/llvm-project/commit/e70a8a6e0e9c3700bcfe7e9cce3c5edee6a51022 DIFF: https://github.com/llvm/llvm-project/commit/e70a8a6e0e9c3700bcfe7e9cce3c5edee6a51022.

[libunwind] libunwind: Do not use __attribute__((target("gcs"))) with non-clang … (PR #138077)

2025-04-30 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 HEAD~1 HEAD --extensions h,c -- libunwind/src/UnwindLevel1.c libunwind/src/shadow_sta

[clang] [clang][bytecode] Fix checking for integer overflow (PR #137962)

2025-04-30 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr closed https://github.com/llvm/llvm-project/pull/137962 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libunwind] libunwind: Do not use __attribute__((target("gcs"))) with non-clang … (PR #138077)

2025-04-30 Thread Khem Raj via cfe-commits
https://github.com/kraj updated https://github.com/llvm/llvm-project/pull/138077 >From aabc92ee06f3ccf89bcccf759c50a667d4eada0c Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 30 Apr 2025 19:51:19 -0700 Subject: [PATCH] libunwind: Use +gcs instead of gcs target attribute __attribute__((targe

[clang] [clang][ptrauth] add support for options parameter to __ptrauth (PR #136828)

2025-04-30 Thread Oliver Hunt via cfe-commits
https://github.com/ojhunt updated https://github.com/llvm/llvm-project/pull/136828 >From 21dc6e5a5c9762292bc135c62c6b442dc18908b3 Mon Sep 17 00:00:00 2001 From: Oliver Hunt Date: Wed, 30 Apr 2025 22:26:59 -0700 Subject: [PATCH] [clang][ptrauth] add support for options parameter to __ptrauth T

[libunwind] libunwind: Do not use __attribute__((target("gcs"))) with non-clang … (PR #138077)

2025-04-30 Thread Khem Raj via cfe-commits
https://github.com/kraj updated https://github.com/llvm/llvm-project/pull/138077 >From bcc31a9384d2df1c0f27ef140e1f0f9ee493034f Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 30 Apr 2025 19:51:19 -0700 Subject: [PATCH] libunwind: Use +gcs instead of gcs target attribute __attribute__((targe

[clang] c51be1b - [clang][bytecode] Fix checking for integer overflow (#137962)

2025-04-30 Thread via cfe-commits
Author: Timm Baeder Date: 2025-05-01T07:35:33+02:00 New Revision: c51be1be3ac9c66fc0c598298edd1fd224c1da07 URL: https://github.com/llvm/llvm-project/commit/c51be1be3ac9c66fc0c598298edd1fd224c1da07 DIFF: https://github.com/llvm/llvm-project/commit/c51be1be3ac9c66fc0c598298edd1fd224c1da07.diff L

[libunwind] libunwind: Do not use __attribute__((target("gcs"))) with non-clang … (PR #138077)

2025-04-30 Thread Khem Raj via cfe-commits
https://github.com/kraj updated https://github.com/llvm/llvm-project/pull/138077 >From e9870d6a848a95cf58f890a7e6d3a93a27e7c061 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 30 Apr 2025 19:51:19 -0700 Subject: [PATCH] libunwind: Do not use __attribute__((target("gcs"))) with non-clang comp

[clang] [clang][bytecode] Fix checking for integer overflow (PR #137962)

2025-04-30 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `lldb-remote-linux-ubuntu` running on `as-builder-9` while building `clang` at step 16 "test-check-lldb-api". Full details are available at: https://lab.llvm.org/buildbot/#/builders/195/builds/8388 Here is the relevant piece

[clang] [clang][ptrauth] add support for options parameter to __ptrauth (PR #136828)

2025-04-30 Thread Oliver Hunt via cfe-commits
https://github.com/ojhunt updated https://github.com/llvm/llvm-project/pull/136828 >From f5b7cf409e3518f79ac6fce5d01876a51ae6f4e2 Mon Sep 17 00:00:00 2001 From: Oliver Hunt Date: Wed, 30 Apr 2025 22:26:59 -0700 Subject: [PATCH] [clang][ptrauth] add support for options parameter to __ptrauth T

[clang] [clang][ptrauth] add support for options parameter to __ptrauth (PR #136828)

2025-04-30 Thread Oliver Hunt via cfe-commits
https://github.com/ojhunt updated https://github.com/llvm/llvm-project/pull/136828 >From d32a1bd141a668a2d8e8c6315a38506c7e1be4c7 Mon Sep 17 00:00:00 2001 From: Oliver Hunt Date: Wed, 30 Apr 2025 22:26:59 -0700 Subject: [PATCH] [clang][ptrauth] add support for options parameter to __ptrauth T

[clang] [CIR] Upstream global initialization for VectorType (PR #137511)

2025-04-30 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper closed https://github.com/llvm/llvm-project/pull/137511 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][NFC] Format two files with CallingConv switches (PR #138000)

2025-04-30 Thread Nick Sarnie via cfe-commits
https://github.com/sarnex ready_for_review https://github.com/llvm/llvm-project/pull/138000 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 92b03e4 - [clang][NFC] Format two files with CallingConv switches (#138000)

2025-04-30 Thread via cfe-commits
Author: Nick Sarnie Date: 2025-04-30T20:52:07Z New Revision: 92b03e4f04405bfe55d707ed17a8b6ca89513018 URL: https://github.com/llvm/llvm-project/commit/92b03e4f04405bfe55d707ed17a8b6ca89513018 DIFF: https://github.com/llvm/llvm-project/commit/92b03e4f04405bfe55d707ed17a8b6ca89513018.diff LOG: [

[clang] [flang] [flang][flang-driver] Support flag -finstrument-functions (PR #137996)

2025-04-30 Thread Anchu Rajendran S via cfe-commits
https://github.com/anchuraj updated https://github.com/llvm/llvm-project/pull/137996 >From bb486c5e7cbe7b1c4a87469e06ca51bf49ddd081 Mon Sep 17 00:00:00 2001 From: Anchu Rajendran Date: Tue, 29 Apr 2025 14:41:55 -0500 Subject: [PATCH 1/2] [flang] Support flag -finstrument-functions --- clang/

[clang] [clang][Dependency Scanning] Report What a Module Exports during Scanning (PR #137421)

2025-04-30 Thread Qiongsi Wu via cfe-commits
https://github.com/qiongsiwu edited https://github.com/llvm/llvm-project/pull/137421 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [clang] Implement JSON formatted -ftime-report (PR #137737)

2025-04-30 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `ml-opt-dev-x86-64` running on `ml-opt-dev-x86-64-b2` while building `clang,llvm` at step 4 "cmake-configure". Full details are available at: https://lab.llvm.org/buildbot/#/builders/137/builds/17770 Here is the relevant pie

[clang] [llvm] [clang] Add spir_kernel attribute (PR #137882)

2025-04-30 Thread Nick Sarnie via cfe-commits
https://github.com/sarnex updated https://github.com/llvm/llvm-project/pull/137882 >From be91732b261f7a4874a9b1789fbf9bff6359cd58 Mon Sep 17 00:00:00 2001 From: "Sarnie, Nick" Date: Wed, 30 Apr 2025 13:59:46 -0700 Subject: [PATCH] [clang] Add spir_kernel attribute Signed-off-by: Sarnie, Nick

[clang] [flang] [flang][flang-driver] Support flag -finstrument-functions (PR #137996)

2025-04-30 Thread Anchu Rajendran S via cfe-commits
https://github.com/anchuraj updated https://github.com/llvm/llvm-project/pull/137996 >From bb486c5e7cbe7b1c4a87469e06ca51bf49ddd081 Mon Sep 17 00:00:00 2001 From: Anchu Rajendran Date: Tue, 29 Apr 2025 14:41:55 -0500 Subject: [PATCH 1/3] [flang] Support flag -finstrument-functions --- clang/

[clang] [CIR] Upstream pointer arithmetic support (PR #138041)

2025-04-30 Thread Andy Kaylor via cfe-commits
https://github.com/andykaylor created https://github.com/llvm/llvm-project/pull/138041 This adds support for explicit pointer arithmetic, including unary increment and decrement of pointer values. >From ae1fd50a03a0e5f7c0c40463dc6a07f981f79f66 Mon Sep 17 00:00:00 2001 From: Andy Kaylor Date:

[clang] [flang] [flang][flang-driver] Support flag -finstrument-functions (PR #137996)

2025-04-30 Thread Tarun Prabhu via cfe-commits
https://github.com/tarunprabhu approved this pull request. Other than the nit about the documentation text, LGTM. Thanks for the changes. https://github.com/llvm/llvm-project/pull/137996 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://l

[clang] df6d1cf - [CIR] Upstream support for l-value references (#138001)

2025-04-30 Thread via cfe-commits
Author: Andy Kaylor Date: 2025-04-30T14:51:45-07:00 New Revision: df6d1cf4c2e9660967a53498a991ef9c1915c61e URL: https://github.com/llvm/llvm-project/commit/df6d1cf4c2e9660967a53498a991ef9c1915c61e DIFF: https://github.com/llvm/llvm-project/commit/df6d1cf4c2e9660967a53498a991ef9c1915c61e.diff L

[clang] [flang] [flang][flang-driver] Support flag -finstrument-functions (PR #137996)

2025-04-30 Thread Tarun Prabhu via cfe-commits
https://github.com/tarunprabhu edited https://github.com/llvm/llvm-project/pull/137996 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][NFC] Fix some clang-format mistakes (PR #138036)

2025-04-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: Nick Sarnie (sarnex) Changes Fixes for https://github.com/llvm/llvm-project/pull/138000 --- Full diff: https://github.com/llvm/llvm-project/pull/138036.diff 1 Files Affected: - (modified) clang/lib/CodeGen/CGCall.cpp (+2-3) `

[clang] [CIR] Upstream support for l-value references (PR #138001)

2025-04-30 Thread Andy Kaylor via cfe-commits
https://github.com/andykaylor closed https://github.com/llvm/llvm-project/pull/138001 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [flang] [flang][flang-driver] Support flag -finstrument-functions (PR #137996)

2025-04-30 Thread Tarun Prabhu via cfe-commits
@@ -81,6 +81,9 @@ class CodeGenOptions : public CodeGenOptionsBase { /// Options to add to the linker for the object file std::vector DependentLibs; + /// Indicates whether -finstrument-functions option is passed tarunprabhu wrote: nit ```suggestion /

[clang] [CIR] Upstream pointer arithmetic support (PR #138041)

2025-04-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangir Author: Andy Kaylor (andykaylor) Changes This adds support for explicit pointer arithmetic, including unary increment and decrement of pointer values. --- Full diff: https://github.com/llvm/llvm-project/pull/138041.diff 3 Files Affected: - (

[clang] [OpenACC][CIR] Start work to lower 'loop' (PR #137972)

2025-04-30 Thread Bruno Cardoso Lopes via cfe-commits
bcardosolopes wrote: > In the future, we'll have to teach the OpenACC dialect how to derive the > upperbound, lowerbound, and step from the cir.for loop Yea, even better if the `cir.for` representation can itself be improved to expose that information (either by transforming it into a more ref

[clang] [WebKit checkers] Treat std::bit_cast as a pointer conversion (PR #137476)

2025-04-30 Thread Rashmi Mudduluru via cfe-commits
@@ -462,7 +462,7 @@ bool isPtrConversion(const FunctionDecl *F) { const auto FunctionName = safeGetName(F); if (FunctionName == "getPtr" || FunctionName == "WeakPtr" || FunctionName == "dynamicDowncast" || FunctionName == "downcast" || - FunctionName == "checkedD

[clang] [llvm] [mlir] [IR] Do not store Function inside BlockAddress (PR #137958)

2025-04-30 Thread Eli Friedman via cfe-commits
efriedma-quic wrote: I think at some point we were discussing changing what happens when you have a dead blockaddress, which might involve a kind of blockaddress that doesn't refer to a specific basic block. (The value of "1" has bad interactions if you compute the difference between two bloc

[clang] [RawPtrRefMemberChecker] Add the support for union and pointers to unsafe pointers. (PR #138042)

2025-04-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-static-analyzer-1 Author: Ryosuke Niwa (rniwa) Changes This PR adds support for detecting unsafe union members and pointers to unsafe pointers (e.g. T** where T* is an unsafe pointer type). --- Full diff: https://github.com/llvm/llvm-project/pull

[clang] [RawPtrRefMemberChecker] Add the support for union and pointers to unsafe pointers. (PR #138042)

2025-04-30 Thread Ryosuke Niwa via cfe-commits
https://github.com/rniwa created https://github.com/llvm/llvm-project/pull/138042 This PR adds support for detecting unsafe union members and pointers to unsafe pointers (e.g. T** where T* is an unsafe pointer type). Rate limit · GitHub body { ba

[libunwind] [libunwind] [SEH] Implement parsing of aarch64 pdata/xdata (PR #137949)

2025-04-30 Thread Eli Friedman via cfe-commits
efriedma-quic wrote: The parsing itself looks fine. I don't have any context for how this code is supposed to work, though. https://github.com/llvm/llvm-project/pull/137949 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.or

[clang] [WebKit checkers] Treat std::bit_cast as a pointer conversion (PR #137476)

2025-04-30 Thread Rashmi Mudduluru via cfe-commits
https://github.com/t-rasmud edited https://github.com/llvm/llvm-project/pull/137476 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [WebKit checkers] Treat std::bit_cast as a pointer conversion (PR #137476)

2025-04-30 Thread Rashmi Mudduluru via cfe-commits
https://github.com/t-rasmud commented: LGTM! https://github.com/llvm/llvm-project/pull/137476 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Support ptr to ptr and union in webkit member checker (PR #137566)

2025-04-30 Thread Ryosuke Niwa via cfe-commits
https://github.com/rniwa closed https://github.com/llvm/llvm-project/pull/137566 ___ 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   >