[clang] [Format] Avoid repeated hash lookups (NFC) (PR #107962)

2024-09-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Kazu Hirata (kazutakahirata) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/107962.diff 1 Files Affected: - (modified) clang/lib/Format/ObjCPropertyAttributeOrderFixer.cpp (+1-3) ``diff diff --git a/

[clang] [Lex] Avoid repeated hash lookups (NFC) (PR #107963)

2024-09-09 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/107963 MacroAnnotations has three std::optional fields. Functions makeDeprecation, makeRestrictExpansion, and makeFinal construct an instance of MacroAnnotations with one field initialized with a non-default val

[clang] [Lex] Avoid repeated hash lookups (NFC) (PR #107963)

2024-09-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Kazu Hirata (kazutakahirata) Changes MacroAnnotations has three std::optional fields. Functions makeDeprecation, makeRestrictExpansion, and makeFinal construct an instance of MacroAnnotations with one field initialized with a non-default v

[clang] [compiler-rt] [llvm] [X86] AMD Zen 5 Initial enablement (PR #107964)

2024-09-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-mc @llvm/pr-subscribers-clang-driver Author: Ganesh (ganeshgit) Changes This patch enables the basic skeleton enablement of AMD next gen zen5 CPUs. --- Patch is 31.47 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-projec

[clang] [compiler-rt] [llvm] [X86] AMD Zen 5 Initial enablement (PR #107964)

2024-09-09 Thread via cfe-commits
https://github.com/ganeshgit created https://github.com/llvm/llvm-project/pull/107964 This patch enables the basic skeleton enablement of AMD next gen zen5 CPUs. >From b68bcc1415151bd84b5868aa2c98663069f45469 Mon Sep 17 00:00:00 2001 From: Ganesh Gopalasubramanian Date: Thu, 29 Aug 2024 08:54:

[clang] [compiler-rt] [llvm] [X86] AMD Zen 5 Initial enablement (PR #107964)

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

[clang] [compiler-rt] [llvm] [X86] AMD Zen 5 Initial enablement (PR #107964)

2024-09-09 Thread Aiden Grossman via cfe-commits
@@ -1151,6 +1151,25 @@ static const char *getAMDProcessorTypeAndSubtype(unsigned Family, break; // "znver4" } break; // family 19h + case 26: boomanaiden154 wrote: Can you bump the equivalent code in `compiler-rt` too? https://github.com/llvm

[clang] [compiler-rt] [llvm] [X86] AMD Zen 5 Initial enablement (PR #107964)

2024-09-09 Thread via cfe-commits
@@ -1151,6 +1151,25 @@ static const char *getAMDProcessorTypeAndSubtype(unsigned Family, break; // "znver4" } break; // family 19h + case 26: ganeshgit wrote: Will do! https://github.com/llvm/llvm-project/pull/107964 _

[clang] [compiler-rt] [llvm] [X86] AMD Zen 5 Initial enablement (PR #107964)

2024-09-09 Thread Aiden Grossman via cfe-commits
@@ -1151,6 +1151,25 @@ static const char *getAMDProcessorTypeAndSubtype(unsigned Family, break; // "znver4" } break; // family 19h + case 26: boomanaiden154 wrote: I posted some patches a while ago to start unifying things so that there's a s

[clang] [compiler-rt] [llvm] [X86] AMD Zen 5 Initial enablement (PR #107964)

2024-09-09 Thread via cfe-commits
@@ -1151,6 +1151,25 @@ static const char *getAMDProcessorTypeAndSubtype(unsigned Family, break; // "znver4" } break; // family 19h + case 26: ganeshgit wrote: > I posted some patches a while ago to start unifying things so that there's a > si

[clang] [compiler-rt] [llvm] [X86] AMD Zen 5 Initial enablement (PR #107964)

2024-09-09 Thread Aiden Grossman via cfe-commits
@@ -1151,6 +1151,25 @@ static const char *getAMDProcessorTypeAndSubtype(unsigned Family, break; // "znver4" } break; // family 19h + case 26: boomanaiden154 wrote: Oh, looks like I missed it. Sorry about that! There's https://github.com/llvm/

[clang-tools-extra] Update clang tidy Contributing guide (PR #106672)

2024-09-09 Thread via cfe-commits
MichelleCDjunaidi wrote: PR opened. https://github.com/llvm/llvm-project/pull/106672 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 3928ede - [clang][bytecode] Fix local destructor order (#107951)

2024-09-09 Thread via cfe-commits
Author: Timm Baeder Date: 2024-09-10T06:26:46+02:00 New Revision: 3928edecfbd116d56bbe7411365d50bb567380a1 URL: https://github.com/llvm/llvm-project/commit/3928edecfbd116d56bbe7411365d50bb567380a1 DIFF: https://github.com/llvm/llvm-project/commit/3928edecfbd116d56bbe7411365d50bb567380a1.diff L

[clang] [clang][bytecode] Fix local destructor order (PR #107951)

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

[clang] [HLSL] Add `[[hlsl::row_access]]` attribute (PR #107954)

2024-09-09 Thread Helena Kotas via cfe-commits
https://github.com/hekota updated https://github.com/llvm/llvm-project/pull/107954 >From 1c66d2767ca20f42b6edaae834cc186be7d23712 Mon Sep 17 00:00:00 2001 From: Helena Kotas Date: Mon, 9 Sep 2024 19:39:02 -0700 Subject: [PATCH 1/2] [HLSL] Add `[[hlsl::row_access]]` attribute This PR introduces

[clang] [clang][bytecode] Fix local destructor order (PR #107951)

2024-09-09 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-hip-vega20` running on `hip-vega20-0` while building `clang` at step 3 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/123/builds/5257 Here is the relevant piece of the build log for

[clang] [compiler-rt] Reland [asan][windows] Eliminate the static asan runtime on windows (PR #107899)

2024-09-09 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `bolt-aarch64-ubuntu-clang` running on `bolt-worker-aarch64` while building `clang,compiler-rt` at step 5 "build-clang-bolt". Full details are available at: https://lab.llvm.org/buildbot/#/builders/128/builds/609 Here is the

[clang] [clang] correct argument offset for function template partial ordering (PR #107972)

2024-09-09 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov created https://github.com/llvm/llvm-project/pull/107972 This fixes a bug in #18291, that was reported in the PR. Since this is a bug fix for a patch that was never released, no entries are added to the changelog. >From 395ddd73b4dd366155a8718c13410b03bf8c6d32 Mon

[clang] [clang] correct argument offset for function template partial ordering (PR #107972)

2024-09-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Matheus Izvekov (mizvekov) Changes This fixes a bug in #18291, that was reported in the PR. Since this is a bug fix for a patch that was never released, no entries are added to the changelog. --- Full diff: https://github.com/llvm/llvm-p

[clang] [clang] check deduction consistency when partial ordering function templates (PR #100692)

2024-09-09 Thread Matheus Izvekov via cfe-commits
mizvekov wrote: @alexfh That's a bug in the patch, thanks for reporting. This patch fixes it: https://github.com/llvm/llvm-project/pull/107972 https://github.com/llvm/llvm-project/pull/100692 ___ cfe-commits mailing list cfe-commits@lists.llvm.org htt

[clang] [clang] correct argument offset for function template partial ordering (PR #107972)

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

[clang] [HLSL] Warn on duplicate is_rov attribute; remove unnecessary parentheses (PR #107973)

2024-09-09 Thread Helena Kotas via cfe-commits
https://github.com/hekota created https://github.com/llvm/llvm-project/pull/107973 We should issue a warning whenever a duplicate resource type attribute is found. Currently we do that only for `resource_class`. This PR fixes that by checking for duplicate `is_rov` attributes as well. Also re

[clang] [HLSL] Warn on duplicate is_rov attribute; remove unnecessary parentheses (PR #107973)

2024-09-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-hlsl Author: Helena Kotas (hekota) Changes We should issue a warning whenever a duplicate resource type attribute is found. Currently we do that only for `resource_class`. This PR fixes that by checking for duplicate `is_rov`

[clang] [compiler-rt] [llvm] [X86] AMD Zen 5 Initial enablement (PR #107964)

2024-09-09 Thread via cfe-commits
ganeshgit wrote: > This patch enables the basic skeleton enablement of AMD next gen zen5 CPUs. @RKSimon Pl post your comments. I have few subsequent patches for scheduler enablement, and some tuning patches lined up as well. https://github.com/llvm/llvm-project/pull/107964

[clang] [llvm] [X86][AVX10.2] Support AVX10.2-SATCVT-DS new instructions. (PR #102592)

2024-09-09 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang edited https://github.com/llvm/llvm-project/pull/102592 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [X86][AVX10.2] Support AVX10.2-SATCVT-DS new instructions. (PR #102592)

2024-09-09 Thread Phoebe Wang via cfe-commits
@@ -0,0 +1,297 @@ +/*===- avx10_2_512satcvtdsintrin.h - AVX10_2_512SATCVTDS intrinsics === + * + * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. + * See https://llvm.org/LICENSE.txt for license information. + * SPDX-License-Identifier: Apac

[clang] [llvm] [X86][AVX10.2] Support AVX10.2-SATCVT-DS new instructions. (PR #102592)

2024-09-09 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang approved this pull request. LGTM with one nit. https://github.com/llvm/llvm-project/pull/102592 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [llvm] Full path names are used in several unittests instead of the binary name. Fix up the testcase failures (PR #107974)

2024-09-09 Thread via cfe-commits
https://github.com/HighW4y2H3ll created https://github.com/llvm/llvm-project/pull/107974 Encountered several testcase failures when running `ninja check-all`. It was due to the full path name were shown in the error message instead of the binary name, and therefore causing the check string mis

[clang-tools-extra] [llvm] Full path names are used in several unittests instead of the binary name. Fix up the testcase failures (PR #107974)

2024-09-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tidy Author: None (HighW4y2H3ll) Changes Encountered several testcase failures when running `ninja check-all`. It was due to the full path name were shown in the error message instead of the binary name, and therefore causing the check string mis

[clang-tools-extra] [llvm] Full path names are used in several unittests instead of the binary name. Fix up the testcase failures (PR #107974)

2024-09-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tools-extra Author: None (HighW4y2H3ll) Changes Encountered several testcase failures when running `ninja check-all`. It was due to the full path name were shown in the error message instead of the binary name, and therefore causing the check str

[clang] [HLSL] Add `[[hlsl::row_access]]` attribute (PR #107954)

2024-09-09 Thread Helena Kotas via cfe-commits
https://github.com/hekota updated https://github.com/llvm/llvm-project/pull/107954 >From 1c66d2767ca20f42b6edaae834cc186be7d23712 Mon Sep 17 00:00:00 2001 From: Helena Kotas Date: Mon, 9 Sep 2024 19:39:02 -0700 Subject: [PATCH 1/3] [HLSL] Add `[[hlsl::row_access]]` attribute This PR introduces

[clang] [HLSL] Add `[[hlsl::row_access]]` attribute (PR #107954)

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

[clang] [HLSL] Add `[[hlsl::row_access]]` attribute (PR #107954)

2024-09-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Helena Kotas (hekota) Changes This PR introduces new HLSL resource type attribute `[[hlsl::row_access]]`. Presence of this attribute on a resource handle means that the resource must be accessed in 16-byte blocks at-a-time, or four 32-bit

[clang] [HLSL] Add `[[hlsl::row_access]]` attribute (PR #107954)

2024-09-09 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-modules Author: Helena Kotas (hekota) Changes This PR introduces new HLSL resource type attribute `[[hlsl::row_access]]`. Presence of this attribute on a resource handle means that the resource must be accessed in 16-byte blocks at-a-time, or fou

[clang] [clang-tools-extra] [llvm] [clang] WIP: Improved Context Declaration tracking (PR #107942)

2024-09-09 Thread Younan Zhang via cfe-commits
@@ -14873,41 +14854,6 @@ TreeTransform::TransformLambdaExpr(LambdaExpr *E) { /*IsInstantiation*/ true); SavedContext.pop(); - // Recompute the dependency of the lambda so that we can defer the lambda call - // construction until after

[clang] [llvm] [DirectX] Add DirectXTargetCodeGenInfo (PR #104856)

2024-09-09 Thread Helena Kotas via cfe-commits
https://github.com/hekota updated https://github.com/llvm/llvm-project/pull/104856 >From 44e814b925a1ad8ac40fe6904542cbade516c065 Mon Sep 17 00:00:00 2001 From: Helena Kotas Date: Mon, 19 Aug 2024 13:34:13 -0700 Subject: [PATCH 1/7] [DirectX] Add DirectXTargetCodeGenInfo Adds TargetCodeGenInfo

[clang] [clang-repl] Simplify the value printing logic to enable out-of-process. (PR #107737)

2024-09-09 Thread Vassil Vassilev via cfe-commits
@@ -0,0 +1,400 @@ +//===--- InterpreterValuePrinter.cpp - Value printing utils -*- 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] [lld] [llvm] [clang][MIPS] Add support for mipsel-windows-* targets (PR #107744)

2024-09-09 Thread Martin Storsjö via cfe-commits
mstorsjo wrote: > For the Mips backend itself, I would ask the Mips backend code maintainer... > but we don't have a maintainer for Mips. And we don't have any buildbots. I'm > really not sure about adding complexity to a backend which is already > suffering from a lack of anyone that has any

<    1   2   3   4   5