[clang] [clang][bytecode] Avoid revisiting decomposition decl in visitDeclRef (PR #144226)

2025-06-14 Thread Sirui Mu via cfe-commits
@@ -0,0 +1,8 @@ +// RUN: %clang_cc1 -std=c++17 -verify %s -fexperimental-new-constant-interpreter +// RUN: %clang_cc1 -std=c++17 -verify %s + +void f1() { Lancern wrote: Updated https://github.com/llvm/llvm-project/pull/144226 __

[clang] [clang][bytecode] Avoid revisiting decomposition decl in visitDeclRef (PR #144226)

2025-06-14 Thread Sirui Mu via cfe-commits
https://github.com/Lancern updated https://github.com/llvm/llvm-project/pull/144226 >From 8046031437a5cfafac17c7c9d978c25fb8ed2479 Mon Sep 17 00:00:00 2001 From: Sirui Mu Date: Sat, 14 Jun 2025 22:25:48 +0800 Subject: [PATCH] [clang][Bytecode] Avoid revisiting decomposition decl --- clang/lib

[clang] [llvm] [RISCV] Fix incorrect predicates for fp16 permutation intrinsics (PR #144063)

2025-06-14 Thread Craig Topper via cfe-commits
https://github.com/topperc approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/144063 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [RISCV] Fix incorrect predicates for fp16 permutation intrinsics (PR #144063)

2025-06-14 Thread Craig Topper via cfe-commits
@@ -7405,8 +7405,12 @@ defm : VPatTernaryV_VX_VI<"int_riscv_vslidedown", "PseudoVSLIDEDOWN", AllInteger defm : VPatBinaryV_VX<"int_riscv_vslide1up", "PseudoVSLIDE1UP", AllIntegerVectors>; defm : VPatBinaryV_VX<"int_riscv_vslide1down", "PseudoVSLIDE1DOWN", AllIntegerVectors>;

[clang] [clang] Add managarm support (PR #139271)

2025-06-14 Thread Brad Smith via cfe-commits
@@ -0,0 +1,221 @@ +//===--===// +// +// 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: Apa

[clang] [llvm] [RISCV] Remove B and Zbc extension from Andes series cpus. (PR #144022)

2025-06-14 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-s390x-linux-lnt` running on `systemz-1` while building `clang,llvm` at step 7 "ninja check 1". Full details are available at: https://lab.llvm.org/buildbot/#/builders/136/builds/4265 Here is the relevant piece of the b

[clang] [llvm] [RISCV] Remove B and Zbc extension from Andes series cpus. (PR #144022)

2025-06-14 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-s390x-linux` running on `systemz-1` while building `clang,llvm` at step 5 "ninja check 1". Full details are available at: https://lab.llvm.org/buildbot/#/builders/42/builds/4981 Here is the relevant piece of the build

[clang-tools-extra] [clang-tidy] Improve integer comparison by matching valid expressions outside implicitCastExpr for use-integer-sign-comparison (PR #144240)

2025-06-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tools-extra Author: David Rivera (RiverDave) Changes Expands check based on: https://github.com/llvm/llvm-project/issues/127471 What changed: 1. I’m detecting `callExpr` not directly wrapped by an implicit cast. where its `sourceExpression` is

[clang] [clang][bytecode] Allocate IntegralAP and Floating types using an allocator (PR #144246)

2025-06-14 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr updated https://github.com/llvm/llvm-project/pull/144246 >From 0f737d3293bf079baf794101d8cd5f92a86e5117 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Tue, 10 Jun 2025 14:45:39 +0200 Subject: [PATCH] intap --- clang/lib/AST/ByteCode/Compiler.cpp

[clang] [Clang] Fix typo in is_replaceable diagnostic (PR #144247)

2025-06-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Ross Kirsling (rkirsling) Changes Adjustment to #143265; `because it not` should be `because it is not`. --- Full diff: https://github.com/llvm/llvm-project/pull/144247.diff 2 Files Affected: - (modified) clang/include/clang/Basic/Diagn

[clang] [Clang] Fix typo in is_replaceable diagnostic (PR #144247)

2025-06-14 Thread Ross Kirsling via cfe-commits
https://github.com/rkirsling created https://github.com/llvm/llvm-project/pull/144247 Adjustment to #143265; `because it not` should be `because it is not`. >From 9bd2d17ddcbcdfaf4236ce4e4eadf0f5724a478e Mon Sep 17 00:00:00 2001 From: Ross Kirsling Date: Sat, 14 Jun 2025 21:42:47 -0700 Subject

[clang] [clang][bytecode] Allocate IntegralAP and Floating types using an allocator (PR #144246)

2025-06-14 Thread Timm Baeder via cfe-commits
tbaederr wrote: Formatting seems to be a difference in clang-format versions. I already formatted the patch locally. https://github.com/llvm/llvm-project/pull/144246 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bi

[clang] [clang][bytecode] Allocate IntegralAP and Floating types using an allocator (PR #144246)

2025-06-14 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/AST/ByteCode/Compiler.cpp clang/lib/AST/B

[clang] [clang] Fix PointerAuth semantics of cpp_trivially_relocatable (PR #143969)

2025-06-14 Thread Oliver Hunt via cfe-commits
https://github.com/ojhunt updated https://github.com/llvm/llvm-project/pull/143969 >From f47680310ed68a9f8e8cb15bc1cd474740072463 Mon Sep 17 00:00:00 2001 From: Oliver Hunt Date: Thu, 12 Jun 2025 13:17:11 -0700 Subject: [PATCH 1/3] [clang] Fix PointerAuth semantics of cpp_trivially_relocatable

[clang] [clang][bytecode] Allocate IntegralAP and Floating types using an allocator (PR #144246)

2025-06-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) Changes Both `APInt` and `APFloat` will heap-allocate memory themselves using the system allocator when the size of their data exceeds 64 bits. This is why clang has `APNumericStorage`, which allocates its memory us

[clang] [clang][bytecode] Allocate IntegralAP and Floating types using an allocator (PR #144246)

2025-06-14 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr edited https://github.com/llvm/llvm-project/pull/144246 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][bytecode] Allocate IntegralAP and Floating types using an allocator (PR #144246)

2025-06-14 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr created https://github.com/llvm/llvm-project/pull/144246 Both `APInt` and `APFloat` will heap-allocate memory themselves using the system allocator when the size of their data exceeds 64 bits. This is why clang has `APNumericStorage`, which allocates its memory usin

[clang] [clang][bytecode] Avoid revisiting decomposition decl in visitDeclRef (PR #144226)

2025-06-14 Thread Timm Baeder via cfe-commits
@@ -0,0 +1,8 @@ +// RUN: %clang_cc1 -std=c++17 -verify %s -fexperimental-new-constant-interpreter +// RUN: %clang_cc1 -std=c++17 -verify %s + +void f1() { tbaederr wrote: Add this test in its own namespace to `cxx17.cpp` please. https://github.com/llvm/llvm-pro

[clang] [llvm] [RISCV] Remove B and Zbc extension from Andes series cpus. (PR #144022)

2025-06-14 Thread Jim Lin via cfe-commits
https://github.com/tclin914 closed https://github.com/llvm/llvm-project/pull/144022 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [RISCV] Remove B and Zbc extension from Andes series cpus. (PR #144022)

2025-06-14 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-x64-windows-msvc` running on `windows-gcebot2` while building `clang,llvm` at step 4 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/63/builds/7094 Here is the relevant piece of the

[clang] 24c8d90 - [RISCV] Remove B and Zbc extension from Andes series cpus. (#144022)

2025-06-14 Thread via cfe-commits
Author: Jim Lin Date: 2025-06-15T11:38:04+08:00 New Revision: 24c8d900c47edeefb85643a06bc32235d9f42ea3 URL: https://github.com/llvm/llvm-project/commit/24c8d900c47edeefb85643a06bc32235d9f42ea3 DIFF: https://github.com/llvm/llvm-project/commit/24c8d900c47edeefb85643a06bc32235d9f42ea3.diff LOG:

[clang] [llvm] [RISCV] Remove B and Zbc extension from Andes series cpus. (PR #144022)

2025-06-14 Thread Jim Lin via cfe-commits
https://github.com/tclin914 updated https://github.com/llvm/llvm-project/pull/144022 >From 9ac0064460dd2db6246a1f9b7d57b1d6c90006c4 Mon Sep 17 00:00:00 2001 From: Jim Lin Date: Thu, 12 Jun 2025 15:18:09 +0800 Subject: [PATCH] [RISCV] Remove B and Zbc extension from Andes series cpus. The Andes

[clang] [C++][Modules] A module directive may only appear as the first preprocessing tokens in a file (PR #144233)

2025-06-14 Thread via cfe-commits
yronglin wrote: > Should this commit also mark the papers as implemented on > https://clang.llvm.org/cxx_status.html? This PR is only part of it, so I want to mark it as "implemented" after the paper feature is fully implemented. https://github.com/llvm/llvm-project/pull/144233 __

[clang] [llvm] [RISCV] Fix incorrect predicates for fp16 permutation intrinsics (PR #144063)

2025-06-14 Thread Jim Lin via cfe-commits
@@ -7405,8 +7405,12 @@ defm : VPatTernaryV_VX_VI<"int_riscv_vslidedown", "PseudoVSLIDEDOWN", AllInteger defm : VPatBinaryV_VX<"int_riscv_vslide1up", "PseudoVSLIDE1UP", AllIntegerVectors>; defm : VPatBinaryV_VX<"int_riscv_vslide1down", "PseudoVSLIDE1DOWN", AllIntegerVectors>;

[clang] [llvm] [RISCV] Fix incorrect predicates for fp16 permutation intrinsics (PR #144063)

2025-06-14 Thread Jim Lin via cfe-commits
https://github.com/tclin914 updated https://github.com/llvm/llvm-project/pull/144063 >From 2efc3784e8a253c5e6c4737d11758a5597a8cff2 Mon Sep 17 00:00:00 2001 From: Jim Lin Date: Fri, 13 Jun 2025 15:58:41 +0800 Subject: [PATCH 1/2] [RISCV] Fix incorrect predicates for fp16 permutation intrinsics

[clang] [llvm] [RISCV] Remove B and Zbc extension from Andes series cpus. (PR #144022)

2025-06-14 Thread Jim Lin via cfe-commits
tclin914 wrote: > Not related to this PR, but I'd like to raise the question here: > > For configurable cores, what is the best way to specify the features? `-mcpu` > is meant to support the base configuration, but how can we specify the > additional optional extensions? Apparently, failing ba

[clang] 4ed10db - [clang][cmake] Don't pass -fno-strict-aliasing for GCC

2025-06-14 Thread Sam James via cfe-commits
Author: Sam James Date: 2025-06-15T02:34:42+01:00 New Revision: 4ed10db85919d3d87bf0b3353340b58354a75994 URL: https://github.com/llvm/llvm-project/commit/4ed10db85919d3d87bf0b3353340b58354a75994 DIFF: https://github.com/llvm/llvm-project/commit/4ed10db85919d3d87bf0b3353340b58354a75994.diff LOG

[clang] [clang][cmake] Don't pass -fno-strict-aliasing for GCC (PR #144222)

2025-06-14 Thread Sam James via cfe-commits
https://github.com/thesamesam closed https://github.com/llvm/llvm-project/pull/144222 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][cmake] Don't pass -fno-strict-aliasing for GCC (PR #144222)

2025-06-14 Thread Sam James via cfe-commits
https://github.com/thesamesam updated https://github.com/llvm/llvm-project/pull/144222 >From 4ed10db85919d3d87bf0b3353340b58354a75994 Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 14 Jun 2025 14:07:14 +0100 Subject: [PATCH] [clang][cmake] Don't pass -fno-strict-aliasing for GCC This was

[clang-tools-extra] [clang-tidy] Improve integer comparison by matching valid expressions outside implicitCastExpr for use-integer-sign-comparison (PR #144240)

2025-06-14 Thread David Rivera via cfe-commits
https://github.com/RiverDave created https://github.com/llvm/llvm-project/pull/144240 Expands check based on: https://github.com/llvm/llvm-project/issues/127471 What changed: 1. I’m detecting `callExpr` not directly wrapped by an implicit cast. where its `sourceExpression` is of integer typ

[clang-tools-extra] [clang-tidy] Improve integer comparison by matching valid expressions outside implicitCastExpr for use-integer-sign-comparison (PR #144240)

2025-06-14 Thread David Rivera via cfe-commits
https://github.com/RiverDave edited https://github.com/llvm/llvm-project/pull/144240 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [modularize] Use range-based for loops (NFC) (PR #144244)

2025-06-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tools-extra Author: Kazu Hirata (kazutakahirata) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/144244.diff 3 Files Affected: - (modified) clang-tools-extra/modularize/CoverageChecker.cpp (+2-4) - (modified) clang-tools-extr

[clang] [clang] Add managarm support (PR #139271)

2025-06-14 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay approved this pull request. https://github.com/llvm/llvm-project/pull/139271 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Add managarm support (PR #139271)

2025-06-14 Thread Fangrui Song via cfe-commits
@@ -0,0 +1,221 @@ +//===--===// +// +// 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: Apa

[clang] [clang] Use StringRef in range-based for loops (NFC) (PR #144242)

2025-06-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Kazu Hirata (kazutakahirata) Changes When we iterate over std::vector, we can directly assign each element to StringRef. We do not need to go through separate statements. --- Full diff: https://github.com/llvm/llvm-project/p

[clang-tools-extra] [modularize] Use range-based for loops (NFC) (PR #144244)

2025-06-14 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/144244 None >From 9ea5ce57ebb032faf0ee086e4574fc1424f76990 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Fri, 13 Jun 2025 09:06:58 -0700 Subject: [PATCH] [modularize] Use range-based for loops (NFC) --- cl

[clang] [clang] Use StringRef in range-based for loops (NFC) (PR #144242)

2025-06-14 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/144242 When we iterate over std::vector, we can directly assign each element to StringRef. We do not need to go through separate statements. >From e5e1102d5d936347be78421c9bb244a0e2bb54d8 Mon Sep 17 00:00:00 2

[clang] [llvm] [AVR] Add many new AVR MCU model definitions (PR #144229)

2025-06-14 Thread Kazu Hirata via cfe-commits
kazutakahirata wrote: @tomtor https://github.com/llvm/llvm-project/actions/runs/15653757180/job/44101995731?pr=144229 is showing: ``` /home/gha/actions-runner/_work/llvm-project/llvm-project/clang/test/Misc/target-invalid-cpu-note/avr.c:314:16: error: CHECK-SAME: expected string not found in

[clang] [llvm] [AVR] Add many new AVR MCU model definitions (PR #144229)

2025-06-14 Thread Tom Vijlbrief via cfe-commits
tomtor wrote: My local tree build OK... https://github.com/llvm/llvm-project/pull/144229 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] add fix-it hints for unknown attributes (PR #141305)

2025-06-14 Thread Oleksandr T. via cfe-commits
https://github.com/a-tarasyuk closed https://github.com/llvm/llvm-project/pull/141305 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 0ff95c9 - [Clang] add fix-it hints for unknown attributes (#141305)

2025-06-14 Thread via cfe-commits
Author: Oleksandr T. Date: 2025-06-15T00:01:25+03:00 New Revision: 0ff95c9eb1e3b0785724d3e33df1e1f77f2c7473 URL: https://github.com/llvm/llvm-project/commit/0ff95c9eb1e3b0785724d3e33df1e1f77f2c7473 DIFF: https://github.com/llvm/llvm-project/commit/0ff95c9eb1e3b0785724d3e33df1e1f77f2c7473.diff

[clang] [CIR] Upstream ComplexRealPtrOp for ComplexType (PR #144235)

2025-06-14 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper edited https://github.com/llvm/llvm-project/pull/144235 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Upstream ComplexRealPtrOp for ComplexType (PR #144235)

2025-06-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangir Author: Amr Hesham (AmrDeveloper) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/144235.diff 8 Files Affected: - (modified) clang/include/clang/CIR/Dialect/IR/CIROps.td (+29) - (modified) clang/include/clang/CIR/Dialect/IR

[clang] [CIR] Upstream ComplexRealPtrOp for ComplexType (PR #144235)

2025-06-14 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper ready_for_review https://github.com/llvm/llvm-project/pull/144235 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [CIR] Upstream ComplexRealPtrOp for ComplexType (PR #144235)

2025-06-14 Thread Amr Hesham via cfe-commits
AmrDeveloper wrote: * **#144235** https://app.graphite.dev/github/pr/llvm/llvm-project/144235?utm_source=stack-comment-icon"; target="_blank">https://static.graphite.dev/graphite-32x32-black.png"; alt="Graphite" width="10px" height="10px"/> 👈 https://app.graphite.dev/github/pr/llvm/llvm-project

[clang] [CIR] Upstream ComplexRealPtrOp for ComplexType (PR #144235)

2025-06-14 Thread Amr Hesham via cfe-commits
https://github.com/AmrDeveloper created https://github.com/llvm/llvm-project/pull/144235 None >From 80571d5272f70d4b273f4277af1bfb064fbe6e89 Mon Sep 17 00:00:00 2001 From: AmrDeveloper Date: Sat, 14 Jun 2025 21:51:43 +0200 Subject: [PATCH] [CIR] Upstream ComplexRealPtrOp for ComplexType ---

[clang] [clang-tools-extra] [Clang] Make the SizeType, SignedSizeType and PtrdiffType be named sugar types instead of built-in types (PR #143653)

2025-06-14 Thread via cfe-commits
@@ -14536,6 +14589,9 @@ static QualType getCommonSugarTypeNode(ASTContext &Ctx, const Type *X, DX->isCountInBytes(), DX->isOrNull(), CDX); } + case Type::PredefinedSugar: { +return QualType(); +

[clang] [Clang] add fix-it hints for unknown attributes (PR #141305)

2025-06-14 Thread Oleksandr T. via cfe-commits
https://github.com/a-tarasyuk updated https://github.com/llvm/llvm-project/pull/141305 >From 77641f88c5047c990df649658b6bd5fba0d395cd Mon Sep 17 00:00:00 2001 From: Oleksandr Tarasiuk Date: Sat, 31 May 2025 15:59:59 +0300 Subject: [PATCH 1/4] [Clang] add fix-it hints for unknown attributes ---

[clang] [Clang] Fix fix-it hint regression from #143460 (PR #144069)

2025-06-14 Thread Ross Kirsling via cfe-commits
rkirsling wrote: (This seems to be an intermittent existing failure.) https://github.com/llvm/llvm-project/pull/144069 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [C++][Modules] A module directive may only appear as the first preprocessing tokens in a file (PR #144233)

2025-06-14 Thread Adrian Vogelsgesang via cfe-commits
vogelsgesang wrote: Should this commit also mark the papers as implemented on https://clang.llvm.org/cxx_status.html? https://github.com/llvm/llvm-project/pull/144233 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-b

[clang] [C++20][Modules] Implement P1857R3 Modules Dependency Discovery (PR #107168)

2025-06-14 Thread via cfe-commits
https://github.com/yronglin edited https://github.com/llvm/llvm-project/pull/107168 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Transforms] Implement always_specialize attribute lowering (PR #143983)

2025-06-14 Thread Adrian Vogelsgesang via cfe-commits
@@ -0,0 +1,324 @@ +//===- AlwaysSpecializer.cpp - implementation of always_specialize ===// +// +// 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] [C++][Modules] A module directive may only appear as the first preprocessing tokens in a file (PR #144233)

2025-06-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-modules Author: None (yronglin) Changes This PR is 2nd part of [P1857R3](https://github.com/llvm/llvm-project/pull/107168) implementation, and mainly implement the restriction `A module directive may only appear as the first preprocessing tokens

[clang] [C++][Modules] A module directive may only appear as the first preprocessing tokens in a file (PR #144233)

2025-06-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (yronglin) Changes This PR is 2nd part of [P1857R3](https://github.com/llvm/llvm-project/pull/107168) implementation, and mainly implement the restriction `A module directive may only appear as the first preprocessing tokens in a fi

[clang] [C++][Modules] A module directive may only appear as the first preprocessing tokens in a file (PR #144233)

2025-06-14 Thread via cfe-commits
https://github.com/yronglin created https://github.com/llvm/llvm-project/pull/144233 This PR is 2nd part of [P1857R3](https://github.com/llvm/llvm-project/pull/107168) implementation, and mainly implement the restriction `A module directive may only appear as the first preprocessing tokens in

[clang] [flang] [llvm] Fix and reapply IR PGO support for Flang (PR #142892)

2025-06-14 Thread Tarun Prabhu via cfe-commits
tarunprabhu wrote: There is a similar build failure [here](https://github.com/llvm/llvm-project/pull/143603) that seems to be even older. I don't think these are related. https://github.com/llvm/llvm-project/pull/142892 ___ cfe-commits mailing list c

[clang] [llvm] [AVR] Add many new AVR MCU model definitions (PR #144229)

2025-06-14 Thread Tom Vijlbrief via cfe-commits
tomtor wrote: > LGTM. Thank you for updating the patch! Thanks! I am now rebuilding after: `cmake -S llvm -B build -G Ninja` https://github.com/llvm/llvm-project/pull/144229 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llv

[clang] [llvm] [AVR] Add many new AVR MCU model definitions (PR #144229)

2025-06-14 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata approved this pull request. LGTM. Thank you for updating the patch! https://github.com/llvm/llvm-project/pull/144229 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listi

[clang] [clang][cmake] Don't pass -fno-strict-aliasing for GCC (PR #144222)

2025-06-14 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay approved this pull request. LGTM. Thanks for removing this tech debt. https://github.com/llvm/llvm-project/pull/144222 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cf

[clang] [llvm] [AVR] Add many new AVR MCU model definitions (PR #144229)

2025-06-14 Thread Kazu Hirata via cfe-commits
kazutakahirata wrote: @tomtor > my local compile did compile my files, but ended with: > > ``` > cc1plus: fatal error: > /home/tom/src/rust/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/LVSourceLanguage.cpp: > No such file or > directory > compilation terminated. > [1758/5167] Building CX

[clang] [llvm] [AVR] Add many new AVR MCU model definitions (PR #144229)

2025-06-14 Thread Tom Vijlbrief via cfe-commits
tomtor wrote: @Patryk27 @benshi001 @kazutakahirata Oops, as you noticed I did not recompile after adding the avr64* models. Sorry for that, changes are almost never trivial Hope all is ok now, my local compile did compile my files, but ended with: cc1plus: fatal error: /home/tom/src/rust

[clang] [llvm] [Transforms] Implement always_specialize attribute lowering (PR #143983)

2025-06-14 Thread Craig Topper via cfe-commits
@@ -0,0 +1,324 @@ +//===- AlwaysSpecializer.cpp - implementation of always_specialize ===// +// +// 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] [AVR] Add many new AVR MCU model definitions (PR #144229)

2025-06-14 Thread Tom Vijlbrief via cfe-commits
https://github.com/tomtor edited https://github.com/llvm/llvm-project/pull/144229 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [AVR] Add many new AVR MCU model definitions (PR #144229)

2025-06-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Tom Vijlbrief (tomtor) Changes https://github.com/llvm/llvm-project/pull/143914 failed to compile due to an unchecked late change. Sorry for that. Added the missing XMEGA2 definition. --- Full diff: https://github.com/llvm/llvm-

[clang] [llvm] [AVR] Add many new AVR MCU model definitions (PR #144229)

2025-06-14 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Tom Vijlbrief (tomtor) Changes https://github.com/llvm/llvm-project/pull/143914 failed to compile due to an unchecked late change. Sorry for that. Added the missing XMEGA2 definition. --- Full diff: https://github.com/llvm/llvm-project

[clang] [llvm] [AVR] Add many new AVR MCU model definitions (PR #144229)

2025-06-14 Thread Tom Vijlbrief via cfe-commits
https://github.com/tomtor created https://github.com/llvm/llvm-project/pull/144229 https://github.com/llvm/llvm-project/pull/143914 failed to compile due to an unchecked late change. Sorry for that. Added the missing XMEGA2 definition. >From 57a30b4bfd87a8389ab042b2c9184a59bf7f4519 Mon Sep

[clang] [llvm] [AVR] Add support for many new AVR MCUs (PR #143914)

2025-06-14 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-darwin` running on `doug-worker-3` while building `clang,llvm` at step 6 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/23/builds/11254 Here is

[clang] [NFC][C++][Modules] Mark P2788R0(DR) as implemented and added more test (PR #144214)

2025-06-14 Thread via cfe-commits
https://github.com/yronglin updated https://github.com/llvm/llvm-project/pull/144214 >From dc1fcdd5d9ea72f294fe5d1ae6a196cb2751ff9c Mon Sep 17 00:00:00 2001 From: yronglin Date: Sat, 14 Jun 2025 16:02:00 +0800 Subject: [PATCH 1/2] [C++][Modules] Mark P2788R0(DR) as implemented and added more t

[clang-tools-extra] [clang-tidy] Add performance-bool-bitwise-operation check (PR #142324)

2025-06-14 Thread Baranov Victor via cfe-commits
https://github.com/vbvictor edited https://github.com/llvm/llvm-project/pull/142324 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Add performance-bool-bitwise-operation check (PR #142324)

2025-06-14 Thread Baranov Victor via cfe-commits
https://github.com/vbvictor edited https://github.com/llvm/llvm-project/pull/142324 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Add performance-bool-bitwise-operation check (PR #142324)

2025-06-14 Thread Baranov Victor via cfe-commits
@@ -0,0 +1,208 @@ +//===--- BoolBitwiseOperationCheck.cpp - clang-tidy ---===// +// +// 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-tools-extra] [clang-tidy] Add performance-bool-bitwise-operation check (PR #142324)

2025-06-14 Thread Baranov Victor via cfe-commits
@@ -0,0 +1,208 @@ +//===--- BoolBitwiseOperationCheck.cpp - clang-tidy ---===// +// +// 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-tools-extra] [clang-tidy] Add performance-bool-bitwise-operation check (PR #142324)

2025-06-14 Thread Baranov Victor via cfe-commits
@@ -0,0 +1,208 @@ +//===--- BoolBitwiseOperationCheck.cpp - clang-tidy ---===// +// +// 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-tools-extra] [clang-tidy] Add performance-bool-bitwise-operation check (PR #142324)

2025-06-14 Thread Baranov Victor via cfe-commits
@@ -0,0 +1,208 @@ +//===--- BoolBitwiseOperationCheck.cpp - clang-tidy ---===// +// +// 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-tools-extra] [clang-tidy] Add performance-bool-bitwise-operation check (PR #142324)

2025-06-14 Thread Baranov Victor via cfe-commits
@@ -0,0 +1,208 @@ +//===--- BoolBitwiseOperationCheck.cpp - clang-tidy ---===// +// +// 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-tools-extra] [clang-tidy] Add performance-bool-bitwise-operation check (PR #142324)

2025-06-14 Thread Baranov Victor via cfe-commits
@@ -0,0 +1,208 @@ +//===--- BoolBitwiseOperationCheck.cpp - clang-tidy ---===// +// +// 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-tools-extra] [clang-tidy] Add performance-bool-bitwise-operation check (PR #142324)

2025-06-14 Thread Baranov Victor via cfe-commits
@@ -0,0 +1,208 @@ +//===--- BoolBitwiseOperationCheck.cpp - clang-tidy ---===// +// +// 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-tools-extra] [clang-tidy] Add performance-bool-bitwise-operation check (PR #142324)

2025-06-14 Thread Baranov Victor via cfe-commits
@@ -0,0 +1,208 @@ +//===--- BoolBitwiseOperationCheck.cpp - clang-tidy ---===// +// +// 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-tools-extra] [clang-tidy] Add performance-bool-bitwise-operation check (PR #142324)

2025-06-14 Thread Baranov Victor via cfe-commits
@@ -0,0 +1,208 @@ +//===--- BoolBitwiseOperationCheck.cpp - clang-tidy ---===// +// +// 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-tools-extra] [clang-tidy] Add performance-bool-bitwise-operation check (PR #142324)

2025-06-14 Thread Baranov Victor via cfe-commits
@@ -0,0 +1,208 @@ +//===--- BoolBitwiseOperationCheck.cpp - clang-tidy ---===// +// +// 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] [WIP] ABI Lowering Library (PR #140112)

2025-06-14 Thread via cfe-commits
@@ -0,0 +1,172 @@ +//===- ABIFunctionInfo.h - ABI Function Information - 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] [AVR] Add support for many new AVR MCUs (PR #143914)

2025-06-14 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-armv8-quick` running on `linaro-clang-armv8-quick` while building `clang,llvm` at step 5 "ninja check 1". Full details are available at: https://lab.llvm.org/buildbot/#/builders/154/builds/17433 Here is the relevant p

[clang] [llvm] [AVR] Add support for many new AVR MCUs (PR #143914)

2025-06-14 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `fuchsia-x86_64-linux` running on `fuchsia-debian-64-us-central1-a-1` while building `clang,llvm` at step 4 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/11/builds/17313 Here is the rele

[clang] [llvm] [AVR] Add support for many new AVR MCUs (PR #143914)

2025-06-14 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-m68k-linux-cross` running on `suse-gary-m68k-cross` while building `clang,llvm` at step 5 "ninja check 1". Full details are available at: https://lab.llvm.org/buildbot/#/builders/27/builds/11566 Here is the relevant p

[clang] [llvm] [AVR] Add support for many new AVR MCUs (PR #143914)

2025-06-14 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-win` running on `sie-win-worker` while building `clang,llvm` at step 7 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/46/builds/18437 Here

[clang] [llvm] [AVR] Add support for many new AVR MCUs (PR #143914)

2025-06-14 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-4` while building `clang,llvm` at step 6 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/21446 Here

[clang] [llvm] [AVR] Add support for many new AVR MCUs (PR #143914)

2025-06-14 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while building `clang,llvm` at step 6 "Add check check-clang". Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/25030 Her

[clang] [llvm] [AVR] Add support for many new AVR MCUs (PR #143914)

2025-06-14 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `ppc64le-lld-multistage-test` running on `ppc64le-lld-multistage-test` while building `clang,llvm` at step 6 "build-stage1-unified-tree". Full details are available at: https://lab.llvm.org/buildbot/#/builders/168/builds/13147

[clang] [llvm] [AVR] Add support for many new AVR MCUs (PR #143914)

2025-06-14 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-cmake-x86_64-avx512-linux` running on `avx512-intel64` while building `clang,llvm` at step 7 "ninja check 1". Full details are available at: https://lab.llvm.org/buildbot/#/builders/133/builds/17813 Here is the releva

[clang] [llvm] [AVR] Add support for many new AVR MCUs (PR #143914)

2025-06-14 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/12241 Here is the relevant p

[clang] [llvm] [AVR] Add support for many new AVR MCUs (PR #143914)

2025-06-14 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `arc-builder` running on `arc-worker` while building `clang,llvm` at step 6 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/3/builds/17510 Here is the relevant pie

[clang] [llvm] [AVR] Add support for many new AVR MCUs (PR #143914)

2025-06-14 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux` running on `sanitizer-buildbot1` while building `clang,llvm` at step 2 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/66/builds/15382 Here is the relevant piece o

[clang] [llvm] [AVR] Add support for many new AVR MCUs (PR #143914)

2025-06-14 Thread Kazu Hirata via cfe-commits
kazutakahirata wrote: @tomtor @benshi001 @Patryk27 I've landed 62d8e001dac4b1a68f5b33c8784adba1335003f4 to revert this PR. I'm getting: ``` llvm/lib/Target/AVR/AVRDevices.td:591:27: error: Variable not defined: 'FamilyXMEGA2' def : Device<"avr64da28", FamilyXMEGA2, ELFArchXMEGA2>;

[clang] [llvm] [AVR] Add support for many new AVR MCUs (PR #143914)

2025-06-14 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-runtime-2` running on `rocm-worker-hw-02` while building `clang,llvm` at step 7 "Add check check-clang". Full details are available at: https://lab.llvm.org/buildbot/#/builders/10/builds/7351 Here is t

[clang] [llvm] [AVR] Add support for many new AVR MCUs (PR #143914)

2025-06-14 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-buildbot7` while building `clang,llvm` at step 2 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/51/builds/17950 Here is the relevant piece

[clang] 62d8e00 - Revert "[AVR] Add support for many new AVR MCUs (#143914)"

2025-06-14 Thread Kazu Hirata via cfe-commits
Author: Kazu Hirata Date: 2025-06-14T08:18:50-07:00 New Revision: 62d8e001dac4b1a68f5b33c8784adba1335003f4 URL: https://github.com/llvm/llvm-project/commit/62d8e001dac4b1a68f5b33c8784adba1335003f4 DIFF: https://github.com/llvm/llvm-project/commit/62d8e001dac4b1a68f5b33c8784adba1335003f4.diff L

[clang] [llvm] [AVR] Add support for many new AVR MCUs (PR #143914)

2025-06-14 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-aarch64-quick` running on `linaro-clang-aarch64-quick` while building `clang,llvm` at step 5 "ninja check 1". Full details are available at: https://lab.llvm.org/buildbot/#/builders/65/builds/18125 Here is the relevan

[clang] [llvm] [WIP] ABI Lowering Library (PR #140112)

2025-06-14 Thread via cfe-commits
@@ -0,0 +1,102 @@ +//===- BPF.cpp ===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Ap

[clang] [llvm] [AVR] Add support for many new AVR MCUs (PR #143914)

2025-06-14 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `clang,llvm` at step 6 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/27

[clang] [llvm] [AVR] Add support for many new AVR MCUs (PR #143914)

2025-06-14 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `openmp-s390x-linux` running on `systemz-1` while building `clang,llvm` at step 5 "compile-openmp". Full details are available at: https://lab.llvm.org/buildbot/#/builders/88/builds/12821 Here is the relevant piece of the bui

  1   2   3   >