[flang] [clang] Revert "[flang] Enable alias tags pass by default (#73111)" (PR #73821)

2023-11-29 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Tom Eccles (tblah) Changes This reverts commit caba0314cf631a3ba3e982cbcdc455224046c7a8. Serious performance regressions were reported by @vzakhari https://github.com/llvm/llvm-project/issues/58303#issuecomment-1830754173 Fixing t

[clang] [flang] Revert "[flang] Enable alias tags pass by default (#73111)" (PR #73821)

2023-11-29 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Tom Eccles (tblah) Changes This reverts commit caba0314cf631a3ba3e982cbcdc455224046c7a8. Serious performance regressions were reported by @vzakhari https://github.com/llvm/llvm-project/issues/58303#issuecomment-1830754173 Fixing this doe

[clang] [Clang] Implement P2308R1 - Template Parameter Initialization. (PR #73103)

2023-11-29 Thread via cfe-commits
https://github.com/cor3ntin updated https://github.com/llvm/llvm-project/pull/73103 >From 4709819fb2e7f45f9429f1a7fc79923abf0f9691 Mon Sep 17 00:00:00 2001 From: Corentin Jabot Date: Wed, 22 Nov 2023 11:43:07 +0100 Subject: [PATCH 1/3] [Clang] Implement P2308R1 - Template Parameter Initializat

[clang] [Clang] Implement P2308R1 - Template Parameter Initialization. (PR #73103)

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

[clang] [Clang] Implement P2308R1 - Template Parameter Initialization. (PR #73103)

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

[clang] 5ce5ea3 - Revert "[flang] Enable alias tags pass by default (#73111)" (#73821)

2023-11-29 Thread via cfe-commits
Author: Tom Eccles Date: 2023-11-29T17:10:18Z New Revision: 5ce5ea3786246815ce4913dcf8020bde976d2c95 URL: https://github.com/llvm/llvm-project/commit/5ce5ea3786246815ce4913dcf8020bde976d2c95 DIFF: https://github.com/llvm/llvm-project/commit/5ce5ea3786246815ce4913dcf8020bde976d2c95.diff LOG: Re

[clang] [Clang] Implement P2308R1 - Template Parameter Initialization. (PR #73103)

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

[clang] [clang-offload-bundler] Add support for -check-input-archive (PR #73709)

2023-11-29 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 1a041a3ad8a0104da70202e68256513de8848dbf b9c630a58fa5ea843c24ad6175a444b8795e9ba2 --

[clang] 2630d72 - [HLSL] Support vector swizzles on scalars (#67700)

2023-11-29 Thread via cfe-commits
Author: Chris B Date: 2023-11-29T11:25:02-06:00 New Revision: 2630d72cb343fed771e505c1bb0e4f334aed66ce URL: https://github.com/llvm/llvm-project/commit/2630d72cb343fed771e505c1bb0e4f334aed66ce DIFF: https://github.com/llvm/llvm-project/commit/2630d72cb343fed771e505c1bb0e4f334aed66ce.diff LOG:

[clang] [Clang] Implement P2308R1 - Template Parameter Initialization. (PR #73103)

2023-11-29 Thread via cfe-commits
https://github.com/cor3ntin updated https://github.com/llvm/llvm-project/pull/73103 >From 4709819fb2e7f45f9429f1a7fc79923abf0f9691 Mon Sep 17 00:00:00 2001 From: Corentin Jabot Date: Wed, 22 Nov 2023 11:43:07 +0100 Subject: [PATCH 1/4] [Clang] Implement P2308R1 - Template Parameter Initializat

[clang] [Rewrite] Fix offset computation in RemoveText (PR #73827)

2023-11-29 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Sebastian Poeplau (sebastianpoeplau) Changes When removing a source range from the RewriterBuffer, Clang needs to compute the size of the actual range in the RewriterBuffer (as new elements may have been inserted at any position of the or

[llvm] [clang-tools-extra] [clang] [Clang] Fix linker error for function multiversioning (PR #71706)

2023-11-29 Thread via cfe-commits
elizabethandrews wrote: > I requested some minor changes. > > Can we document the `.ifunc` symbols as a deprecated feature? With this > change, they will never be referenced except by code compiled by older > compiler versions. Maybe plan to deprecate them a year from now? How/where do I docu

[clang] [llvm] Fix documentation on PGO/coverage related options. (PR #73845)

2023-11-29 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-pgo @llvm/pr-subscribers-llvm-transforms Author: David Li (david-xl) Changes Update the user manual to provide guidance on the usage for different flavors of instrumentations. --- Full diff: https://github.com/llvm/llvm-project/pull/73845.diff 2 File

[llvm] [clang-tools-extra] [clang] [Clang] Fix linker error for function multiversioning (PR #71706)

2023-11-29 Thread via cfe-commits
@@ -4114,8 +4114,26 @@ void CodeGenModule::emitMultiVersionFunctions() { } llvm::Constant *ResolverConstant = GetOrCreateMultiVersionResolver(GD); -if (auto *IFunc = dyn_cast(ResolverConstant)) +if (auto *IFunc = dyn_cast(ResolverConstant)) { ResolverCon

[clang] [RISCV] Minor improvements/cleanup to target attribute handling. NFC (PR #73851)

2023-11-29 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Craig Topper (topperc) Changes Use ArrayRef to avoid a vector copy. Replace a push_back loop with a call to std::vector::insert. --- Full diff: https://github.com/llvm/llvm-project/pull/73851.diff 1 Files Affected: - (modified) clang/li

[clang] 1cbd52f - [Clang] Implement P2864R2 Remove Deprecated Arithmetic Conversion on Enumerations (#73105)

2023-11-29 Thread via cfe-commits
Author: cor3ntin Date: 2023-11-29T21:27:17+01:00 New Revision: 1cbd52f791d3f088246526c0801634edb65cee31 URL: https://github.com/llvm/llvm-project/commit/1cbd52f791d3f088246526c0801634edb65cee31 DIFF: https://github.com/llvm/llvm-project/commit/1cbd52f791d3f088246526c0801634edb65cee31.diff LOG:

[clang] [Clang] Implement P2864R2 Remove Deprecated Arithmetic Conversion on… (PR #73105)

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

[clang] [Clang] Implement P2308R1 - Template Parameter Initialization. (PR #73103)

2023-11-29 Thread via cfe-commits
@@ -6226,6 +6226,15 @@ ExprResult Sema::CheckConvertedConstantExpression(Expr *From, QualType T, return R; } +ExprResult Sema::EvaluateConvertedConstantExpression(Expr *E, QualType T, + APValue &Value, +

[clang] 4c17452 - [clang-format][NFC] Extend isProto() to also cover LK_TextProto (#73582)

2023-11-29 Thread via cfe-commits
Author: Owen Pan Date: 2023-11-29T12:52:01-08:00 New Revision: 4c1745207665262380e9bff65201816a966339d0 URL: https://github.com/llvm/llvm-project/commit/4c1745207665262380e9bff65201816a966339d0 DIFF: https://github.com/llvm/llvm-project/commit/4c1745207665262380e9bff65201816a966339d0.diff LOG:

[clang] bbae59a - [clang-format] Finalize children after formatting them (#73753)

2023-11-29 Thread via cfe-commits
Author: Owen Pan Date: 2023-11-29T12:56:05-08:00 New Revision: bbae59ae71c73e26809d4ab7da1a80239ebd9381 URL: https://github.com/llvm/llvm-project/commit/bbae59ae71c73e26809d4ab7da1a80239ebd9381 DIFF: https://github.com/llvm/llvm-project/commit/bbae59ae71c73e26809d4ab7da1a80239ebd9381.diff LOG:

[clang] [llvm] [AIX][TOC] Add -mtocdata/-mno-tocdata options on AIX (PR #67999)

2023-11-29 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 4c1745207665262380e9bff65201816a966339d0 f23461ad86202ae37947c5ad1099e301b23b3589 --

[clang] 0123608 - [RISCV] Minor improvements/cleanup to target attribute handling. NFC (#73851)

2023-11-29 Thread via cfe-commits
Author: Craig Topper Date: 2023-11-29T12:57:48-08:00 New Revision: 0123608822a7b58d6deca528eef8dc958420acd1 URL: https://github.com/llvm/llvm-project/commit/0123608822a7b58d6deca528eef8dc958420acd1 DIFF: https://github.com/llvm/llvm-project/commit/0123608822a7b58d6deca528eef8dc958420acd1.diff

[clang] [clang][OpenMP] Fix missing DI for __kmpc_global_thread_num (PR #73856)

2023-11-29 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Ivan R. Ivanov (ivanradanov) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/73856.diff 1 Files Affected: - (modified) clang/lib/CodeGen/CGOpenMPRuntime.cpp (+1) ``diff diff --git a/clang/lib/CodeGen/CGOpenM

[clang] [clang][OpenMP] Fix missing DI for __kmpc_global_thread_num (PR #73856)

2023-11-29 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: Ivan R. Ivanov (ivanradanov) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/73856.diff 1 Files Affected: - (modified) clang/lib/CodeGen/CGOpenMPRuntime.cpp (+1) ``diff diff --git a/clang/lib/CodeGen

[clang] [Clang][OpenMP] Bug #69214 fix (PR #73861)

2023-11-29 Thread via cfe-commits
https://github.com/lwshanbd created https://github.com/llvm/llvm-project/pull/73861 Fix #69214. In `emitOMPSimdRegion`, the `EmitOMPPrivateLoopCounters` should be after `EmitOMPPrivateClause`. >From 9eb00076c22197f223649b420994176a170a2671 Mon Sep 17 00:00:00 2001 From: Baodi Shan Date: Wed,

[clang] [Clang] Implement P2308R1 - Template Parameter Initialization. (PR #73103)

2023-11-29 Thread via cfe-commits
https://github.com/cor3ntin updated https://github.com/llvm/llvm-project/pull/73103 >From 074d18d3805b067a5442bea94816d01319a29083 Mon Sep 17 00:00:00 2001 From: Corentin Jabot Date: Wed, 22 Nov 2023 11:43:07 +0100 Subject: [PATCH 1/5] [Clang] Implement P2308R1 - Template Parameter Initializat

[clang] [Clang] Implement P2864R2 Remove Deprecated Arithmetic Conversion on… (PR #73105)

2023-11-29 Thread via cfe-commits
dyung wrote: @cor3ntin Your commit seems to be causing 2 test failures in the clang-tools-extra tests, can you try to fix them or revert if you need time to investigate? https://lab.llvm.org/buildbot/#/builders/139/builds/54467 https://github.com/llvm/llvm-project/pull/73105 _

[clang] fae233c - [OpenMP] Avoid initializing the KernelLaunchEnvironment if possible (#73864)

2023-11-29 Thread via cfe-commits
Author: Johannes Doerfert Date: 2023-11-29T14:49:13-08:00 New Revision: fae233c63f93b4b6f9693685abe6c7d24393682f URL: https://github.com/llvm/llvm-project/commit/fae233c63f93b4b6f9693685abe6c7d24393682f DIFF: https://github.com/llvm/llvm-project/commit/fae233c63f93b4b6f9693685abe6c7d24393682f.d

[clang] [Clang] Implement P2864R2 Remove Deprecated Arithmetic Conversion on… (PR #73105)

2023-11-29 Thread via cfe-commits
cor3ntin wrote: @PiotrZSL You beat me to it, thanks a lot! https://github.com/llvm/llvm-project/pull/73105 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] c6d7072 - [clang][CodeGen] Emit annotations for function declarations. (#66716)

2023-11-29 Thread via cfe-commits
Author: Brendan Dahl Date: 2023-11-29T15:13:30-08:00 New Revision: c6d70722b49db01914d5f64cc86ea5ed609ad9fd URL: https://github.com/llvm/llvm-project/commit/c6d70722b49db01914d5f64cc86ea5ed609ad9fd DIFF: https://github.com/llvm/llvm-project/commit/c6d70722b49db01914d5f64cc86ea5ed609ad9fd.diff

[clang] [flang] [lldb] [lld] [libcxx] [compiler-rt] [llvm] [clang-tools-extra] [libc] Fix clang to recognize new C23 modifiers %w and %wf when printing (PR #71771)

2023-11-29 Thread via cfe-commits
@@ -286,7 +286,33 @@ clang::analyze_format_string::ParseLengthModifier(FormatSpecifier &FS, lmKind = LengthModifier::AsInt3264; break; case 'w': - lmKind = LengthModifier::AsWide; ++I; break; + ++I; + if (I == E) return false; + if (*I == 'f

[clang] [clang][NFC] Refactor expected directives in C++ DRs 1-99 (PR #73879)

2023-11-29 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Vlad Serebrennikov (Endilll) Changes This patch converts (almost) every expected directive in `test/CXX/drs/dr0xx.cpp` into either `@-1` form (when directive immediately follow the line diagnostic is pointing out to), or `@#` form

[clang] [libcxx] [clang-tools-extra] [flang] [compiler-rt] [lld] [llvm] [lldb] [libc] Fix clang to recognize new C23 modifiers %w and %wf when printing (PR #71771)

2023-11-29 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/71771 >From 06c4cf02dfb4b20c8349c5f3c7209276f6d56edf Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Thu, 9 Nov 2023 02:21:46 + Subject: [PATCH 1/3] Fix clang to recognize new C23 modifiers %w and %wf when pri

[clang] [clang-format] Don't skip stringizing when determining brace kind (PR #73886)

2023-11-29 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-format Author: Emilia Kond (rymiel) Changes PR #69473 introduced skipping PP directives when determining the brace kind of an lbrace. However, it did so by skipping to the end of the line when encountering a hash character. This means it also ski

[libunwind] e88a2f1 - [libunwind][WebAssembly] Omit unused parts of libunwind.cpp for Wasm (#73196)

2023-11-29 Thread via cfe-commits
Author: Heejin Ahn Date: 2023-11-29T18:03:58-08:00 New Revision: e88a2f123fa4843ae3782377668cf5741acc9121 URL: https://github.com/llvm/llvm-project/commit/e88a2f123fa4843ae3782377668cf5741acc9121 DIFF: https://github.com/llvm/llvm-project/commit/e88a2f123fa4843ae3782377668cf5741acc9121.diff LO

[openmp] [llvm] [mlir] [clang] [OpenMP] Introduce the KernelLaunchEnvironment as implicit argument (PR #70401)

2023-11-29 Thread via cfe-commits
ronlieb wrote: > performance degradation observed for this patch on trunk build : hpc2021 8 > mpi210's reference run 518.tealeaf 10.8% 534.hpgmg 7.3% both of these benchmarks which exhibited performance regressions, contain reductions. https://github.com/llvm/llvm-project/pull/70401 _

[clang] 3cf1909 - [clang-offload-bundler] Add support for -check-input-archive (#73709)

2023-11-29 Thread via cfe-commits
Author: Jacob Lambert Date: 2023-11-29T18:39:17-08:00 New Revision: 3cf190974a37d18c7bd6f52b9588f4104e8e96f0 URL: https://github.com/llvm/llvm-project/commit/3cf190974a37d18c7bd6f52b9588f4104e8e96f0 DIFF: https://github.com/llvm/llvm-project/commit/3cf190974a37d18c7bd6f52b9588f4104e8e96f0.diff

[clang] 0233a13 - [Clang][Lex] Fix parsing of nested requirement to prevent flowing off the end of token stream (#73691)

2023-11-29 Thread via cfe-commits
Author: Shafik Yaghmour Date: 2023-11-29T21:03:32-08:00 New Revision: 0233a1306b240850cbf9f4783a20c36f967d9697 URL: https://github.com/llvm/llvm-project/commit/0233a1306b240850cbf9f4783a20c36f967d9697 DIFF: https://github.com/llvm/llvm-project/commit/0233a1306b240850cbf9f4783a20c36f967d9697.dif

[clang] [Driver] Support -mcmodel= for LoongArch (PR #72514)

2023-11-29 Thread via cfe-commits
https://github.com/wangleiat approved this pull request. LGTM https://github.com/llvm/llvm-project/pull/72514 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 1296d20 - [Driver] Support -mcmodel= for LoongArch (#72514)

2023-11-29 Thread via cfe-commits
Author: Lu Weining Date: 2023-11-30T14:08:45+08:00 New Revision: 1296d20adfb0978afe38d67efab9818079d870ca URL: https://github.com/llvm/llvm-project/commit/1296d20adfb0978afe38d67efab9818079d870ca DIFF: https://github.com/llvm/llvm-project/commit/1296d20adfb0978afe38d67efab9818079d870ca.diff LO

[llvm] [libcxx] [clang-tools-extra] [clang] [FIX] Fix the function isctype failed in arm64-big-endian (PR #73200)

2023-11-29 Thread via cfe-commits
https://github.com/W-50243 updated https://github.com/llvm/llvm-project/pull/73200 >From ebc84bed665494dde9dbef956a0383ff79cb3d0c Mon Sep 17 00:00:00 2001 From: W-50243 Date: Thu, 23 Nov 2023 11:02:24 +0800 Subject: [PATCH] [FIX] Fix the function isctype failed in arm64-big-endian --- libcxx/

[clang] [Clang] Eagerly instantiate used constexpr function upon definition. (PR #73463)

2023-11-29 Thread via cfe-commits
https://github.com/cor3ntin updated https://github.com/llvm/llvm-project/pull/73463 >From af4176fba7e7b6e45ddd5b7730c7b1c2cbd69537 Mon Sep 17 00:00:00 2001 From: Corentin Jabot Date: Sun, 26 Nov 2023 22:47:51 +0100 Subject: [PATCH 1/4] [Clang] Eagerly instantiate used constexpr function upon d

[clang] [Clang] Eagerly instantiate used constexpr function upon definition. (PR #73463)

2023-11-29 Thread via cfe-commits
cor3ntin wrote: > Thanks! I assume you'll also be looking at the variable case (perhaps as a > separate commit)? I'll try to get to it, yes! Thanks for the review https://github.com/llvm/llvm-project/pull/73463 ___ cfe-commits mailing list cfe-commit

[llvm] [clang-tools-extra] [clang] [STLExtras] Add out-of-line definition of friend operator== for C++20 (PR #72348)

2023-11-29 Thread via cfe-commits
cor3ntin wrote: @usx95 stupid question, how does that affects llvm when built with GCC/MSVC? If we do require a too recent version of compiler to build in C++20 mode it will make it harder to move llvm to C++20. https://github.com/llvm/llvm-project/pull/72348 __

[clang-tools-extra] [libc] [mlir] [libcxxabi] [llvm] [flang] [libunwind] [openmp] [lld] [clang] [libcxx] [C23] Implement N3018: The constexpr specifier for object definitions (PR #73099)

2023-11-29 Thread via cfe-commits
@@ -14240,6 +14294,114 @@ StmtResult Sema::ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc, : IdentLoc); } +static ImplicitConversionKind getConversionKind(QualType FromType, +

[clang-tools-extra] [libc] [mlir] [libcxxabi] [llvm] [flang] [libunwind] [openmp] [lld] [clang] [libcxx] [C23] Implement N3018: The constexpr specifier for object definitions (PR #73099)

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

[clang] 030047c - [Clang] Eagerly instantiate used constexpr function upon definition. (#73463)

2023-11-29 Thread via cfe-commits
Author: cor3ntin Date: 2023-11-30T08:45:05+01:00 New Revision: 030047c432cac133738be68fa0974f70e69dd58d URL: https://github.com/llvm/llvm-project/commit/030047c432cac133738be68fa0974f70e69dd58d DIFF: https://github.com/llvm/llvm-project/commit/030047c432cac133738be68fa0974f70e69dd58d.diff LOG:

[clang] [Clang] Eagerly instantiate used constexpr function upon definition. (PR #73463)

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

[clang] [clang][AMDGPU] fix the return type for ballot (PR #73906)

2023-11-29 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Sameer Sahasrabuddhe (ssahasra) Changes In the builtins declaration, "ULi" is a 32-bit integer on Windows. Use "WUi" instead to ensure a 64-bit integer on all platforms. --- Full diff: https://github.com/llvm/llvm-project/pull/73906.diff

[clang] [Tooling] Fix FixedCompilationDatabase with header compile flags (PR #73913)

2023-11-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Sam McCall (sam-mccall) Changes Summary: The logic to strip positional args feels very fragile, but it's terribly useful when you want to use a tool on a file and have the exact argv. Today doesn't work with header-parsing actions because

[clang] [Tooling] Fix FixedCompilationDatabase with header compile flags (PR #73913)

2023-11-30 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 6d2dfd37bd50b21ed90427052198bd1f06c761f8 61b0a506142990255f37fc5e52d56805bbba1889 --

[clang] 14ca8d4 - [clang] Fix a bug with qualified name lookup into current instantiation (#73018)

2023-11-30 Thread via cfe-commits
Author: Mariya Podchishchaeva Date: 2023-11-30T10:46:35+01:00 New Revision: 14ca8d44d0f44ea5125b3c41b66276c902929a54 URL: https://github.com/llvm/llvm-project/commit/14ca8d44d0f44ea5125b3c41b66276c902929a54 DIFF: https://github.com/llvm/llvm-project/commit/14ca8d44d0f44ea5125b3c41b66276c902929a

[clang] eef8e1d - [AArch64] Assembly support for the Checked Pointer Arithmetic Extension (#73777)

2023-11-30 Thread via cfe-commits
Author: Lucas Duarte Prates Date: 2023-11-30T10:08:12Z New Revision: eef8e1d206dc01c081a0ca29b7f9e0c39d33446e URL: https://github.com/llvm/llvm-project/commit/eef8e1d206dc01c081a0ca29b7f9e0c39d33446e DIFF: https://github.com/llvm/llvm-project/commit/eef8e1d206dc01c081a0ca29b7f9e0c39d33446e.diff

[clang] b04a419 - Minor refactororing of ASTContext::getDeclAlign() (NFC) (#72977)

2023-11-30 Thread via cfe-commits
Author: Jonas Paulsson Date: 2023-11-30T11:12:13+01:00 New Revision: b04a419be1cac5711029b511cfe16e6748a44a4d URL: https://github.com/llvm/llvm-project/commit/b04a419be1cac5711029b511cfe16e6748a44a4d DIFF: https://github.com/llvm/llvm-project/commit/b04a419be1cac5711029b511cfe16e6748a44a4d.diff

[clang] [clang][AMDGPU] precommit test for ballot on Windows (PR #73920)

2023-11-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Sameer Sahasrabuddhe (ssahasra) Changes The Clang declaration of the wave-64 builtin uses "UL" as the return type, which is interpreted as a 32-bit unsigned integer on Windows. This emits an incorrect LLVM declaration with i32 return type

[llvm] [clang] [AArch64] Assembly support for the Checked Pointer Arithmetic Extension (PR #73777)

2023-11-30 Thread via cfe-commits
@@ -4163,3 +4163,24 @@ let Predicates = [HasSVE2orSME2, HasLUT] in { // LUTI4 (two contiguous registers) defm LUTI4_Z2ZZI : sve2_luti4_vector_vg2_index<"luti4">; } // End HasSVE2orSME2, HasLUT + +//===--===/

[clang] e620035 - [clang] Use current rounding mode for float inc/dec (#73770)

2023-11-30 Thread via cfe-commits
Author: Serge Pavlov Date: 2023-11-30T17:33:35+07:00 New Revision: e620035a28d5d957623aa7b4aeda35ab5130e2c9 URL: https://github.com/llvm/llvm-project/commit/e620035a28d5d957623aa7b4aeda35ab5130e2c9 DIFF: https://github.com/llvm/llvm-project/commit/e620035a28d5d957623aa7b4aeda35ab5130e2c9.diff

[clang-tools-extra] [clang-tidy] performance-unnecessary-copy-init: Add a hook... (PR #73921)

2023-11-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-tidy Author: Clement Courbet (legrosbuffle) Changes ... so that derived checks can implement custom behaviour. Does nothing by default, which makes this an NFC. --- Full diff: https://github.com/llvm/llvm-project/pull/73921.diff 2 Files Affect

[clang-tools-extra] [clang-tidy] performance-unnecessary-copy-init: Add a hook... (PR #73921)

2023-11-30 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 e620035a28d5d957623aa7b4aeda35ab5130e2c9 e251c440b42fe67dee4022d08d05e96d30d6aa02 --

[clang] 53a24c3 - [clang][DebugInfo] Improve heuristic to determine whether to evaluate a static variable's initializer (#72974)

2023-11-30 Thread via cfe-commits
Author: Michael Buch Date: 2023-11-30T10:41:24Z New Revision: 53a24c33f09b81b8f009afbabd05f7086db3f288 URL: https://github.com/llvm/llvm-project/commit/53a24c33f09b81b8f009afbabd05f7086db3f288 DIFF: https://github.com/llvm/llvm-project/commit/53a24c33f09b81b8f009afbabd05f7086db3f288.diff LOG:

[clang] 092507a - [clang][AArch64] Pass down stack clash protection options to LLVM/Backend (#68993)

2023-11-30 Thread via cfe-commits
Author: Momchil Velikov Date: 2023-11-30T11:18:02Z New Revision: 092507a730fa4fad6dbe544cd139cfb7e8179aa4 URL: https://github.com/llvm/llvm-project/commit/092507a730fa4fad6dbe544cd139cfb7e8179aa4 DIFF: https://github.com/llvm/llvm-project/commit/092507a730fa4fad6dbe544cd139cfb7e8179aa4.diff LO

[clang] [clang] Fix sanitizer bot failure after 14ca8d4 (PR #73928)

2023-11-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Mariya Podchishchaeva (Fznamznon) Changes Initialize field so there is no use-of-uninitialized-value warning. --- Full diff: https://github.com/llvm/llvm-project/pull/73928.diff 1 Files Affected: - (modified) clang/lib/Sema/SemaDecl.cpp

[clang] b9b37ea - [clang] Fix sanitizer bot failure after 14ca8d4 (#73928)

2023-11-30 Thread via cfe-commits
Author: Mariya Podchishchaeva Date: 2023-11-30T13:34:11+01:00 New Revision: b9b37ea9493b5c1cadaf9cc8547a4525a6ab3854 URL: https://github.com/llvm/llvm-project/commit/b9b37ea9493b5c1cadaf9cc8547a4525a6ab3854 DIFF: https://github.com/llvm/llvm-project/commit/b9b37ea9493b5c1cadaf9cc8547a4525a6ab38

[compiler-rt] [openmp] [llvm] [libcxxabi] [clang-tools-extra] [clang] [libunwind] [flang] [libc] [lldb] [libcxx] [lld] [mlir] [C23] Implement N3018: The constexpr specifier for object definitions (PR

2023-11-30 Thread via cfe-commits
@@ -14240,6 +14294,114 @@ StmtResult Sema::ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc, : IdentLoc); } +static ImplicitConversionKind getConversionKind(QualType FromType, +

[compiler-rt] [openmp] [llvm] [libcxxabi] [clang-tools-extra] [clang] [libunwind] [flang] [libc] [lldb] [libcxx] [lld] [mlir] [C23] Implement N3018: The constexpr specifier for object definitions (PR

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

[flang] [lldb] [libc] [compiler-rt] [clang] [clang-tools-extra] [libcxxabi] [mlir] [llvm] [openmp] [libcxx] [libunwind] [lld] [C23] Implement N3018: The constexpr specifier for object definitions (PR

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

[clang] [AArch64] Warn when calling a NEON builtin in a streaming function (PR #73672)

2023-11-30 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 1566380e6b47d7876c0f3eaa105097063dbe7cc8 c5c17a44bde23c488141514383b364a434f0e920 --

[clang] [analyzer] Switch to PostStmt callbacks in ArrayBoundV2 (PR #72107)

2023-11-30 Thread via cfe-commits
=?utf-8?q?Donát?= Nagy , =?utf-8?q?Donát?= Nagy , =?utf-8?q?Donát?= Nagy , =?utf-8?q?Donát?= Nagy , =?utf-8?q?Donát?= Nagy Message-ID: In-Reply-To: https://github.com/DonatNagyE updated https://github.com/llvm/llvm-project/pull/72107 >From ab102e949994a4462382e4c10c0153d61fb00306 Mon Sep 17 0

[clang] [analyzer] Switch to PostStmt callbacks in ArrayBoundV2 (PR #72107)

2023-11-30 Thread via cfe-commits
=?utf-8?q?Donát?= Nagy , =?utf-8?q?Donát?= Nagy , =?utf-8?q?Donát?= Nagy , =?utf-8?q?Donát?= Nagy , =?utf-8?q?Donát?= Nagy , =?utf-8?q?Donát?= Nagy Message-ID: In-Reply-To: https://github.com/DonatNagyE updated https://github.com/llvm/llvm-project/pull/72107 >From ab102e949994a4462382e4c10c01

[clang] [analyzer] Switch to PostStmt callbacks in ArrayBoundV2 (PR #72107)

2023-11-30 Thread via cfe-commits
=?utf-8?q?Donát?= Nagy , =?utf-8?q?Donát?= Nagy , =?utf-8?q?Donát?= Nagy , =?utf-8?q?Donát?= Nagy , =?utf-8?q?Donát?= Nagy , =?utf-8?q?Donát?= Nagy Message-ID: In-Reply-To: DonatNagyE wrote: @Xazax-hun I added a few testcases that show the current behavior of the checker w.r.t. invalid refere

[clang] 5234fe3 - [AArch64] Warn when calling a NEON builtin in a streaming function (#73672)

2023-11-30 Thread via cfe-commits
Author: Sam Tebbs Date: 2023-11-30T14:58:34Z New Revision: 5234fe31547737f4fc9d312946cb647968734da1 URL: https://github.com/llvm/llvm-project/commit/5234fe31547737f4fc9d312946cb647968734da1 DIFF: https://github.com/llvm/llvm-project/commit/5234fe31547737f4fc9d312946cb647968734da1.diff LOG: [AA

[clang] [clang][Sema] Always clear UndefinedButUsed (PR #73955)

2023-11-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Jonas Hahnfeld (hahnjo) Changes Before, it was only cleared if there were undefined entities. This is important for Clang's incremental parsing as used by `clang-repl` that might receive multiple calls to `Sema.ActOnEndOfTranslationUnit`.

[clang] ea5b1ef - [clang][NFC] Refactor expected directives in C++ DRs 1-99 (#73879)

2023-11-30 Thread via cfe-commits
Author: Vlad Serebrennikov Date: 2023-11-30T21:16:33+04:00 New Revision: ea5b1ef016d020c37f903d6c7d4f623be975dab8 URL: https://github.com/llvm/llvm-project/commit/ea5b1ef016d020c37f903d6c7d4f623be975dab8 DIFF: https://github.com/llvm/llvm-project/commit/ea5b1ef016d020c37f903d6c7d4f623be975dab8.

[clang] [clang-offload-bundler][NFC] Remove blank line in doc (PR #73968)

2023-11-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Jacob Lambert (lamb-j) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/73968.diff 1 Files Affected: - (modified) clang/docs/ClangOffloadBundler.rst (-1) ``diff diff --git a/clang/docs/ClangOffloadBundler.rst

[llvm] [clang] [RISCV] Collapse fast unaligned access into a single feature [nfc-ish] (PR #73971)

2023-11-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-backend-risc-v @llvm/pr-subscribers-clang-driver Author: Philip Reames (preames) Changes When we'd originally added unaligned-scalar-mem and unaligned-vector-mem, they were separated into two parts under the theory that some processor might implement o

[clang-tools-extra] [llvm] [libunwind] [mlir] [lld] [compiler-rt] [libc] [clang] [flang] [libcxx] [libcxxabi] [lldb] [openmp] [C23] Implement N3018: The constexpr specifier for object definitions (PR

2023-11-30 Thread via cfe-commits
@@ -14240,6 +14294,114 @@ StmtResult Sema::ActOnCXXForRangeIdentifier(Scope *S, SourceLocation IdentLoc, : IdentLoc); } +static ImplicitConversionKind getConversionKind(QualType FromType, +

[clang] [Clang] Implement P2308R1 - Template Parameter Initialization. (PR #73103)

2023-11-30 Thread via cfe-commits
@@ -6226,6 +6226,15 @@ ExprResult Sema::CheckConvertedConstantExpression(Expr *From, QualType T, return R; } +ExprResult Sema::EvaluateConvertedConstantExpression(Expr *E, QualType T, + APValue &Value, +

[clang] 065796b - [clang][OpenMP] Fix missing DI for __kmpc_global_thread_num (#73856)

2023-11-30 Thread via cfe-commits
Author: Ivan R. Ivanov Date: 2023-11-30T13:21:03-06:00 New Revision: 065796bb9293b222fa3d63311af542a98b96d09a URL: https://github.com/llvm/llvm-project/commit/065796bb9293b222fa3d63311af542a98b96d09a DIFF: https://github.com/llvm/llvm-project/commit/065796bb9293b222fa3d63311af542a98b96d09a.diff

[clang-tools-extra] [libc] [lld] [openmp] [libcxx] [clang] [lldb] [llvm] [flang] [libcxxabi] [mlir] [libunwind] [Clang][Sema] Don't say "is declared here" for invalid template locations (PR #71264)

2023-11-30 Thread via cfe-commits
@@ -7909,6 +7903,37 @@ bool Sema::CheckTemplateTemplateArgument(TemplateTemplateParmDecl *Param, Arg.getLocation()); } +static Sema::SemaDiagnosticBuilder noteLocation(Sema &S, const NamedDecl &Decl, +

[clang] a112921 - [clang-format] Don't skip stringizing when determining brace kind (#73886)

2023-11-30 Thread via cfe-commits
Author: Emilia Kond Date: 2023-11-30T21:26:39+02:00 New Revision: a112921d88c28b9d3ac30cad7dbc961a33f22926 URL: https://github.com/llvm/llvm-project/commit/a112921d88c28b9d3ac30cad7dbc961a33f22926 DIFF: https://github.com/llvm/llvm-project/commit/a112921d88c28b9d3ac30cad7dbc961a33f22926.diff L

[clang] 96906a9 - [clang-offload-bundler][NFC] Remove blank line in doc (#73968)

2023-11-30 Thread via cfe-commits
Author: Jacob Lambert Date: 2023-11-30T11:33:39-08:00 New Revision: 96906a92bebe76a1f6510701756aa40280b3a019 URL: https://github.com/llvm/llvm-project/commit/96906a92bebe76a1f6510701756aa40280b3a019 DIFF: https://github.com/llvm/llvm-project/commit/96906a92bebe76a1f6510701756aa40280b3a019.diff

[clang] [clang-fuzzer] Remove GCC 4.9 workaround to silence warning (PR #73974)

2023-11-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Brad Smith (brad0) Changes The minimum GCC version was bumped up from 4.8 to 5.1 and then even newer awhile ago so garbage collect the 4.9 workaround. https://reviews.llvm.org/D66188 --- Full diff: https://github.com/llvm/llvm-project/pu

[clang] [clang][dataflow] Retrieve members from accessors called using member… (PR #73978)

2023-11-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-analysis Author: Samira Bazuzi (bazuzi) Changes … pointers. getMethodDecl does not handle pointers to members and returns nullptr for them. getMethodDecl contains a decade-plus-old FIXME to handle pointers to members, but two approaches I looked

[clang] 13386c6 - [clang][DependencyScanner] Include the working directory in the context hash (#73719)

2023-11-30 Thread via cfe-commits
Author: Michael Spencer Date: 2023-11-30T12:47:27-08:00 New Revision: 13386c608e6d571d2d91eea5f7c8fb6911d6dcfb URL: https://github.com/llvm/llvm-project/commit/13386c608e6d571d2d91eea5f7c8fb6911d6dcfb DIFF: https://github.com/llvm/llvm-project/commit/13386c608e6d571d2d91eea5f7c8fb6911d6dcfb.dif

[clang] [Clang] Implement P2308R1 - Template Parameter Initialization. (PR #73103)

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

[clang] [clang][bpf] Fix invalid RUN lines in stack protector warning test (PR #65251)

2023-11-30 Thread via cfe-commits
eddyz87 wrote: > @eddyz87 ping! @DavidSpickett, my apologies, I messed up my notification settings. Thank you for fixing this test. https://github.com/llvm/llvm-project/pull/65251 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.l

[clang] 812dad5 - [Driver] Remove support for FreeBSD 11.x (#73392)

2023-11-30 Thread via cfe-commits
Author: Brad Smith Date: 2023-11-30T17:58:09-05:00 New Revision: 812dad536ed50abe94d6e2b2519f351791c24c59 URL: https://github.com/llvm/llvm-project/commit/812dad536ed50abe94d6e2b2519f351791c24c59 DIFF: https://github.com/llvm/llvm-project/commit/812dad536ed50abe94d6e2b2519f351791c24c59.diff LO

[flang] [libcxx] [libunwind] [libc] [llvm] [clang] [lld] [lldb] [clang-tools-extra] [compiler-rt] Fix clang to recognize new C23 modifiers %w and %wf when printing (PR #71771)

2023-11-30 Thread via cfe-commits
https://github.com/ZijunZhaoCCK updated https://github.com/llvm/llvm-project/pull/71771 >From 06c4cf02dfb4b20c8349c5f3c7209276f6d56edf Mon Sep 17 00:00:00 2001 From: zijunzhao Date: Thu, 9 Nov 2023 02:21:46 + Subject: [PATCH 1/3] Fix clang to recognize new C23 modifiers %w and %wf when pri

[clang] cfe1ece - [clang][llvm][fatlto] Avoid cloning modules in FatLTO (#72180)

2023-11-30 Thread via cfe-commits
Author: Paul Kirth Date: 2023-11-30T17:09:34-08:00 New Revision: cfe1ece833d643921da2735cd80e32b32ef170fb URL: https://github.com/llvm/llvm-project/commit/cfe1ece833d643921da2735cd80e32b32ef170fb DIFF: https://github.com/llvm/llvm-project/commit/cfe1ece833d643921da2735cd80e32b32ef170fb.diff LO

[clang] Thread safety analysis: Fix a bug in handling temporary constructors (PR #74020)

2023-11-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-clang-analysis Author: Ziqing Luo (ziqingluo-90) Changes The commit 54bfd04846156dbd5e0a6b88f539c3d4569a455f introduces general handling of constructor and destructor calls. Consider a pair of TEMPORARY constructor and destr

[clang] Thread safety analysis: Fix a bug in handling temporary constructors (PR #74020)

2023-11-30 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 668a4a238045e7f300b771f7e4cfa723d8bde237 ecb13c381d99010dc04a2da4e945dfd1132777fd --

[clang] [Clang] Remove NetBSD workaround for FP eval method with older versions (PR #74025)

2023-11-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-backend-x86 Author: Brad Smith (brad0) Changes NetBSD 7.x is long EoL. Make 8.x the minimum. --- Full diff: https://github.com/llvm/llvm-project/pull/74025.diff 2 Files Affected: - (modified) clang/lib/Basic/Targets/X86.h (

[llvm] [clang] [mlir] [openmp] [OpenMP] Introduce the KernelLaunchEnvironment as implicit argument (PR #70401)

2023-11-30 Thread via cfe-commits
dhruvachak wrote: After https://github.com/llvm/llvm-project/pull/73864, only reduction kernels may have the additional data submit for the kernel launch environment. If you have an INFO message like in https://github.com/llvm/llvm-project/pull/74030, you will see this additional INFO message

[libcxx] [compiler-rt] [openmp] [libc] [lld] [libunwind] [clang-tools-extra] [clang] [libcxxabi] [llvm] [mlir] [lldb] [flang] Fix Logical expression used for merged conditional if in FlattenCFG pass (

2023-11-30 Thread via cfe-commits
https://github.com/mahtohappy updated https://github.com/llvm/llvm-project/pull/72522 Sorry, this diff is unavailable. ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [openmp] [OpenMP] return empty stmt for `nothing` (PR #74042)

2023-11-30 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Sandeep Kosuri (sandeepkosuri) Changes - `nothing` directive was effecting the `if` block structure which it should not. So return an empty statement instead of an error statement while parsing to avoid this. --- Full diff: https://githu

[clang] c1ad363 - [clang] Use the materialized temporary's type while creating the APValue (#73355)

2023-11-30 Thread via cfe-commits
Author: Younan Zhang Date: 2023-12-01T15:20:04+08:00 New Revision: c1ad363e6eba308fa94c47374ee98b3c79693a35 URL: https://github.com/llvm/llvm-project/commit/c1ad363e6eba308fa94c47374ee98b3c79693a35 DIFF: https://github.com/llvm/llvm-project/commit/c1ad363e6eba308fa94c47374ee98b3c79693a35.diff

[clang] d56e0d0 - clang/OpenCL: set sqrt fp accuracy on call to Z4sqrt (#66651)

2023-11-30 Thread via cfe-commits
Author: Romaric Jodin Date: 2023-12-01T16:34:44+09:00 New Revision: d56e0d07cc5ee8e334fd1ad403eef0b1a771384f URL: https://github.com/llvm/llvm-project/commit/d56e0d07cc5ee8e334fd1ad403eef0b1a771384f DIFF: https://github.com/llvm/llvm-project/commit/d56e0d07cc5ee8e334fd1ad403eef0b1a771384f.diff

[llvm] [clang] [ASAN] For Asan instrumented global, emit two symbols, one with actual size and other with instrumented size. (PR #70166)

2023-12-01 Thread via cfe-commits
https://github.com/skc7 updated https://github.com/llvm/llvm-project/pull/70166 >From dcb104a61666e75b4b21b7a119524c32b22262b8 Mon Sep 17 00:00:00 2001 From: skc7 Date: Wed, 25 Oct 2023 10:46:10 +0530 Subject: [PATCH] [ASAN] For Asan instrumented globals, emit two symbols, with actual size and

[llvm] [clang] Reapply "InstCombine: Introduce SimplifyDemandedUseFPClass"" (PR #74056)

2023-12-01 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang @llvm/pr-subscribers-llvm-transforms Author: Matt Arsenault (arsenm) Changes This reverts commit ef388334ee5a3584255b9ef5b3fefdb244fa3fd7. The referenced issue violates the spec for finite-only math only by using a return value for a constant infi

[clang] [llvm] Reapply "InstCombine: Introduce SimplifyDemandedUseFPClass"" (PR #74056)

2023-12-01 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-analysis Author: Matt Arsenault (arsenm) Changes This reverts commit ef388334ee5a3584255b9ef5b3fefdb244fa3fd7. The referenced issue violates the spec for finite-only math only by using a return value for a constant infinity. If the interpretation i

<    35   36   37   38   39   40   41   42   43   44   >