[clang] [OpenACC] Check Loop counts for 'collapse' clause. (PR #110851)

2024-10-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Erich Keane (erichkeane) Changes OpenACC Spec requires that each loop associated with a 'collapse' have exactly 1 loop/nest. This is implemented in 2 parts: 1- diagnosing when we see a 2nd loop at any level with an applicable 'collapse' 2

[clang] c7fb0ee - [clang][x86] Add constexpr support for ADC/SBB + ADX intrinsics (#110668)

2024-10-02 Thread via cfe-commits
Author: Simon Pilgrim Date: 2024-10-02T15:45:02+01:00 New Revision: c7fb0eed05e768093fc202e94df1c0d88fd7c2f0 URL: https://github.com/llvm/llvm-project/commit/c7fb0eed05e768093fc202e94df1c0d88fd7c2f0 DIFF: https://github.com/llvm/llvm-project/commit/c7fb0eed05e768093fc202e94df1c0d88fd7c2f0.diff

[clang] [clang][x86] Add constexpr support for ADC/SBB + ADX intrinsics (PR #110668)

2024-10-02 Thread Simon Pilgrim via cfe-commits
https://github.com/RKSimon closed https://github.com/llvm/llvm-project/pull/110668 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [clang][llvm][SPIR-V] Explicitly encode native integer widths for SPIR-V (PR #110695)

2024-10-02 Thread Matt Arsenault via cfe-commits
@@ -1,56 +0,0 @@ -; This test aims to check ability to support "Arithmetic with Overflow" intrinsics arsenm wrote: The codegen prepare behavior is still backend code to be tested. You can just run codegenprepare as a standalone pass too (usually would have sepa

[clang] [OpenACC] Check Loop counts for 'collapse' clause. (PR #110851)

2024-10-02 Thread Erich Keane via cfe-commits
https://github.com/erichkeane created https://github.com/llvm/llvm-project/pull/110851 OpenACC Spec requires that each loop associated with a 'collapse' have exactly 1 loop/nest. This is implemented in 2 parts: 1- diagnosing when we see a 2nd loop at any level with an applicable 'collapse' 2-

[clang] [llvm] [Inliner] Propagate more attributes to params when inlining (PR #91101)

2024-10-02 Thread via cfe-commits
goldsteinn wrote: > It may be a good idea to skip the inference for constant arguments. I see a > decent amount of things like `range(i64 -2147483576, 34359738361) 272` in the > diffs. > Will skip constants. > Though I still don't think that we should be inferring range at all. IMO throwing

[clang] [llvm] [Inliner] Propagate more attributes to params when inlining (PR #91101)

2024-10-02 Thread via cfe-commits
https://github.com/goldsteinn updated https://github.com/llvm/llvm-project/pull/91101 >From 74e64cd80956d599548041d25e4fdfd1cd1c8d68 Mon Sep 17 00:00:00 2001 From: Noah Goldstein Date: Sat, 4 May 2024 18:12:34 -0500 Subject: [PATCH 1/4] [Inliner] Add tests for propagating more parameter attrib

[clang] [Clang] Add explicit visibility symbol macros (PR #108276)

2024-10-02 Thread Vassil Vassilev via cfe-commits
https://github.com/vgvassilev updated https://github.com/llvm/llvm-project/pull/108276 >From b987a75b114d953a8c481363d5b726d08393d16b Mon Sep 17 00:00:00 2001 From: Thomas Fransham Date: Tue, 10 Sep 2024 02:22:18 +0100 Subject: [PATCH 1/6] [Clang] Add explicit visibility symbol macros and updat

[clang] [llvm] [NFC][TableGen] Change `Record::getSuperClasses` to use const Record* (PR #110845)

2024-10-02 Thread Rahul Joshi via cfe-commits
https://github.com/jurahul created https://github.com/llvm/llvm-project/pull/110845 Change `Record::getSuperClasses` to return a const pointer to the superclass records. >From 0581a81640aa832ae5bb0a8b001e1690b5ea295c Mon Sep 17 00:00:00 2001 From: Rahul Joshi Date: Wed, 2 Oct 2024 07:01:40 -0

[clang] [lldb] [clang][RecordLayoutBuilder] Be stricter about inferring packed-ness in ExternalLayouts (PR #97443)

2024-10-02 Thread Michael Buch via cfe-commits
https://github.com/Michael137 updated https://github.com/llvm/llvm-project/pull/97443 >From 3a718c75d0458b7aece72f2ba8e5aa5a68815237 Mon Sep 17 00:00:00 2001 From: Michael Buch Date: Tue, 2 Jul 2024 18:43:34 +0200 Subject: [PATCH 1/3] [clang][RecordLayoutBuilder] Be stricter about inferring pa

[clang] [Clang] omit parentheses in fold expressions with a single expansion (PR #110761)

2024-10-02 Thread Erich Keane via cfe-commits
@@ -15598,6 +15598,9 @@ TreeTransform::TransformCXXFoldExpr(CXXFoldExpr *E) { return getDerived().RebuildEmptyCXXFoldExpr(E->getEllipsisLoc(), E->getOperator()); + if (*NumExpansions == 1) erichkeane wrote:

[clang] [llvm] [AArch64][SVE] Fix definition of bfloat fcvt intrinsics. (PR #110281)

2024-10-02 Thread David Sherwood via cfe-commits
https://github.com/david-arm approved this pull request. Looks Astounding To Me. LATM. https://github.com/llvm/llvm-project/pull/110281 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Make PCH's respect any VFS specified. (PR #106577)

2024-10-02 Thread Neil Henning via cfe-commits
sheredom wrote: > It looks like it almost works: if I create a module in a virtual path and use > `use-external-names: false`, then the module stores the virtual path for its > input files. > > E.g. > > ``` > { > "version": 0, > "use-external-names": false, > "roots": [ > { >

[clang] [Clang][NFC] Rearrange tests for CWG 2707 after #110473 (PR #110842)

2024-10-02 Thread Vlad Serebrennikov via cfe-commits
https://github.com/Endilll approved this pull request. https://github.com/llvm/llvm-project/pull/110842 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Emit a diagnostic note at the class declaration when the method definition does not match any declaration. (PR #110638)

2024-10-02 Thread Haojian Wu via cfe-commits
hokein wrote: Thanks for your work on this. The buildbot is green, so I’ll merge it now. https://github.com/llvm/llvm-project/pull/110638 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commit

[clang] 8282c58 - [Clang] Emit a diagnostic note at the class declaration when the method definition does not match any declaration. (#110638)

2024-10-02 Thread via cfe-commits
Author: c8ef Date: 2024-10-02T16:40:06+02:00 New Revision: 8282c58d9b1cd5b6df89ee3f68438fe0ee672f7f URL: https://github.com/llvm/llvm-project/commit/8282c58d9b1cd5b6df89ee3f68438fe0ee672f7f DIFF: https://github.com/llvm/llvm-project/commit/8282c58d9b1cd5b6df89ee3f68438fe0ee672f7f.diff LOG: [Cl

[clang] [Clang] Emit a diagnostic note at the class declaration when the method definition does not match any declaration. (PR #110638)

2024-10-02 Thread Haojian Wu via cfe-commits
https://github.com/hokein closed https://github.com/llvm/llvm-project/pull/110638 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Emit a diagnostic note at the class declaration when the method definition does not match any declaration. (PR #110638)

2024-10-02 Thread via cfe-commits
c8ef wrote: Thanks for all your thorough review and guidance! https://github.com/llvm/llvm-project/pull/110638 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][dataflow] Add a test demonstrating an issue in unchecked-optional-access-check (PR #110870)

2024-10-02 Thread Jan Voung via cfe-commits
https://github.com/jvoung updated https://github.com/llvm/llvm-project/pull/110870 >From d148d4b3187d507fb1ba1735a3111c3eac2d2157 Mon Sep 17 00:00:00 2001 From: Jan Voung Date: Wed, 2 Oct 2024 15:26:32 + Subject: [PATCH 1/3] [clang][dataflow] Add a test demonstrating an issue in unchecked-

[clang] [AArch64] Pass -mabi option through to multilib (PR #110874)

2024-10-02 Thread Oliver Stannard via cfe-commits
https://github.com/ostannard created https://github.com/llvm/llvm-project/pull/110874 Pass the -mabi option through to multilib, so that it can be used for library selection. >From d89ce145e529a6795291234c7d4b5c2cb5b75bc5 Mon Sep 17 00:00:00 2001 From: Oliver Stannard Date: Wed, 2 Oct 2024 16

[clang] [clang][DebugInfo] Revert to printing canonical typenames for template aliases (PR #110767)

2024-10-02 Thread Adrian Prantl via cfe-commits
https://github.com/adrian-prantl approved this pull request. Sounds unfortunate, but if you think that's the best choice for unblocking libc++, let's do that. https://github.com/llvm/llvm-project/pull/110767 ___ cfe-commits mailing list cfe-commits@li

[clang] [AArch64] Pass -mabi option through to multilib (PR #110874)

2024-10-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-driver Author: Oliver Stannard (ostannard) Changes Pass the -mabi option through to multilib, so that it can be used for library selection. --- Full diff: https://github.com/llvm/llvm-project/pull/110874.diff 2 Files

[clang] Clang tooling generated visibility macros for Clang (PR #109702)

2024-10-02 Thread Thomas Fransham via cfe-commits
fsfod wrote: If your stuck with having to include a class or function it in a public header there will be a macro you can add to it so the Clang tool skips adding visibility attributes added to it. At the file or folder level they can be excluded by adding them to the export config file used b

[clang] Multilib error fixes (PR #110804)

2024-10-02 Thread Simon Tatham via cfe-commits
https://github.com/statham-arm updated https://github.com/llvm/llvm-project/pull/110804 >From 531253ab8c33cc69a927b28a1608675cd9ef709c Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 30 Sep 2024 16:12:00 +0100 Subject: [PATCH 1/3] [clang][Driver] Rename "FatalError" key to "Error" in mu

[clang] [clang-tools-extra] [RecursiveASTVisitor] Skip implicit instantiations. (PR #110899)

2024-10-02 Thread via cfe-commits
@@ -2069,22 +2069,24 @@ bool RecursiveASTVisitor::TraverseTemplateArgumentLocsHelper( #define DEF_TRAVERSE_TMPL_SPEC_DECL(TMPLDECLKIND, DECLKIND) \ DEF_TRAVERSE_DECL(TMPLDECLKIND##TemplateSpecializationDecl, { \ +auto TSK = D->getTemp

[clang] 14e1fef - [clang-format] Handle template closer followed by empty paretheses (#110408)

2024-10-02 Thread via cfe-commits
Author: Owen Pan Date: 2024-10-02T19:06:56-07:00 New Revision: 14e1fef73625daf9fad1a2c51b16f67b3152a675 URL: https://github.com/llvm/llvm-project/commit/14e1fef73625daf9fad1a2c51b16f67b3152a675 DIFF: https://github.com/llvm/llvm-project/commit/14e1fef73625daf9fad1a2c51b16f67b3152a675.diff LOG:

[clang] [clang-format] Handle template closer followed by empty paretheses (PR #110408)

2024-10-02 Thread Owen Pan via cfe-commits
https://github.com/owenca closed https://github.com/llvm/llvm-project/pull/110408 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] c1343a2 - [clang] [Driver] Ensure we error on lto with link.exe and target `*-windows-msvc` on non cl driver modes (#109607)

2024-10-02 Thread via cfe-commits
Author: Max Winkler Date: 2024-10-02T19:16:45-07:00 New Revision: c1343a29216f08ec762b3e58572e5c3e41f6f285 URL: https://github.com/llvm/llvm-project/commit/c1343a29216f08ec762b3e58572e5c3e41f6f285 DIFF: https://github.com/llvm/llvm-project/commit/c1343a29216f08ec762b3e58572e5c3e41f6f285.diff L

[clang] [clang] [Driver] Ensure we error on lto with link.exe and target `*-windows-msvc` on non cl driver modes (PR #109607)

2024-10-02 Thread Max Winkler via cfe-commits
https://github.com/MaxEW707 closed https://github.com/llvm/llvm-project/pull/109607 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Fix a bug in annotating PointerOrReference (PR #110945)

2024-10-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Owen Pan (owenca) Changes Fixes #110879. --- Full diff: https://github.com/llvm/llvm-project/pull/110945.diff 2 Files Affected: - (modified) clang/lib/Format/TokenAnnotator.cpp (+1-1) - (modified) clang/unittests/Format/TokenAnn

[clang] [clang-format] Fix a bug in annotating PointerOrReference (PR #110945)

2024-10-02 Thread Owen Pan via cfe-commits
https://github.com/owenca created https://github.com/llvm/llvm-project/pull/110945 Fixes #110879. >From ab6f3f4950a5ca1e1297437940730b43746c7f6a Mon Sep 17 00:00:00 2001 From: Owen Pan Date: Wed, 2 Oct 2024 19:30:30 -0700 Subject: [PATCH] [clang-format] Fix a bug in annotating PointerOrReferen

[clang] [Analysis] Avoid repeated hash lookups (NFC) (PR #110949)

2024-10-02 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/110949 None >From 0e4235061e3f668c0d1b86cc993eada3ca7efac7 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 2 Oct 2024 07:00:45 -0700 Subject: [PATCH] [Analysis] Avoid repeated hash lookups (NFC) --- cla

[clang] [AST] Avoid repeated hash lookups (NFC) (PR #110947)

2024-10-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Kazu Hirata (kazutakahirata) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/110947.diff 1 Files Affected: - (modified) clang/lib/AST/ASTContext.cpp (-2) ``diff diff --git a/clang/lib/AST/ASTContext.cpp b/cl

[clang] 882457a - [Clang] Fix 'counted_by' for nested struct pointers (#110497)

2024-10-02 Thread via cfe-commits
Author: Jan Hendrik Farr Date: 2024-10-03T05:16:21Z New Revision: 882457a2eedbe6d53161b2f78fcf769fc9a93e8a URL: https://github.com/llvm/llvm-project/commit/882457a2eedbe6d53161b2f78fcf769fc9a93e8a DIFF: https://github.com/llvm/llvm-project/commit/882457a2eedbe6d53161b2f78fcf769fc9a93e8a.diff L

[clang] [Clang] Fix 'counted_by' for nested struct pointers (PR #110497)

2024-10-02 Thread Bill Wendling via cfe-commits
https://github.com/bwendling approved this pull request. Thanks for the patch! https://github.com/llvm/llvm-project/pull/110497 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Fix 'counted_by' for nested struct pointers (PR #110497)

2024-10-02 Thread via cfe-commits
github-actions[bot] wrote: @Cydox Congratulations on having your first Pull Request (PR) merged into the LLVM Project! Your changes will be combined with recent changes from other authors, then tested by our [build bots](https://lab.llvm.org/buildbot/). If there is a problem with a build, y

[clang] [Clang] Fix 'counted_by' for nested struct pointers (PR #110497)

2024-10-02 Thread Bill Wendling via cfe-commits
https://github.com/bwendling closed https://github.com/llvm/llvm-project/pull/110497 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][CodeGen] Emit load of GEP after EmitMemberExpr (PR #110487)

2024-10-02 Thread Bill Wendling via cfe-commits
https://github.com/bwendling closed https://github.com/llvm/llvm-project/pull/110487 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][Driver] Support relative paths for CLANG_CONFIG_FILE_SYSTEM_DIR (PR #110962)

2024-10-02 Thread via cfe-commits
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it

[clang] [Clang][Driver] Support relative paths for CLANG_CONFIG_FILE_SYSTEM_DIR (PR #110962)

2024-10-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Carlo Cabrera (carlocab) Changes Shipping a system configuration file for Clang is useful, but it limits the relocatability of the toolchain because it bakes in a reference to an absolute path on the file system. Let's fix that by a

[clang] [Clang][Driver] Support relative paths for CLANG_CONFIG_FILE_SYSTEM_DIR (PR #110962)

2024-10-02 Thread Carlo Cabrera via cfe-commits
https://github.com/carlocab created https://github.com/llvm/llvm-project/pull/110962 Shipping a system configuration file for Clang is useful, but it limits the relocatability of the toolchain because it bakes in a reference to an absolute path on the file system. Let's fix that by allowing for

[clang] [clang] Handle template argument conversions for non-pack param to pack argument (PR #110963)

2024-10-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Matheus Izvekov (mizvekov) Changes This fixes a regression introduced in #96023, reported in https://github.com/llvm/llvm-project/issues/110231#issuecomment-2389131854 --- Full diff: https://github.com/llvm/llvm-project/pull/110963.diff

[clang] [clang] Handle template argument conversions for non-pack param to pack argument (PR #110963)

2024-10-02 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov created https://github.com/llvm/llvm-project/pull/110963 This fixes a regression introduced in #96023, reported in https://github.com/llvm/llvm-project/issues/110231#issuecomment-2389131854 >From b37fd6faea430d77ff97568259a3792a3534b481 Mon Sep 17 00:00:00 2001 From

[clang] [llvm] [BPF] Add load-acquire and store-release instructions under -mcpu=v5 (PR #108636)

2024-10-02 Thread via cfe-commits
@@ -522,6 +526,28 @@ let Predicates = [BPFNoALU32] in { } def STD : STOREi64; +class relaxed_store + : PatFrag<(ops node:$val, node:$ptr), (base node:$val, node:$ptr)> { + let IsAtomic = 1; + let IsAtomicOrderingReleaseOrStronger = 0; +} + +class releasing_store + : PatFra

[clang] [Analysis] Avoid repeated hash lookups (NFC) (PR #110949)

2024-10-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Kazu Hirata (kazutakahirata) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/110949.diff 1 Files Affected: - (modified) clang/lib/Analysis/ExprMutationAnalyzer.cpp (+2-3) ``diff diff --git a/clang/lib/Analys

[clang] [Serialization] Avoid repeated hash lookups (NFC) (PR #110950)

2024-10-02 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/110950 None >From 9be1bde51a7b095b285bdfb81123749b6364d524 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 2 Oct 2024 07:02:53 -0700 Subject: [PATCH] [Serialization] Avoid repeated hash lookups (NFC) ---

[clang] [Analysis] Avoid repeated hash lookups (NFC) (PR #110949)

2024-10-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-analysis Author: Kazu Hirata (kazutakahirata) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/110949.diff 1 Files Affected: - (modified) clang/lib/Analysis/ExprMutationAnalyzer.cpp (+2-3) ``diff diff --git a/clang/l

[clang] [Serialization] Avoid repeated hash lookups (NFC) (PR #110950)

2024-10-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-modules Author: Kazu Hirata (kazutakahirata) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/110950.diff 1 Files Affected: - (modified) clang/lib/Serialization/GlobalModuleIndex.cpp (+7-8) ``diff diff --git a/clang/

[clang] [flang] [flang][Driver] Add support for -f[no-]wrapv and -f[no]-strict-overflow in the frontend (PR #110061)

2024-10-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-flang-fir-hlfir Author: Yusuke MINATO (yus3710-fj) Changes This patch introduces the options for integer overflow flags into Flang. The behavior is similar to that of Clang. --- Full diff: https://github.com/llvm/llvm-project/pull/110061.diff 8 Files

[clang] [flang] [flang][Driver] Add support for -f[no-]wrapv and -f[no]-strict-overflow in the frontend (PR #110061)

2024-10-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Yusuke MINATO (yus3710-fj) Changes This patch introduces the options for integer overflow flags into Flang. The behavior is similar to that of Clang. --- Full diff: https://github.com/llvm/llvm-project/pull/110061.diff 8 Files Aff

[clang] [flang] [flang][Driver] Add support for -f[no-]wrapv and -f[no]-strict-overflow in the frontend (PR #110061)

2024-10-02 Thread Yusuke MINATO via cfe-commits
https://github.com/yus3710-fj ready_for_review https://github.com/llvm/llvm-project/pull/110061 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Make some binary operations imply requires clause (PR #110942)

2024-10-02 Thread Owen Pan via cfe-commits
@@ -3528,6 +3528,17 @@ bool UnwrappedLineParser::parseRequires() { return false; } break; +case tok::equalequal: +case tok::greaterequal: +case tok::lessequal: +case tok::r_paren: +case tok::pipepipe: + if (OpenAngles == 0) { +

[clang] [clang-format] Fix a bug that misannotates binary operators */&/&& (PR #110945)

2024-10-02 Thread Owen Pan via cfe-commits
https://github.com/owenca edited https://github.com/llvm/llvm-project/pull/110945 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RISCV] Implement Clang Builtins for XCVmac Extension in CV32E40P (PR #110623)

2024-10-02 Thread via cfe-commits
https://github.com/realqhc updated https://github.com/llvm/llvm-project/pull/110623 >From da8b2fc0b5815f5870efe650ba5d585ec14e1a08 Mon Sep 17 00:00:00 2001 From: Qihan Cai Date: Tue, 1 Oct 2024 12:14:15 +1000 Subject: [PATCH 1/3] [RISCV] Implement Clang Builtins for XCVmac Extension in CV32E40

[clang] [AST] Avoid repeated hash lookups (NFC) (PR #110947)

2024-10-02 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/110947 None >From 75622baf2f2bb12c46ca501f1f9b26afa0503e6b Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 2 Oct 2024 06:59:47 -0700 Subject: [PATCH] [AST] Avoid repeated hash lookups (NFC) --- clang/li

[clang] [Sema] Avoid repeated hash lookups (NFC) (PR #110951)

2024-10-02 Thread Kazu Hirata via cfe-commits
https://github.com/kazutakahirata created https://github.com/llvm/llvm-project/pull/110951 None >From 6e37d7fac860490dd491afff51b6ec26c45b4594 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 2 Oct 2024 07:01:33 -0700 Subject: [PATCH] [Sema] Avoid repeated hash lookups (NFC) --- clang/l

[clang] [Sema] Avoid repeated hash lookups (NFC) (PR #110951)

2024-10-02 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Kazu Hirata (kazutakahirata) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/110951.diff 1 Files Affected: - (modified) clang/lib/Sema/JumpDiagnostics.cpp (+1-2) ``diff diff --git a/clang/lib/Sema/JumpDiagno

[clang] [flang] [flang][Driver] Add support for -f[no-]wrapv and -f[no]-strict-overflow in the frontend (PR #110061)

2024-10-02 Thread Yusuke MINATO via cfe-commits
https://github.com/yus3710-fj updated https://github.com/llvm/llvm-project/pull/110061 >From aea2cfa4b1d812dc84cb1609f93cc2ec2bcd33b4 Mon Sep 17 00:00:00 2001 From: Yusuke MINATO Date: Wed, 18 Sep 2024 21:12:43 +0900 Subject: [PATCH] [flang][Driver] Add support for -f[no-]wrapv and -f[no]-stri

[clang] [libcxx] [clang] remove extra space in warn_atomic_op_oversized (NFC) (PR #110955)

2024-10-02 Thread via cfe-commits
https://github.com/Enna1 created https://github.com/llvm/llvm-project/pull/110955 None >From 68a4cacb9a90904eb780f295955695443f0895cc Mon Sep 17 00:00:00 2001 From: Enna1 Date: Thu, 3 Oct 2024 13:04:28 +0800 Subject: [PATCH] [clang] remove extra space in warn_atomic_op_oversized (NFC) --- ..

[clang] [llvm] [CGData][ThinLTO][NFC] Prep for two-codegen rounds (PR #90934)

2024-10-02 Thread Teresa Johnson via cfe-commits
@@ -586,7 +586,9 @@ Error lto::thinBackend(const Config &Conf, unsigned Task, AddStreamFn AddStream, Mod.setPartialSampleProfileRatio(CombinedIndex); LLVM_DEBUG(dbgs() << "Running ThinLTO\n"); - if (Conf.CodeGenOnly) { + if (CodeGenOnly) { teresajohnson

[clang] [llvm] [CGData][ThinLTO][NFC] Prep for two-codegen rounds (PR #90934)

2024-10-02 Thread Teresa Johnson via cfe-commits
https://github.com/teresajohnson approved this pull request. https://github.com/llvm/llvm-project/pull/90934 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [RISCV] Implement Clang Builtins for XCVmac Extension in CV32E40P (PR #110623)

2024-10-02 Thread Craig Topper via cfe-commits
@@ -0,0 +1,111 @@ +/*=== riscv_corev_mac.h - CORE-V multiply accumulate 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

<    1   2   3   4   5