[clang] 6892d54 - [Clang][LLVM] Implement single-single vectors MOP4{A/S} (#127797)

2025-04-01 Thread via cfe-commits
Author: Virginia Cangelosi Date: 2025-04-01T13:35:09+01:00 New Revision: 6892d5428600113dade7b4ecf6b70bbab3198c90 URL: https://github.com/llvm/llvm-project/commit/6892d5428600113dade7b4ecf6b70bbab3198c90 DIFF: https://github.com/llvm/llvm-project/commit/6892d5428600113dade7b4ecf6b70bbab3198c90.

[clang] Reland [Clang][Cmake] fix libtool duplicate member name warnings (PR #133850)

2025-04-01 Thread Farzon Lotfi via cfe-commits
https://github.com/farzonl updated https://github.com/llvm/llvm-project/pull/133850 >From a3c7c5b35bd48acb49666cdec410a6a31b14941f Mon Sep 17 00:00:00 2001 From: Farzon Lotfi Date: Sun, 30 Mar 2025 00:59:48 -0400 Subject: [PATCH 1/3] [Clang][Cmake] fix libtool duplicate member name warnings fi

[clang] aa73124 - Fix complex long double division with -mno-x87. (#133152)

2025-04-01 Thread via cfe-commits
Author: Zahira Ammarguellat Date: 2025-04-01T11:10:51-04:00 New Revision: aa73124e51d89a22b2ba89380d3a1403e4f1c385 URL: https://github.com/llvm/llvm-project/commit/aa73124e51d89a22b2ba89380d3a1403e4f1c385 DIFF: https://github.com/llvm/llvm-project/commit/aa73124e51d89a22b2ba89380d3a1403e4f1c385

[clang] [clang][CGObjC] Remove unused ExternalProtocolPtrTy (NFC) (PR #133870)

2025-04-01 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Mats Jun Larsen (junlarsen) Changes This function was previously used to get a type to the protocol that was used to bitcast the initializer of GenerateProtocol. This bitcast has later been removed (thanks to opaque pointers), but the membe

[clang] e92ff64 - [Clang][LLVM] Implement single-multi vectors MOP4{A/S} (#128854)

2025-04-01 Thread via cfe-commits
Author: Virginia Cangelosi Date: 2025-04-01T15:05:30+01:00 New Revision: e92ff64bad38835a497f9eb928967bca6a295b28 URL: https://github.com/llvm/llvm-project/commit/e92ff64bad38835a497f9eb928967bca6a295b28 DIFF: https://github.com/llvm/llvm-project/commit/e92ff64bad38835a497f9eb928967bca6a295b28.

[clang] 8f56394 - [clang-repl] Implement LoadDynamicLibrary for clang-repl wasm use cases (#133037)

2025-04-01 Thread via cfe-commits
Author: Anutosh Bhat Date: 2025-04-01T15:33:45+03:00 New Revision: 8f56394487a4d454be0637667267ad37bd636d0f URL: https://github.com/llvm/llvm-project/commit/8f56394487a4d454be0637667267ad37bd636d0f DIFF: https://github.com/llvm/llvm-project/commit/8f56394487a4d454be0637667267ad37bd636d0f.diff

[clang] [clang-repl] Implement LoadDynamicLibrary for clang-repl wasm use cases (PR #133037)

2025-04-01 Thread Vassil Vassilev via cfe-commits
vgvassilev wrote: > > We really need to figure out how to add in-tree tests. > > Yupp sadly I was only able to test this through cppinterop and xeus-cpp as > I've commented above ([#133037 > (comment)](https://github.com/llvm/llvm-project/pull/133037#discussion_r2015819533)) > where it works

[clang] 7267dbf - [clang][bytecode] Fix comparing the addresses of union members (#133852)

2025-04-01 Thread via cfe-commits
Author: Timm Baeder Date: 2025-04-01T09:00:46+02:00 New Revision: 7267dbfe1032f5ebd698403848fab4bbfcbe0b19 URL: https://github.com/llvm/llvm-project/commit/7267dbfe1032f5ebd698403848fab4bbfcbe0b19 DIFF: https://github.com/llvm/llvm-project/commit/7267dbfe1032f5ebd698403848fab4bbfcbe0b19.diff L

[libclc] 13a313f - [libclc] Move sinpi/cospi/tanpi to the CLC library (#133889)

2025-04-01 Thread via cfe-commits
Author: Fraser Cormack Date: 2025-04-01T12:03:21+01:00 New Revision: 13a313fe582a3c41fb5c50ca2325c0987c0af6d7 URL: https://github.com/llvm/llvm-project/commit/13a313fe582a3c41fb5c50ca2325c0987c0af6d7 DIFF: https://github.com/llvm/llvm-project/commit/13a313fe582a3c41fb5c50ca2325c0987c0af6d7.diff

[clang] [clang][CGObjC] Prefer PointerType::get with LLVMContext over Type (NFC) (PR #133871)

2025-04-01 Thread Mats Jun Larsen via cfe-commits
https://github.com/junlarsen created https://github.com/llvm/llvm-project/pull/133871 Part of #123569 >From 0176250dfba2962f24e0e4d484b4ac0ce833bed5 Mon Sep 17 00:00:00 2001 From: Mats Jun Larsen Date: Mon, 31 Mar 2025 23:50:17 +0200 Subject: [PATCH] [clang][CGObjC] Prefer PointerType::get wit

[clang] [Clang][Cmake] fix libtool duplicate member name warnings (PR #133619)

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

[libclc] bcf0f8d - [libclc] Move exp10 to the CLC library (#133899)

2025-04-01 Thread via cfe-commits
Author: Fraser Cormack Date: 2025-04-01T14:39:17+01:00 New Revision: bcf0f8d8aa27910545762e2cc7733a11a00954d0 URL: https://github.com/llvm/llvm-project/commit/bcf0f8d8aa27910545762e2cc7733a11a00954d0 DIFF: https://github.com/llvm/llvm-project/commit/bcf0f8d8aa27910545762e2cc7733a11a00954d0.diff

[clang] 16603d8 - [HLSL] Add SPIR-V target type for RWStructuredBuffers (#133468)

2025-04-01 Thread via cfe-commits
Author: Steven Perron Date: 2025-04-01T16:59:46-04:00 New Revision: 16603d838c0dfa6881f9b8118c5a0b5ac2789752 URL: https://github.com/llvm/llvm-project/commit/16603d838c0dfa6881f9b8118c5a0b5ac2789752 DIFF: https://github.com/llvm/llvm-project/commit/16603d838c0dfa6881f9b8118c5a0b5ac2789752.diff

[clang] 5ffd9bd - [cmake] Refactor clang unittest cmake (#133545)

2025-04-01 Thread via cfe-commits
Author: Reid Kleckner Date: 2025-04-01T14:12:44-07:00 New Revision: 5ffd9bdb50b5753bbf668e4eab3647dfb46cd0d6 URL: https://github.com/llvm/llvm-project/commit/5ffd9bdb50b5753bbf668e4eab3647dfb46cd0d6 DIFF: https://github.com/llvm/llvm-project/commit/5ffd9bdb50b5753bbf668e4eab3647dfb46cd0d6.diff

[libclc] f14ff59 - [libclc] Move exp, exp2 and expm1 to the CLC library (#133932)

2025-04-01 Thread via cfe-commits
Author: Fraser Cormack Date: 2025-04-01T18:15:37+01:00 New Revision: f14ff59da7f98a405999bcc8481b20446de0d0cd URL: https://github.com/llvm/llvm-project/commit/f14ff59da7f98a405999bcc8481b20446de0d0cd DIFF: https://github.com/llvm/llvm-project/commit/f14ff59da7f98a405999bcc8481b20446de0d0cd.diff

[libclc] c1efd8b - [libclc][NFC] Delete two unused headers

2025-04-01 Thread Fraser Cormack via cfe-commits
Author: Fraser Cormack Date: 2025-04-01T14:54:50+01:00 New Revision: c1efd8b663b7db3c717fae8a1991dcc4b8304c8f URL: https://github.com/llvm/llvm-project/commit/c1efd8b663b7db3c717fae8a1991dcc4b8304c8f DIFF: https://github.com/llvm/llvm-project/commit/c1efd8b663b7db3c717fae8a1991dcc4b8304c8f.diff

[clang] [llvm] [AARCH64][Neon] switch to using bitcasts in arm_neon.h where appropriate (PR #127043)

2025-04-01 Thread via cfe-commits
https://github.com/CarolineConcatto approved this pull request. Thank you Marian, The patch looks good https://github.com/llvm/llvm-project/pull/127043 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/list

[clang] [X86][AVX10] Re-target mavx10.1 and emit warning for mavx10.x-256/512 and m[no-]evex512 (PR #132542)

2025-04-01 Thread Simon Pilgrim via cfe-commits
https://github.com/RKSimon approved this pull request. https://github.com/llvm/llvm-project/pull/132542 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [C11] Implement WG14 N1285 (temporary lifetimes) (PR #133472)

2025-04-01 Thread Aaron Ballman via cfe-commits
https://github.com/AaronBallman updated https://github.com/llvm/llvm-project/pull/133472 >From f9268b3a331fd8caf2440d742a1f084c0f9648ce Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Fri, 28 Mar 2025 13:01:58 -0400 Subject: [PATCH 1/9] [C11] Implement WG14 N1285 (temporary lifetimes) This

[clang] 2b06410 - Fix a build error (#133957)

2025-04-01 Thread via cfe-commits
Author: Arvind Sudarsanam Date: 2025-04-01T18:24:54Z New Revision: 2b064108ed55af510379edc81622983385c7977f URL: https://github.com/llvm/llvm-project/commit/2b064108ed55af510379edc81622983385c7977f DIFF: https://github.com/llvm/llvm-project/commit/2b064108ed55af510379edc81622983385c7977f.diff

[clang] [clang-repl] Implement LoadDynamicLibrary for clang-repl wasm use cases (PR #133037)

2025-04-01 Thread Anutosh Bhat via cfe-commits
https://github.com/anutosh491 updated https://github.com/llvm/llvm-project/pull/133037 >From a7ccd0e0b261c303639d3880fc51b0ed99e17363 Mon Sep 17 00:00:00 2001 From: anutosh491 Date: Wed, 26 Mar 2025 10:33:37 +0530 Subject: [PATCH 1/4] Implement LoadDynamicLibrary for clang-repl wasm use cases

[clang] 7003f7d - [clang-sycl-linker] Replace llvm-link with API calls (#133797)

2025-04-01 Thread via cfe-commits
Author: Arvind Sudarsanam Date: 2025-04-01T17:09:45Z New Revision: 7003f7d23aeca97b0301e605ed8b02436b38f789 URL: https://github.com/llvm/llvm-project/commit/7003f7d23aeca97b0301e605ed8b02436b38f789 DIFF: https://github.com/llvm/llvm-project/commit/7003f7d23aeca97b0301e605ed8b02436b38f789.diff

[clang] [clang-sycl-linker] Replace llvm-link with API calls (PR #133797)

2025-04-01 Thread Arvind Sudarsanam via cfe-commits
https://github.com/asudarsa created https://github.com/llvm/llvm-project/pull/133797 This PR has the following changes: Replace llvm-link with calls to linkInModule to link device files Add -print-linked-module option to dump linked module for testing Added a test to verify that linking is wo

[clang] 9586117 - [clang-sycl-linker] Fix a warning

2025-04-01 Thread Kazu Hirata via cfe-commits
Author: Kazu Hirata Date: 2025-04-01T10:35:50-07:00 New Revision: 9586117c3ab6f16883a646847cfa65b065ad4ae3 URL: https://github.com/llvm/llvm-project/commit/9586117c3ab6f16883a646847cfa65b065ad4ae3 DIFF: https://github.com/llvm/llvm-project/commit/9586117c3ab6f16883a646847cfa65b065ad4ae3.diff L

[clang] 6767555 - Reland "[HLSL][RootSignature] Implement parsing of a DescriptorTable with empty clauses" (#133958)

2025-04-01 Thread via cfe-commits
Author: Finn Plummer Date: 2025-04-01T14:58:30-07:00 New Revision: 676755561d5a2f074411ad289fed55c977571a32 URL: https://github.com/llvm/llvm-project/commit/676755561d5a2f074411ad289fed55c977571a32 DIFF: https://github.com/llvm/llvm-project/commit/676755561d5a2f074411ad289fed55c977571a32.diff

[clang] [clang-tools-extra] [clang] Concepts: support pack expansions for type constraints (PR #132626)

2025-04-01 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov updated https://github.com/llvm/llvm-project/pull/132626 >From bbd2a588f79926323a29a3a70f061e4a2433bdc2 Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Sat, 22 Mar 2025 17:29:16 -0300 Subject: [PATCH 1/3] Revert "[Clang] Distinguish expanding-pack-in-place cases

[clang] [cmake] Refactor clang unittest cmake (PR #133545)

2025-04-01 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-ppc64le-linux-multistage` running on `ppc64le-clang-multistage-test` while building `clang` at step 5 "ninja check 1". Full details are available at: https://lab.llvm.org/buildbot/#/builders/76/builds/8375 Here is the

[clang] [Clang] add emit -Wignored-base-class-qualifiers diagnostic for cv-qualified base classes (PR #132116)

2025-04-01 Thread Lyle Dean via cfe-commits
lyledean1 wrote: CI seems to be failing with the message `no such option: --break-system-packages` from `pip` for `[buildkite/github-pull-requests/linux-linux-x64](https://buildkite.com/llvm-project/github-pull-requests/builds/164119#0195f387-c1b7-4bc5-8fb8-cc8049f19033)` and [buildkite/githu

[clang] [clang][diagnostics] add '-Wundef-true' warning option (PR #128265)

2025-04-01 Thread Nico Weber via cfe-commits
nico wrote: This found a bug in chromium, https://crbug.com/403123830 Thanks for this cool warning! :) https://github.com/llvm/llvm-project/pull/128265 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/list

[clang] [clang-format]: Add `StaticInlineOnly` and `StaticInline` options to `ShortFunctionStyle` (PR #133598)

2025-04-01 Thread via cfe-commits
mydeveloperday wrote: I like what @owenca suggested https://github.com/llvm/llvm-project/pull/133598 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [C99] Fix definitions of INTn_C macros (PR #133916)

2025-04-01 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Aaron Ballman (AaronBallman) Changes C99 introduced macros of the form `INTn_C(v)` which expand to a signed or unsigned integer constant with the specified value `v` and the type `int_leastN_t`. Clang's initial implementation of these mac

[clang] [CIR][Upstream] Local initialization for ArrayType (PR #132974)

2025-04-01 Thread Amr Hesham via cfe-commits
@@ -110,6 +110,10 @@ class CIRGenFunction : public CIRGenTypeCache { public: mlir::Value createDummyValue(mlir::Location loc, clang::QualType qt); + void emitAggExpr(const clang::Expr *e, AggValueSlot slot); AmrDeveloper wrote: Done, thanks https://github

[clang] [Clang] add emit -Wignored-base-class-qualifiers diagnostic for cv-qualified base classes (PR #132116)

2025-04-01 Thread Lyle Dean via cfe-commits
lyledean1 wrote: > It isn't clear what the merge conflicts are (github won't tell me for some > reason?) but those need fixing before we can merge this. It was on the release notes, that's fixed now https://github.com/llvm/llvm-project/pull/132116 _

[clang] [flang] [flang] Added driver options for arrays repacking. (PR #134002)

2025-04-01 Thread Slava Zakharin via cfe-commits
https://github.com/vzakhari created https://github.com/llvm/llvm-project/pull/134002 Added options: * -f[no-]repack-arrays * -f[no-]stack-repack-arrays * -frepack-arrays-contiguity=whole/innermost >From b936044f9a77cb717d74248cad5021b5d997d407 Mon Sep 17 00:00:00 2001 From: Slava Zakhari

[clang] [flang] [flang] Added driver options for arrays repacking. (PR #134002)

2025-04-01 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Slava Zakharin (vzakhari) Changes Added options: * -f[no-]repack-arrays * -f[no-]stack-repack-arrays * -frepack-arrays-contiguity=whole/innermost --- Patch is 27.25 KiB, truncated to 20.00 KiB below, full version: https://github.c

[clang] [flang] [flang] Added driver options for arrays repacking. (PR #134002)

2025-04-01 Thread Slava Zakharin via cfe-commits
https://github.com/vzakhari updated https://github.com/llvm/llvm-project/pull/134002 >From b936044f9a77cb717d74248cad5021b5d997d407 Mon Sep 17 00:00:00 2001 From: Slava Zakharin Date: Tue, 1 Apr 2025 15:55:30 -0700 Subject: [PATCH 1/2] [flang] Added driver options for arrays repacking. Added o

[clang] Fixes: Can not use C99 function names as variable names in C89 (PR #129979)

2025-04-01 Thread A. Jiang via cfe-commits
@@ -135,6 +137,24 @@ bool Builtin::Context::isBuiltinFunc(llvm::StringRef FuncName) { return false; } +static bool isSymbolAvailableInC89(const llvm::StringTable &Strings, + const Builtin::Info &BuiltinInfo) { + + auto NameStr = Strings[Bu

[clang] [clang][modules] Determine if the SDK supports builtin modules independent of the target (PR #134005)

2025-04-01 Thread Ian Anderson via cfe-commits
https://github.com/ian-twilightcoder created https://github.com/llvm/llvm-project/pull/134005 Whether the SDK supports builtin modules is a property of the SDK itself, and really has nothing to do with the target. This was already worked around for Mac Catalyst, but there are some other more e

[clang] [clang] Track final substitution for Subst* AST nodes (PR #132748)

2025-04-01 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov updated https://github.com/llvm/llvm-project/pull/132748 >From b50ea7d744280bdfb97f0abaeb10d088d502e81a Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Sat, 22 Mar 2025 16:03:04 -0300 Subject: [PATCH 1/4] [clang] Track final substitution for SubstTemplateTempla

[clang] 97dcbde - Revert "[clang-format] Handle C++ keywords in other languages better (#132941)"

2025-04-01 Thread Owen Pan via cfe-commits
Author: Owen Pan Date: 2025-04-01T18:59:12-07:00 New Revision: 97dcbdef6089175c45e14fcbcf5c88b10233a79a URL: https://github.com/llvm/llvm-project/commit/97dcbdef6089175c45e14fcbcf5c88b10233a79a DIFF: https://github.com/llvm/llvm-project/commit/97dcbdef6089175c45e14fcbcf5c88b10233a79a.diff LOG:

[clang] [llvm] Define LLVM_ABI and CLANG_ABI for __EMSCRIPTEN__ builds (PR #131578)

2025-04-01 Thread via cfe-commits
llvmbot wrote: /pull-request llvm/llvm-project#133996 https://github.com/llvm/llvm-project/pull/131578 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][modules] Determine if the SDK supports builtin modules independent of the target (PR #134005)

2025-04-01 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Ian Anderson (ian-twilightcoder) Changes Whether the SDK supports builtin modules is a property of the SDK itself, and really has nothing to do with the target. This was already worked around for Mac Catalyst, but there are some other mor

[clang] [llvm] [AMDGPU][clang][CodeGen][opt] Add late-resolved feature identifying predicates (PR #134016)

2025-04-01 Thread Alex Voicu via cfe-commits
https://github.com/AlexVlx created https://github.com/llvm/llvm-project/pull/134016 This change adds two semi-magical builtins for AMDGPU: - `__builtin_amdgcn_processor_is`, which is similar in observable behaviour with `__builtin_cpu_is`, except that it is never "evaluated" at run time; - `__

[clang] [llvm] [AMDGPU][clang][CodeGen][opt] Add late-resolved feature identifying predicates (PR #134016)

2025-04-01 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: Alex Voicu (AlexVlx) Changes This change adds two semi-magical builtins for AMDGPU: - `__builtin_amdgcn_processor_is`, which is similar in observable behaviour with `__builtin_cpu_is`, except that it is never "evaluated" at run ti

[clang] [llvm] [AMDGPU][clang][CodeGen][opt] Add late-resolved feature identifying predicates (PR #134016)

2025-04-01 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Alex Voicu (AlexVlx) Changes This change adds two semi-magical builtins for AMDGPU: - `__builtin_amdgcn_processor_is`, which is similar in observable behaviour with `__builtin_cpu_is`, except that it is never "evaluated" at run time; - `_

[clang] [llvm] [AMDGPU][clang][CodeGen][opt] Add late-resolved feature identifying predicates (PR #134016)

2025-04-01 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,cpp -- clang/test/CodeGen/amdgpu-builtin-cpu-is.c clang

[clang] 2f25345 - [clang] fix missing initialization msan failure

2025-04-01 Thread Matheus Izvekov via cfe-commits
Author: Matheus Izvekov Date: 2025-04-01T21:06:38-03:00 New Revision: 2f25345670081f1ca460ea3f42a0585ef3f1e877 URL: https://github.com/llvm/llvm-project/commit/2f25345670081f1ca460ea3f42a0585ef3f1e877 DIFF: https://github.com/llvm/llvm-project/commit/2f25345670081f1ca460ea3f42a0585ef3f1e877.dif

[clang-tools-extra] [llvm] [clang-doc] Adds a mustache backend (PR #133161)

2025-04-01 Thread via cfe-commits
PeterChou1 wrote: > Any progress, @PeterChou1 ? Sorry for the delay, I am currently trying to fix the bugs associated with this branch, I should have something ready for review by tomorrow https://github.com/llvm/llvm-project/pull/133161 ___ cfe-comm

[clang] [compiler-rt] [llvm] [SystemZ] Add support for half (fp16) (PR #109164)

2025-04-01 Thread Trevor Gross via cfe-commits
https://github.com/tgross35 edited https://github.com/llvm/llvm-project/pull/109164 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] ad1ca5f - [clang] Concepts: support pack expansions for type constraints (#132626)

2025-04-01 Thread via cfe-commits
Author: Matheus Izvekov Date: 2025-04-01T21:11:56-03:00 New Revision: ad1ca5f4a2bc09f99fd82e5444f5da37c2985e97 URL: https://github.com/llvm/llvm-project/commit/ad1ca5f4a2bc09f99fd82e5444f5da37c2985e97 DIFF: https://github.com/llvm/llvm-project/commit/ad1ca5f4a2bc09f99fd82e5444f5da37c2985e97.dif

[clang] [clang-tools-extra] [clang] Concepts: support pack expansions for type constraints (PR #132626)

2025-04-01 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov closed https://github.com/llvm/llvm-project/pull/132626 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-tools-extra] [clang] support pack expansions for trailing requires clauses (PR #133190)

2025-04-01 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov edited https://github.com/llvm/llvm-project/pull/133190 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-tools-extra] [clang] Track final substitution for Subst* AST nodes (PR #132748)

2025-04-01 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov edited https://github.com/llvm/llvm-project/pull/132748 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fixes: Can not use C99 function names as variable names in C89 (PR #129979)

2025-04-01 Thread Vinay Deshmukh via cfe-commits
vinay-deshmukh wrote: > @frederick-vs-ja > > Any suggestions on how to go about making further progress on this one? Sort > of stuck right now. @frederick-vs-ja bump https://github.com/llvm/llvm-project/pull/129979 ___ cfe-commits mailing list cfe

[clang] [llvm] [AMDGPU][clang][CodeGen][opt] Add late-resolved feature identifying predicates (PR #134016)

2025-04-01 Thread Alex Voicu via cfe-commits
https://github.com/AlexVlx updated https://github.com/llvm/llvm-project/pull/134016 >From 91eeaf02336e539f14dcb0a79ff15dbe8befe6f1 Mon Sep 17 00:00:00 2001 From: Alex Voicu Date: Wed, 2 Apr 2025 02:47:42 +0100 Subject: [PATCH 1/3] Add the functional identity and feature queries. --- clang/doc

[clang] [llvm] [AMDGPU][clang][CodeGen][opt] Add late-resolved feature identifying predicates (PR #134016)

2025-04-01 Thread Alex Voicu via cfe-commits
https://github.com/AlexVlx updated https://github.com/llvm/llvm-project/pull/134016 >From 91eeaf02336e539f14dcb0a79ff15dbe8befe6f1 Mon Sep 17 00:00:00 2001 From: Alex Voicu Date: Wed, 2 Apr 2025 02:47:42 +0100 Subject: [PATCH 1/2] Add the functional identity and feature queries. --- clang/doc

[libclc] [libclc] Move cbrt to the CLC library; vectorize (PR #133940)

2025-04-01 Thread Matt Arsenault via cfe-commits
@@ -0,0 +1,135 @@ +//===--===// +// +// 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] [AMDGPU][clang][CodeGen][opt] Add late-resolved feature identifying predicates (PR #134016)

2025-04-01 Thread Joseph Huber via cfe-commits
https://github.com/jhuber6 commented: Very cool, in general I'm a fan of being able to use LLVM-IR as a more general target. We already hack around these things in practice, so I think it's only beneficial to formalize is in a more correct way, even if LLVM-IR wasn't 'strictly' intended to be

[clang] [llvm] [AMDGPU][clang][CodeGen][opt] Add late-resolved feature identifying predicates (PR #134016)

2025-04-01 Thread Joseph Huber via cfe-commits
https://github.com/jhuber6 edited https://github.com/llvm/llvm-project/pull/134016 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Sema] Use llvm::erase_if (NFC) (PR #134017)

2025-04-01 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Kazu Hirata (kazutakahirata) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/134017.diff 1 Files Affected: - (modified) clang/lib/Sema/TreeTransform.h (+4-4) ``diff diff --git a/clang/lib/Sema/TreeTransform.

[clang] [Sema] Use llvm::erase_if (NFC) (PR #134017)

2025-04-01 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/134017 None >From 19a4d1d3daa035a37214d48f74651b1d64621efe Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 30 Mar 2025 11:31:56 -0700 Subject: [PATCH] [Sema] Use llvm::erase_if (NFC) --- clang/lib/Sema/

[clang] [llvm] [AMDGPU][clang][CodeGen][opt] Add late-resolved feature identifying predicates (PR #134016)

2025-04-01 Thread Alex Voicu via cfe-commits
@@ -0,0 +1,64 @@ +// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --check-globals all --version 5 +// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -target-cpu gfx900 -emit-llvm %s -o - | FileCheck --check-prefix=AMDGCN-GFX900 %s +// RUN: %cla

[clang] [llvm] [AMDGPU][clang][CodeGen][opt] Add late-resolved feature identifying predicates (PR #134016)

2025-04-01 Thread Joseph Huber via cfe-commits
@@ -0,0 +1,64 @@ +// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --check-globals all --version 5 +// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -target-cpu gfx900 -emit-llvm %s -o - | FileCheck --check-prefix=AMDGCN-GFX900 %s +// RUN: %cla

[clang] [llvm] [AMDGPU][clang][CodeGen][opt] Add late-resolved feature identifying predicates (PR #134016)

2025-04-01 Thread Alex Voicu via cfe-commits
AlexVlx wrote: > This is worth a release note item. Indeed! I botched moving the changes from my internal scratchpad, and the rel notes got lost; fixing. https://github.com/llvm/llvm-project/pull/134016 ___ cfe-commits mailing list cfe-commits@lists.

[clang] [llvm] [AMDGPU][clang][CodeGen][opt] Add late-resolved feature identifying predicates (PR #134016)

2025-04-01 Thread Joseph Huber via cfe-commits
@@ -0,0 +1,64 @@ +// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --check-globals all --version 5 +// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -target-cpu gfx900 -emit-llvm %s -o - | FileCheck --check-prefix=AMDGCN-GFX900 %s +// RUN: %cla

[clang] [clang][modules] Guard against bad -fmodule-file mappings (#132059) (PR #133462)

2025-04-01 Thread Naveen Seth Hanig via cfe-commits
https://github.com/naveen-seth updated https://github.com/llvm/llvm-project/pull/133462 >From 74ace4fd3c71ff59f2d89680c0f1382d0f9933f4 Mon Sep 17 00:00:00 2001 From: naveen-seth Date: Fri, 28 Mar 2025 06:59:06 +0100 Subject: [PATCH 1/2] [clang][modules] Guard against bad -fmodule-file mappings

[clang] [llvm] [AMDGPU][clang][CodeGen][opt] Add late-resolved feature identifying predicates (PR #134016)

2025-04-01 Thread Alex Voicu via cfe-commits
https://github.com/AlexVlx updated https://github.com/llvm/llvm-project/pull/134016 >From 91eeaf02336e539f14dcb0a79ff15dbe8befe6f1 Mon Sep 17 00:00:00 2001 From: Alex Voicu Date: Wed, 2 Apr 2025 02:47:42 +0100 Subject: [PATCH 1/4] Add the functional identity and feature queries. --- clang/doc

[clang] [clang][modules] Guard against bad -fmodule-file mappings (#132059) (PR #133462)

2025-04-01 Thread Naveen Seth Hanig via cfe-commits
naveen-seth wrote: Hi, sorry! I left a comment earlier but noticed that a large part of the explanation was incorrect and deleted it. Here is the fixed comment: At first I thought that the issue can be fixed by just checking for duplicates while parsing the command-line arguments, but that doe

[clang] [clang][modules] Guard against bad -fmodule-file mappings (#132059) (PR #133462)

2025-04-01 Thread Naveen Seth Hanig via cfe-commits
https://github.com/naveen-seth edited https://github.com/llvm/llvm-project/pull/133462 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [AMDGPU][clang][CodeGen][opt] Add late-resolved feature identifying predicates (PR #134016)

2025-04-01 Thread Alex Voicu via cfe-commits
https://github.com/AlexVlx updated https://github.com/llvm/llvm-project/pull/134016 >From 91eeaf02336e539f14dcb0a79ff15dbe8befe6f1 Mon Sep 17 00:00:00 2001 From: Alex Voicu Date: Wed, 2 Apr 2025 02:47:42 +0100 Subject: [PATCH 1/6] Add the functional identity and feature queries. --- clang/doc

[clang] [clang][modules] Determine if the SDK supports builtin modules independent of the target (PR #134005)

2025-04-01 Thread Ian Anderson via cfe-commits
https://github.com/ian-twilightcoder updated https://github.com/llvm/llvm-project/pull/134005 >From c1af28f0af52b84938b8b06957f048bffd8104bb Mon Sep 17 00:00:00 2001 From: Ian Anderson Date: Tue, 1 Apr 2025 16:24:30 -0700 Subject: [PATCH] [clang][modules] Determine if the SDK supports builtin

[clang] [clang][ExtractAPI] emit correct spelling for type aliases (PR #134007)

2025-04-01 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Erick Velez (evelez7) Changes Previously, C++11 type aliases were serialized using "typedef" regardless of the source spelling. This checks if the TypedefNameDecl is actually a TypeAliasDecl and corrects the spelling. --- Full diff: http

[clang] [compiler-rt] [llvm] [SystemZ] Add support for half (fp16) (PR #109164)

2025-04-01 Thread Trevor Gross via cfe-commits
@@ -126,3 +138,23 @@ define void @f9(ptr %cptr, ptr %aptr, ptr %bptr) { store fp128 %c, ptr %cptr ret void } + +; Test f16 copies in which the sign comes from an f16. +define half @f10(half %a, half %b) { +; CHECK-LABEL: f10: +; CHECK: brasl %r14, copysignh@PLT

[clang] [compiler-rt] [llvm] [SystemZ] Add support for half (fp16) (PR #109164)

2025-04-01 Thread Trevor Gross via cfe-commits
https://github.com/tgross35 edited https://github.com/llvm/llvm-project/pull/109164 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][modules] Determine if the SDK supports builtin modules independent of the target (PR #134005)

2025-04-01 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Ian Anderson (ian-twilightcoder) Changes Whether the SDK supports builtin modules is a property of the SDK itself, and really has nothing to do with the target. This was already worked around for Mac Catalyst, but there are some ot

[clang] [clang-sycl-linker] Replace llvm-link with API calls (PR #133797)

2025-04-01 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-ppc64-aix` running on `aix-ppc64` while building `clang` at step 5 "build-unified-tree". Full details are available at: https://lab.llvm.org/buildbot/#/builders/64/builds/2733 Here is the relevant piece of the build lo

[clang] [llvm] Reland "[HLSL][RootSignature] Implement parsing of a DescriptorTable with empty clauses" (PR #133958)

2025-04-01 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-hlsl Author: Finn Plummer (inbelic) Changes This pr relands https://github.com/llvm/llvm-project/pull/133302. It resolves two issues: - Linking error during build, [here](https://github.com/llvm/llvm-project/pull/133302#issuecomment-2767259848). There

[clang] [CIR][Upstream] Local initialization for ArrayType (PR #132974)

2025-04-01 Thread Andy Kaylor via cfe-commits
@@ -110,6 +110,10 @@ class CIRGenFunction : public CIRGenTypeCache { public: mlir::Value createDummyValue(mlir::Location loc, clang::QualType qt); + void emitAggExpr(const clang::Expr *e, AggValueSlot slot); andykaylor wrote: These should be moved to the p

[clang] [cmake] Refactor clang unittest cmake (PR #133545)

2025-04-01 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `lldb-aarch64-windows` running on `linaro-armv8-windows-msvc-05` while building `clang` at step 6 "test". Full details are available at: https://lab.llvm.org/buildbot/#/builders/141/builds/7528 Here is the relevant piece of

[clang] [clang-tools-extra] [clang] support pack expansions for trailing requires clauses (PR #133190)

2025-04-01 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov updated https://github.com/llvm/llvm-project/pull/133190 >From 4c3fe79695f8082f56f8403fbf1f9eb299bb4af2 Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Wed, 26 Mar 2025 18:38:34 -0300 Subject: [PATCH] [clang] support pack expansions for trailing requires clauses

[clang] [modules] Handle friend function that was a definition but became only a declaration during AST deserialization (PR #132214)

2025-04-01 Thread Chuanqi Xu via cfe-commits
@@ -1392,6 +1392,20 @@ class ASTReader llvm::DenseMap DefinitionSource; + /// The set of extra flags about declarations that we have read from + /// the module file. + struct ExternalDeclarationBits { +/// Indicates if given function declaration was a definition but

[libclc] [libclc] Move cbrt to the CLC library; vectorize (PR #133940)

2025-04-01 Thread Matt Arsenault via cfe-commits
https://github.com/arsenm approved this pull request. https://github.com/llvm/llvm-project/pull/133940 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Revert "[cmake] Refactor clang unittest cmake" (PR #134022)

2025-04-01 Thread via cfe-commits
https://github.com/dpalermo created https://github.com/llvm/llvm-project/pull/134022 Reverts llvm/llvm-project#133545 This change is breaking several buildbots as well as developer's builds. Reverting to allow people to make progress. >From 8392666bb92c87127db2ecbb85523bd64bfabcd7 Mon Sep 17

[clang] 558ce50 - [Clang][LLVM] Implement multi-single vectors MOP4{A/S} (#129226)

2025-04-01 Thread via cfe-commits
Author: Jonathan Thackray Date: 2025-04-01T17:04:59+01:00 New Revision: 558ce50ebc31bbcd5ec5bfad0c0126adfde8bbb0 URL: https://github.com/llvm/llvm-project/commit/558ce50ebc31bbcd5ec5bfad0c0126adfde8bbb0 DIFF: https://github.com/llvm/llvm-project/commit/558ce50ebc31bbcd5ec5bfad0c0126adfde8bbb0.d

[clang] 66b540d - [C11] Claim conformance to WG14 N1518 (#133749)

2025-04-01 Thread via cfe-commits
Author: Aaron Ballman Date: 2025-04-01T11:45:56-04:00 New Revision: 66b540d861ecc5fef0fc398c9c3590c3a7dc6ff9 URL: https://github.com/llvm/llvm-project/commit/66b540d861ecc5fef0fc398c9c3590c3a7dc6ff9 DIFF: https://github.com/llvm/llvm-project/commit/66b540d861ecc5fef0fc398c9c3590c3a7dc6ff9.diff

[libclc] 00e6d4f - [libclc][NFC] Delete three unused .inc files

2025-04-01 Thread Fraser Cormack via cfe-commits
Author: Fraser Cormack Date: 2025-04-01T17:36:01+01:00 New Revision: 00e6d4fe064bb48e16c1eda018e6ed5e9f99cba9 URL: https://github.com/llvm/llvm-project/commit/00e6d4fe064bb48e16c1eda018e6ed5e9f99cba9 DIFF: https://github.com/llvm/llvm-project/commit/00e6d4fe064bb48e16c1eda018e6ed5e9f99cba9.diff

[clang] [clang-format] Fix a bug in annotating braces (PR #134039)

2025-04-01 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Owen Pan (owenca) Changes Fix #133873 --- Full diff: https://github.com/llvm/llvm-project/pull/134039.diff 2 Files Affected: - (modified) clang/lib/Format/UnwrappedLineParser.cpp (+5-1) - (modified) clang/unittests/Format/TokenA

[clang] [clang] Do not infer lifetimebound for functions with void return type (PR #131997)

2025-04-01 Thread via cfe-commits
llvmbot wrote: /pull-request llvm/llvm-project#133997 https://github.com/llvm/llvm-project/pull/131997 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] Remove Native Client support (PR #133661)

2025-04-01 Thread Fangrui Song via cfe-commits
MaskRay wrote: > Thanks for working on this! This will be the first time I'm not going to > oppose an effort to remove Native Client support 🎉 Although I am going to ask > you to wait a couple of months to land it, until we finally turn it off for > good and start deleting the support code fro

[clang] Revert "[cmake] Refactor clang unittest cmake" (PR #134022)

2025-04-01 Thread via cfe-commits
https://github.com/dpalermo closed https://github.com/llvm/llvm-project/pull/134022 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy][C++20] Add support for Initialization Forwarding in structs and Nested Objects within modernize-use-emplace (PR #131969)

2025-04-01 Thread David Rivera via cfe-commits
https://github.com/RiverDave updated https://github.com/llvm/llvm-project/pull/131969 >From 89412d91ff6cd38a8060c84f66bbab3caead2478 Mon Sep 17 00:00:00 2001 From: David Rivera Date: Sun, 16 Mar 2025 16:20:16 -0400 Subject: [PATCH] [clang-tidy] Add support for Initialization Forwarding in Nest

[clang] [clang][ExtractAPI] emit correct spelling for type aliases (PR #134007)

2025-04-01 Thread Erick Velez via cfe-commits
https://github.com/evelez7 created https://github.com/llvm/llvm-project/pull/134007 Previously, C++11 type aliases were serialized using "typedef" regardless of the source spelling. This checks if the TypedefNameDecl is actually a TypeAliasDecl and corrects the spelling. >From 28879073b9d59df

[clang] [clang-tools-extra] [Clang] [Sema] Make -Wreturn-type an error by default (PR #131207)

2025-04-01 Thread via cfe-commits
https://github.com/Sirraide updated https://github.com/llvm/llvm-project/pull/131207 >From bff3db4f6a7fdff572b662048f395c280a11d94b Mon Sep 17 00:00:00 2001 From: Sirraide Date: Thu, 13 Mar 2025 21:18:14 +0100 Subject: [PATCH 1/3] [Clang] [Sema] Make -Wreturn-type an error by default --- clan

[clang] [flang] [llvm] [flang-rt] Pass the whole path of libflang_rt.runtime.a to linker on AIX (PR #131041)

2025-04-01 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay edited https://github.com/llvm/llvm-project/pull/131041 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [flang] [llvm] [flang-rt] Pass the whole path of libflang_rt.runtime.a to linker on AIX (PR #131041)

2025-04-01 Thread Fangrui Song via cfe-commits
@@ -0,0 +1,38 @@ +!! Testing ld command with flang on POWERPC. + +!! Because flang-rt currently only supports +!! LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON, use +!! resource_dir_with_per_target_subdir as inputs. + +! Check powerpc64-ibm-aix 64-bit linking to static flang-rt +! RUN: %

[clang] [RFC] Initial implementation of P2719 (PR #113510)

2025-04-01 Thread Oliver Hunt via cfe-commits
@@ -3096,6 +3096,29 @@ bool Type::isStdByteType() const { return false; } +TemplateDecl *Type::getSpecializedTemplateDecl() const { + const auto *DesugaredType = getUnqualifiedDesugaredType(); + if (auto *Specialization = DesugaredType->getAs()) +return Specialization

[clang] [RFC] Initial implementation of P2719 (PR #113510)

2025-04-01 Thread Oliver Hunt via cfe-commits
@@ -1392,7 +1393,13 @@ static UsualDeleteParams getUsualDeleteParams(const FunctionDecl *FD) { const FunctionProtoType *FPT = FD->getType()->castAs(); auto AI = FPT->param_type_begin(), AE = FPT->param_type_end(); - // The first argument is always a void*. + if (FD->isT

[clang] [HLSL] Update __builtin_hlsl_dot builtin Sema Checking to fix error when passed an array literal 1u.xxxx (PR #133941)

2025-04-01 Thread Farzon Lotfi via cfe-commits
https://github.com/farzonl approved this pull request. LGTM. https://github.com/llvm/llvm-project/pull/133941 ___ 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-01 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,c -- clang/lib/Parse/ParseOpenMP.cpp clang/test/OpenMP/m

[clang] [RFC] Initial implementation of P2719 (PR #113510)

2025-04-01 Thread Oliver Hunt via cfe-commits
@@ -16110,6 +16128,127 @@ bool Sema::CompleteConstructorCall(CXXConstructorDecl *Constructor, return Invalid; } +bool Sema::IsTypeIdentitySpecialization(QualType Type) const { + auto *TypeIdentity = getStdTypeIdentity(); + if (!TypeIdentity) +return false; + auto *Sp

  1   2   >