[PATCH] D153769: [clangd] Implement the 'Organize Imports' source action. Fix include-cleaner findings in batch.

2023-09-11 Thread Kadir Cetinkaya via Phabricator via cfe-commits
kadircet added a comment. FYI, i don't think you uploaded the new version of the patch Comment at: clang-tools-extra/clangd/ClangdServer.cpp:752 auto Action = [File = File.str(), Sel, TweakID = TweakID.str(), - CB = std::move(CB), + CB = std::

[clang] [clang][dataflow] Eliminate `RecordValue::getChild()`. (PR #65586)

2023-09-11 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Changes We want to eliminate the `RecordStorageLocation` from `RecordValue` and, ultimately, eliminate `RecordValue` entirely (see the discussion linked in the `RecordValue` class comment). This is one step in that direction. To eliminate `RecordValue

[clang] [clang][dataflow] Eliminate `RecordValue::getChild()`. (PR #65586)

2023-09-11 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-analysis Changes We want to eliminate the `RecordStorageLocation` from `RecordValue` and, ultimately, eliminate `RecordValue` entirely (see the discussion linked in the `RecordValue` class comment). This is one step in that direction. To eliminate `Re

[clang] [clang][dataflow] Eliminate `RecordValue::getChild()`. (PR #65586)

2023-09-11 Thread via cfe-commits
https://github.com/llvmbot labeled https://github.com/llvm/llvm-project/pull/65586 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][dataflow] Eliminate `RecordValue::getChild()`. (PR #65586)

2023-09-11 Thread via cfe-commits
https://github.com/llvmbot labeled https://github.com/llvm/llvm-project/pull/65586 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][dataflow] Eliminate `RecordValue::getChild()`. (PR #65586)

2023-09-11 Thread via cfe-commits
martinboehme wrote: Rebasing so I can run the CI again at head (and it will hopefully pass). https://github.com/llvm/llvm-project/pull/65586 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com

[clang] [clang][dataflow] Eliminate `RecordValue::getChild()`. (PR #65586)

2023-09-11 Thread via cfe-commits
https://github.com/martinboehme updated https://github.com/llvm/llvm-project/pull/65586: >From 2b2bedd7a40f4fbcdae40ab647ce72f18e069b92 Mon Sep 17 00:00:00 2001 From: Martin Braenne Date: Thu, 7 Sep 2023 09:22:37 + Subject: [PATCH] [clang][dataflow] Eliminate `RecordValue::getChild()`. We

[clang] [clang][dataflow] Merge `RecordValue`s with different locations correctly. (PR #65319)

2023-09-11 Thread via cfe-commits
https://github.com/martinboehme closed https://github.com/llvm/llvm-project/pull/65319 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 7f66cc7 - [clang][dataflow] Merge `RecordValue`s with different locations correctly. (#65319)

2023-09-11 Thread via cfe-commits
Author: martinboehme Date: 2023-09-12T08:43:29+02:00 New Revision: 7f66cc7d7a7ff7229468840d2b72bb09acb286bf URL: https://github.com/llvm/llvm-project/commit/7f66cc7d7a7ff7229468840d2b72bb09acb286bf DIFF: https://github.com/llvm/llvm-project/commit/7f66cc7d7a7ff7229468840d2b72bb09acb286bf.diff

[clang] [AArch64][SME]Update intrinsic interface for read/write (PR #65594)

2023-09-11 Thread via cfe-commits
@@ -9553,12 +9553,8 @@ Value *CodeGenFunction::EmitSMEReadWrite(const SVETypeFlags &TypeFlags, Function *F = CGM.getIntrinsic(IntID, VecTy); if (TypeFlags.isReadZA()) { sdesmalen-arm wrote: nit: you can remove the curly braces now. https://github.com/llvm

[clang] [AArch64][SME]Update intrinsic interface for read/write (PR #65594)

2023-09-11 Thread via cfe-commits
https://github.com/sdesmalen-arm approved this pull request. LGTM with nit addressed https://github.com/llvm/llvm-project/pull/65594 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [AArch64][SME]Update intrinsic interface for read/write (PR #65594)

2023-09-11 Thread via cfe-commits
https://github.com/sdesmalen-arm edited https://github.com/llvm/llvm-project/pull/65594 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][dataflow] Merge `RecordValue`s with different locations correctly. (PR #65319)

2023-09-11 Thread via cfe-commits
https://github.com/martinboehme updated https://github.com/llvm/llvm-project/pull/65319: >From fc70e2f878425661df8bb26ae7b7ec1648387fbd Mon Sep 17 00:00:00 2001 From: Martin Braenne Date: Mon, 11 Sep 2023 07:21:56 + Subject: [PATCH] [clang][dataflow] Merge `RecordValue`s with different loc

[PATCH] D151834: Include math-errno with fast-math

2023-09-11 Thread Mikael Holmén via Phabricator via cfe-commits
uabelho added a comment. Hi @zahiraam , I have a couple of downstream testcases that fail with this patch. Before > clang bbi-86364.c -lm -O3 > ./a.out passed but with the patch the assert in the program fails: a.out: bbi-86364.c:9: int main(): Assertion `(*__errno_location ()) == 33' f

[PATCH] D159486: Fix build error in CI.

2023-09-11 Thread Mikael Holmén via Phabricator via cfe-commits
uabelho added a comment. Hi @zahiraam , I have a couple of downstream testcases that fail with this patch. Before > clang bbi-86364.c -lm -O3 > ./a.out passed but with the patch the assert in the program fails: a.out: bbi-86364.c:9: int main(): Assertion `(*__errno_location ()) == 33' f

[clang] [Documentation] Replace recommonmark by myst-parser (PR #65664)

2023-09-11 Thread Andrei Lebedev via cfe-commits
andreil99 wrote: I can update the publishing bots. For the bots running on https://lab.llvm.org/buildbot/#/workers/92 we would need @gribozavr or somebody with access to gribozavr3 worker. @cor3ntin, is there any dependency on a particular version of myst-parser? https://github.com/llvm/llvm-

[clang] [RISCV] Add MC layer support for Zicfiss. (PR #66043)

2023-09-11 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-risc-v Changes The patch adds the instructions in Zicfiss extension. Zicfiss extension is to support shadow stack for control flow integrity. This patch is based on version [0.3.1]. [0.3.1]: https://github.com/riscv/riscv-cfi/releases/tag/v0.3.1 -

[clang] [RISCV] Add MC layer support for Zicfiss. (PR #66043)

2023-09-11 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-mc Changes The patch adds the instructions in Zicfiss extension. Zicfiss extension is to support shadow stack for control flow integrity. This patch is based on version [0.3.1]. [0.3.1]: https://github.com/riscv/riscv-cfi/releases/tag/v0.3.1 -- Patch is

[clang] [RISCV] Add MC layer support for Zicfiss. (PR #66043)

2023-09-11 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Changes The patch adds the instructions in Zicfiss extension. Zicfiss extension is to support shadow stack for control flow integrity. This patch is based on version [0.3.1]. [0.3.1]: https://github.com/riscv/riscv-cfi/releases/tag/v0.3.1 -- Patch

[clang] [RISCV] Add MC layer support for Zicfiss. (PR #66043)

2023-09-11 Thread via cfe-commits
https://github.com/llvmbot labeled https://github.com/llvm/llvm-project/pull/66043 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RISCV] Add MC layer support for Zicfiss. (PR #66043)

2023-09-11 Thread via cfe-commits
https://github.com/llvmbot labeled https://github.com/llvm/llvm-project/pull/66043 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RISCV] Add MC layer support for Zicfiss. (PR #66043)

2023-09-11 Thread via cfe-commits
https://github.com/llvmbot labeled https://github.com/llvm/llvm-project/pull/66043 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RISCV] Add MC layer support for Zicfiss. (PR #66043)

2023-09-11 Thread Yeting Kuo via cfe-commits
https://github.com/yetingk review_requested https://github.com/llvm/llvm-project/pull/66043 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RISCV] Add MC layer support for Zicfiss. (PR #66043)

2023-09-11 Thread Yeting Kuo via cfe-commits
https://github.com/yetingk created https://github.com/llvm/llvm-project/pull/66043: The patch adds the instructions in Zicfiss extension. Zicfiss extension is to support shadow stack for control flow integrity. This patch is based on version [0.3.1]. [0.3.1]: https://github.com/riscv/riscv-cf

[clang-tools-extra] [flang][openacc] Enable lowering support for OpenACC atomic operations (PR #65776)

2023-09-11 Thread via cfe-commits
https://github.com/NimishMishra commented: Apologies for the late review. I mainly worked on the OpenMP side of atomic construct. Thank you for the sharing of code between OpenACC and OpenMP. Overall, the sharing between OpenMP and OpenACC looks good to me. Minor comments have already been po

[clang] [Documentation] Replace recommonmark by myst-parser (PR #65664)

2023-09-11 Thread Tom Stellard via cfe-commits
https://github.com/tstellar approved this pull request. LGTM. @andreil99 Are you maintaining the documentation bots? https://github.com/llvm/llvm-project/pull/65664 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin

[clang] [Driver] Implement ToolChain on Haiku (PR #66038)

2023-09-11 Thread Brad Smith via cfe-commits
https://github.com/brad0 updated https://github.com/llvm/llvm-project/pull/66038: >From 659b362ae637be0500ed50a88d9cf5648a081827 Mon Sep 17 00:00:00 2001 From: X512 Date: Mon, 11 Sep 2023 20:56:02 -0400 Subject: [PATCH] [Driver] Implement ToolChain on Haiku Co-authored-by: David Karoly Co-aut

[PATCH] D159138: [clang][Sema] Fix format size estimator's handling of %o, %x, %X with alternative form

2023-09-11 Thread Takuya Shimizu via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. hazohelet marked an inline comment as done. Closed by commit rG72f6abb9bca6: [clang][Sema] Fix format size estimator's handling of %o, %x, %X with… (authored by hazohel

[clang] 72f6abb - [clang][Sema] Fix format size estimator's handling of %o, %x, %X with alternative form

2023-09-11 Thread Takuya Shimizu via cfe-commits
Author: Takuya Shimizu Date: 2023-09-12T12:22:26+09:00 New Revision: 72f6abb9bca68bf1398b321a73ebe3158bca67e5 URL: https://github.com/llvm/llvm-project/commit/72f6abb9bca68bf1398b321a73ebe3158bca67e5 DIFF: https://github.com/llvm/llvm-project/commit/72f6abb9bca68bf1398b321a73ebe3158bca67e5.diff

[clang] [Fuchsia] Support building runtimes for RISC-V on Linux (PR #66025)

2023-09-11 Thread Petr Hosek via cfe-commits
https://github.com/petrhosek closed https://github.com/llvm/llvm-project/pull/66025 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 10e1c4a - [Fuchsia] Support building runtimes for RISC-V on Linux (#66025)

2023-09-11 Thread via cfe-commits
Author: Petr Hosek Date: 2023-09-11T20:20:24-07:00 New Revision: 10e1c4a02be824c5394da4f2c79bc351eda19dc9 URL: https://github.com/llvm/llvm-project/commit/10e1c4a02be824c5394da4f2c79bc351eda19dc9 DIFF: https://github.com/llvm/llvm-project/commit/10e1c4a02be824c5394da4f2c79bc351eda19dc9.diff LO

[clang] [clang] fix lack comparison of declRefExpr in ASTStructuralEquivalence (PR #66041)

2023-09-11 Thread via cfe-commits
https://github.com/mzyKi edited https://github.com/llvm/llvm-project/pull/66041 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] fix lack comparison of declRefExpr in ASTStructuralEquivalence (PR #66041)

2023-09-11 Thread via cfe-commits
https://github.com/llvmbot labeled https://github.com/llvm/llvm-project/pull/66041 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] fix lack comparison of declRefExpr in ASTStructuralEquivalence (PR #66041)

2023-09-11 Thread via cfe-commits
https://github.com/llvmbot labeled https://github.com/llvm/llvm-project/pull/66041 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] fix lack comparison of declRefExpr in ASTStructuralEquivalence (PR #66041)

2023-09-11 Thread via cfe-commits
https://github.com/mzyKi created https://github.com/llvm/llvm-project/pull/66041: Before fix,the following testcase expected true. While I think only comparison of declName is not sufficient.Thanks for giving suggestions. >From 1efbe57a8acd2219228014dd7dce6f179ee777c7 Mon Sep 17 00:00:00 2001

[clang] [clang] fix lack comparison of declRefExpr in ASTStructuralEquivalence (PR #66041)

2023-09-11 Thread via cfe-commits
https://github.com/mzyKi review_requested https://github.com/llvm/llvm-project/pull/66041 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D86310: [X86] Align i128 to 16 bytes in x86 datalayouts

2023-09-11 Thread Trevor Gross via Phabricator via cfe-commits
tmgross added a comment. > See the source code comment I quoted in > https://bugs.llvm.org/show_bug.cgi?id=50198#c3: "If the target does not have > native f128 support, expand it to i128 and we will be generating soft float > library calls." This applies to x86. `f128` is expanded to `i128`, so

[clang] [Driver] Implement ToolChain on Haiku (PR #66038)

2023-09-11 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Changes Instead of passing everything off to GCC, add a ToolChain for Haiku to allow Clang to properly link things on its own. -- Full diff: https://github.com/llvm/llvm-project/pull/66038.diff 12 Files Affected: - (modified) clang/lib/Driver

[clang] [Driver] Implement ToolChain on Haiku (PR #66038)

2023-09-11 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Changes Instead of passing everything off to GCC, add a ToolChain for Haiku to allow Clang to properly link things on its own. -- Full diff: https://github.com/llvm/llvm-project/pull/66038.diff 12 Files Affected: - (modified) clang/lib/Driver/ToolCh

[clang] [Driver] Implement ToolChain on Haiku (PR #66038)

2023-09-11 Thread via cfe-commits
https://github.com/llvmbot labeled https://github.com/llvm/llvm-project/pull/66038 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Implement ToolChain on Haiku (PR #66038)

2023-09-11 Thread via cfe-commits
https://github.com/llvmbot labeled https://github.com/llvm/llvm-project/pull/66038 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Implement ToolChain on Haiku (PR #66038)

2023-09-11 Thread Brad Smith via cfe-commits
https://github.com/brad0 review_requested https://github.com/llvm/llvm-project/pull/66038 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver] Implement ToolChain on Haiku (PR #66038)

2023-09-11 Thread Brad Smith via cfe-commits
https://github.com/brad0 created https://github.com/llvm/llvm-project/pull/66038: Instead of passing everything off to GCC, add a ToolChain for Haiku to allow Clang to properly link things on its own. >From 789c663c84322e509e8e6e270159878e86cfdefa Mon Sep 17 00:00:00 2001 From: X512 Date: Mon

[clang] 2bdf5aa - [Driver] Properly report error for unsupported powerpc darwin/macos triples

2023-09-11 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2023-09-11T18:53:51-07:00 New Revision: 2bdf5aa5debf6e3b1afe588db990ca58e55c URL: https://github.com/llvm/llvm-project/commit/2bdf5aa5debf6e3b1afe588db990ca58e55c DIFF: https://github.com/llvm/llvm-project/commit/2bdf5aa5debf6e3b1afe588db990ca58e55c.diff

[clang] [AArch64][PAC] Support ptrauth builtins and -fptrauth-intrinsics. (PR #65996)

2023-09-11 Thread Chuanqi Xu via cfe-commits
@@ -303,6 +303,10 @@ bool Module::directlyUses(const Module *Requested) { if (!Requested->Parent && Requested->Name == "_Builtin_stddef_max_align_t") return true; + // Anyone is allowed to use our builtin ptrauth.h and its accompanying module. + if (!Requested->Parent

[clang] [AArch64][PAC] Support ptrauth builtins and -fptrauth-intrinsics. (PR #65996)

2023-09-11 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 edited https://github.com/llvm/llvm-project/pull/65996 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [AArch64][PAC] Support ptrauth builtins and -fptrauth-intrinsics. (PR #65996)

2023-09-11 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 requested changes to this pull request. https://github.com/llvm/llvm-project/pull/65996 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libc++] Implement ranges::contains (PR #65148)

2023-09-11 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/65148: >From 02e9afd761228f401df4d9f8dfaaca44ffae0c6e Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Thu, 31 Aug 2023 20:08:32 + Subject: [PATCH 1/8] [libc++] Implement ranges::contains Differential Revision:

[clang-tools-extra] [libc++] Implement ranges::contains (PR #65148)

2023-09-11 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/65148: >From 02e9afd761228f401df4d9f8dfaaca44ffae0c6e Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Thu, 31 Aug 2023 20:08:32 + Subject: [PATCH 1/8] [libc++] Implement ranges::contains Differential Revision:

[PATCH] D86310: [X86] Align i128 to 16 bytes in x86 datalayouts

2023-09-11 Thread Harald van Dijk via Phabricator via cfe-commits
hvdijk added a comment. In D86310#4605475 , @tmgross wrote: > In D86310#4597359 , @hvdijk wrote: > >> In D86310#4596841 , @tmgross wrote: >> >>> I think that D158169

[clang] [libc++] Implement ranges::contains (PR #65148)

2023-09-11 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/65148: >From 02e9afd761228f401df4d9f8dfaaca44ffae0c6e Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Thu, 31 Aug 2023 20:08:32 + Subject: [PATCH 1/7] [libc++] Implement ranges::contains Differential Revision:

[clang-tools-extra] [libc++] Implement ranges::contains (PR #65148)

2023-09-11 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/65148: >From 02e9afd761228f401df4d9f8dfaaca44ffae0c6e Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Thu, 31 Aug 2023 20:08:32 + Subject: [PATCH 1/7] [libc++] Implement ranges::contains Differential Revision:

[PATCH] D159103: [Driver][HLSL] Improve diagnostics for invalid shader model and stage

2023-09-11 Thread Justin Bogner via Phabricator via cfe-commits
bogner added a subscriber: Keenuts. bogner added inline comments. Comment at: clang/lib/Frontend/CompilerInvocation.cpp:4146 if (Opts.HLSL) { -bool SupportedTarget = (T.getArch() == llvm::Triple::dxil || -T.getArch() == llvm::Triple::spirv) && -

[PATCH] D159103: [Driver][HLSL] Improve diagnostics for invalid shader model and stage

2023-09-11 Thread Justin Bogner via Phabricator via cfe-commits
bogner updated this revision to Diff 556512. bogner added a comment. Rebased to fix conflicts Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D159103/new/ https://reviews.llvm.org/D159103 Files: clang/include/clang/Basic/DiagnosticDriverKinds.td

[clang] [dataflow] Add global condition to DataflowAnalysisContext (PR #65949)

2023-09-11 Thread Gábor Horváth via cfe-commits
@@ -108,6 +108,16 @@ class DataflowAnalysisContext { /// A null `PointeeType` can be used for the pointee of `std::nullptr_t`. PointerValue &getOrCreateNullPointerValue(QualType PointeeType); + /// Adds `Constraint` to current and future flow conditions in this context. +

[clang] [dataflow] Add global condition to DataflowAnalysisContext (PR #65949)

2023-09-11 Thread Gábor Horváth via cfe-commits
@@ -150,7 +157,7 @@ bool DataflowAnalysisContext::flowConditionImplies(Atom Token, Constraints.insert(&arena().makeAtomRef(Token)); Constraints.insert(&arena().makeNot(Val)); llvm::DenseSet VisitedTokens; Xazax-hun wrote: Aren't these `VisitedTokens` lo

[clang] [clang][dataflow] Change `diagnoseFunction` to take type of diagnostic list instead of diagnostic itself. (PR #66014)

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

[clang-tools-extra] [libc++] Implement ranges::contains (PR #65148)

2023-09-11 Thread via cfe-commits
https://github.com/ZijunZhaoCCK converted_to_draft https://github.com/llvm/llvm-project/pull/65148 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libc++] Implement ranges::contains (PR #65148)

2023-09-11 Thread via cfe-commits
https://github.com/ZijunZhaoCCK converted_to_draft https://github.com/llvm/llvm-project/pull/65148 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Inliner] Improve attribute propagation to callsites when inlining. (PR #66036)

2023-09-11 Thread via cfe-commits
goldsteinn wrote: Compile time impact: https://llvm-compile-time-tracker.com/compare.php?from=825df6cfeae3b3aeaa3e8a1882c564bc50d99be5&to=4ccda9426371d37d57042058992931e3bd1ea9e3&stat=instructions:u Some regression for ThinLTO/FullLTO, minimal for normal O3 build. https://github.com/llvm/llvm-

[clang-tools-extra] [libc++] Implement ranges::contains (PR #65148)

2023-09-11 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/65148: >From 02e9afd761228f401df4d9f8dfaaca44ffae0c6e Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Thu, 31 Aug 2023 20:08:32 + Subject: [PATCH 1/7] [libc++] Implement ranges::contains Differential Revision:

[clang] [libc++] Implement ranges::contains (PR #65148)

2023-09-11 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/65148: >From 02e9afd761228f401df4d9f8dfaaca44ffae0c6e Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Thu, 31 Aug 2023 20:08:32 + Subject: [PATCH 1/7] [libc++] Implement ranges::contains Differential Revision:

[clang] [Parse] Split incremental-extensions (PR #65683)

2023-09-11 Thread Ben Barham via cfe-commits
https://github.com/bnbarham closed https://github.com/llvm/llvm-project/pull/65683 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 4c264c2 - [Parse] Split incremental-extensions (#65683)

2023-09-11 Thread via cfe-commits
Author: Ben Barham Date: 2023-09-11T17:40:43-07:00 New Revision: 4c264c26d726f594c4618e4bfeac93d403de893f URL: https://github.com/llvm/llvm-project/commit/4c264c26d726f594c4618e4bfeac93d403de893f DIFF: https://github.com/llvm/llvm-project/commit/4c264c26d726f594c4618e4bfeac93d403de893f.diff LO

[clang-tools-extra] [libc++] Implement ranges::contains (PR #65148)

2023-09-11 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/65148: >From 02e9afd761228f401df4d9f8dfaaca44ffae0c6e Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Thu, 31 Aug 2023 20:08:32 + Subject: [PATCH 1/7] [libc++] Implement ranges::contains Differential Revision: h

[clang] [libc++] Implement ranges::contains (PR #65148)

2023-09-11 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/65148: >From 02e9afd761228f401df4d9f8dfaaca44ffae0c6e Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Thu, 31 Aug 2023 20:08:32 + Subject: [PATCH 1/7] [libc++] Implement ranges::contains Differential Revision: h

[clang] [Inliner] Improve attribute propagation to callsites when inlining. (PR #66036)

2023-09-11 Thread via cfe-commits
https://github.com/goldsteinn edited https://github.com/llvm/llvm-project/pull/66036 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] inliner attrs (PR #66036)

2023-09-11 Thread via cfe-commits
https://github.com/goldsteinn review_requested https://github.com/llvm/llvm-project/pull/66036 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] inliner attrs (PR #66036)

2023-09-11 Thread via cfe-commits
https://github.com/goldsteinn review_requested https://github.com/llvm/llvm-project/pull/66036 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D154603: [analyzer][clangsa] Add new option to alpha.security.cert.InvalidPtrChecker

2023-09-11 Thread Endre Fülöp via Phabricator via cfe-commits
gamesh411 marked 2 inline comments as done. gamesh411 added a comment. @steakhal gentle ping Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D154603/new/ https://reviews.llvm.org/D154603 ___ cfe-commits mai

[clang] inliner attrs (PR #66036)

2023-09-11 Thread via cfe-commits
https://github.com/goldsteinn review_requested https://github.com/llvm/llvm-project/pull/66036 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[PATCH] D154603: [analyzer][clangsa] Add new option to alpha.security.cert.InvalidPtrChecker

2023-09-11 Thread Endre Fülöp via Phabricator via cfe-commits
gamesh411 updated this revision to Diff 556510. gamesh411 added a comment. - use std::string - simplify tests Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D154603/new/ https://reviews.llvm.org/D154603 Files: clang/include/clang/StaticAnalyzer/Ch

[clang-tools-extra] [libc++] Implement ranges::contains (PR #65148)

2023-09-11 Thread via cfe-commits
https://github.com/ZijunZhaoCCK resolved https://github.com/llvm/llvm-project/pull/65148 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libc++] Implement ranges::contains (PR #65148)

2023-09-11 Thread via cfe-commits
https://github.com/ZijunZhaoCCK resolved https://github.com/llvm/llvm-project/pull/65148 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] inliner attrs (PR #66036)

2023-09-11 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Changes - Add some additional tests for progagating attributes before inlining; NFC - Regen checks for old test; NFC - Split some tests for c/cpp; NFC - Use "best" ret attribute when propagating attributes during inlining - Also propagate `noundef` and

[clang] inliner attrs (PR #66036)

2023-09-11 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Changes - Add some additional tests for progagating attributes before inlining; NFC - Regen checks for old test; NFC - Split some tests for c/cpp; NFC - Use "best" ret attribute when propagating attributes during inlining - Also propagate `no

[clang] inliner attrs (PR #66036)

2023-09-11 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 Changes - Add some additional tests for progagating attributes before inlining; NFC - Regen checks for old test; NFC - Split some tests for c/cpp; NFC - Use "best" ret attribute when propagating attributes during inlining - Also propagate `nounde

[clang] inliner attrs (PR #66036)

2023-09-11 Thread via cfe-commits
https://github.com/llvmbot labeled https://github.com/llvm/llvm-project/pull/66036 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] inliner attrs (PR #66036)

2023-09-11 Thread via cfe-commits
https://github.com/llvmbot labeled https://github.com/llvm/llvm-project/pull/66036 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] inliner attrs (PR #66036)

2023-09-11 Thread via cfe-commits
https://github.com/llvmbot labeled https://github.com/llvm/llvm-project/pull/66036 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] inliner attrs (PR #66036)

2023-09-11 Thread via cfe-commits
https://github.com/goldsteinn review_requested https://github.com/llvm/llvm-project/pull/66036 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] inliner attrs (PR #66036)

2023-09-11 Thread via cfe-commits
https://github.com/goldsteinn review_requested https://github.com/llvm/llvm-project/pull/66036 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] inliner attrs (PR #66036)

2023-09-11 Thread via cfe-commits
https://github.com/goldsteinn review_requested https://github.com/llvm/llvm-project/pull/66036 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Update GoogleTest to v1.14.0 (PR #65823)

2023-09-11 Thread Zero Omega via cfe-commits
zeroomega wrote: I have locally tested this PR using gcc 12.2.0 on Linux x64 and MSVC from VS2019, both passed without issues. @pogo59 Do you have any concerns or suggestions before we merge this? https://github.com/llvm/llvm-project/pull/65823 ___ c

[clang] [libc][libm][GPU] Added missing vendor entry points to `libm` for GPUs (PR #66031)

2023-09-11 Thread Anton Rydahl via cfe-commits
Valentin Clement =?utf-8?b?KOODkOODrOODsw=?=, Valentin Clement =?utf-8?b?KOODkOODrOODsw=?=,MaheshRavishankar <1663364+maheshravishan...@users.noreply.github.com>,Fangrui Song ,Razvan Lupusoru ,Walter Erquinigo ,"Yaxun (Sam) Liu" ,Nico Weber ,Stella Laurenzo ,Lang Hames ,Matthias Braun ,Arthur

[clang] Propagate the DWARF version from the main compiler invocation to PCHC… (PR #66032)

2023-09-11 Thread Adrian Prantl via cfe-commits
https://github.com/adrian-prantl review_requested https://github.com/llvm/llvm-project/pull/66032 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Propagate the DWARF version from the main compiler invocation to PCHC… (PR #66032)

2023-09-11 Thread Adrian Prantl via cfe-commits
https://github.com/adrian-prantl review_requested https://github.com/llvm/llvm-project/pull/66032 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Propagate the DWARF version from the main compiler invocation to PCHC… (PR #66032)

2023-09-11 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-modules Changes …ontainerGenerator Currently it remains uninitialized and thus always uses the LLVM default of 4. -- Full diff: https://github.com/llvm/llvm-project/pull/66032.diff 2 Files Affected: - (modified) clang/lib/CodeGen/ObjectFilePCHContai

[clang] Propagate the DWARF version from the main compiler invocation to PCHC… (PR #66032)

2023-09-11 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Changes …ontainerGenerator Currently it remains uninitialized and thus always uses the LLVM default of 4. -- Full diff: https://github.com/llvm/llvm-project/pull/66032.diff 2 Files Affected: - (modified) clang/lib/CodeGen/ObjectFilePCHContainerOpera

[clang] Propagate the DWARF version from the main compiler invocation to PCHC… (PR #66032)

2023-09-11 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Changes …ontainerGenerator Currently it remains uninitialized and thus always uses the LLVM default of 4. -- Full diff: https://github.com/llvm/llvm-project/pull/66032.diff 2 Files Affected: - (modified) clang/lib/CodeGen/ObjectFilePCHContai

[clang] Propagate the DWARF version from the main compiler invocation to PCHC… (PR #66032)

2023-09-11 Thread via cfe-commits
https://github.com/llvmbot labeled https://github.com/llvm/llvm-project/pull/66032 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Propagate the DWARF version from the main compiler invocation to PCHC… (PR #66032)

2023-09-11 Thread via cfe-commits
https://github.com/llvmbot labeled https://github.com/llvm/llvm-project/pull/66032 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Propagate the DWARF version from the main compiler invocation to PCHC… (PR #66032)

2023-09-11 Thread via cfe-commits
https://github.com/llvmbot labeled https://github.com/llvm/llvm-project/pull/66032 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Propagate the DWARF version from the main compiler invocation to PCHC… (PR #66032)

2023-09-11 Thread Adrian Prantl via cfe-commits
https://github.com/adrian-prantl review_requested https://github.com/llvm/llvm-project/pull/66032 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Propagate the DWARF version from the main compiler invocation to PCHC… (PR #66032)

2023-09-11 Thread Adrian Prantl via cfe-commits
https://github.com/adrian-prantl review_requested https://github.com/llvm/llvm-project/pull/66032 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Propagate the DWARF version from the main compiler invocation to PCHC… (PR #66032)

2023-09-11 Thread Adrian Prantl via cfe-commits
https://github.com/adrian-prantl created https://github.com/llvm/llvm-project/pull/66032: …ontainerGenerator Currently it remains uninitialized and thus always uses the LLVM default of 4. >From 6bdd0f5468ae1bf04912a9559c685b335fbe94c9 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Mon, 11

[clang] [libc][libm][GPU] Added missing vendor entry points to `libm` for GPUs (PR #66031)

2023-09-11 Thread via cfe-commits
Valentin Clement =?utf-8?b?KOODkOODrOODsw=?=, Valentin Clement =?utf-8?b?KOODkOODrOODsw=?=,MaheshRavishankar <1663364+maheshravishan...@users.noreply.github.com>,Fangrui Song ,Razvan Lupusoru ,Walter Erquinigo ,"Yaxun (Sam) Liu" ,Nico Weber ,Stella Laurenzo ,Lang Hames ,Matthias Braun ,Arthur

[clang] dfd1d8d - Revert "adds `__reference_constructs_from_temporary`"

2023-09-11 Thread Christopher Di Bella via cfe-commits
Author: Christopher Di Bella Date: 2023-09-11T23:44:50Z New Revision: dfd1d8d505d61c9b401a3cdd6a687848f1c37cc5 URL: https://github.com/llvm/llvm-project/commit/dfd1d8d505d61c9b401a3cdd6a687848f1c37cc5 DIFF: https://github.com/llvm/llvm-project/commit/dfd1d8d505d61c9b401a3cdd6a687848f1c37cc5.dif

[clang] [libc][libm][GPU] Added missing vendor entry points to `libm` for GPUs (PR #66031)

2023-09-11 Thread via cfe-commits
Valentin Clement =?utf-8?b?KOODkOODrOODsw=?=, Valentin Clement =?utf-8?b?KOODkOODrOODsw=?=,MaheshRavishankar <1663364+maheshravishan...@users.noreply.github.com>,Fangrui Song ,Razvan Lupusoru ,Walter Erquinigo ,"Yaxun (Sam) Liu" ,Nico Weber ,Stella Laurenzo ,Lang Hames ,Matthias Braun ,Arthur

[clang] [libc][libm][GPU] Added missing vendor entry points to `libm` for GPUs (PR #66031)

2023-09-11 Thread Anton Rydahl via cfe-commits
Valentin Clement =?utf-8?b?KOODkOODrOODsw=?=, Valentin Clement =?utf-8?b?KOODkOODrOODsw=?=,MaheshRavishankar <1663364+maheshravishan...@users.noreply.github.com>,Fangrui Song ,Razvan Lupusoru ,Walter Erquinigo ,"Yaxun (Sam) Liu" ,Nico Weber ,Stella Laurenzo ,Lang Hames ,Matthias Braun ,Arthur

  1   2   3   4   5   6   7   >