[clang] [llvm] Adding splitdouble HLSL function (PR #109331)

2024-09-28 Thread via cfe-commits
@@ -3,12 +3,12 @@ // Supported targets // -// RUN: %clang -target dxil-unknown-shadermodel6.2-compute %s -S -o /dev/null 2>&1 | FileCheck --allow-empty --check-prefix=CHECK-VALID %s -// RUN: %clang -target spirv-unknown-vulkan-compute %s -S -o /dev/null 2>&1 | FileCheck --al

[clang] [clang] Fix the local parameter of void type inside the `Requires` expression. (PR #109831)

2024-09-28 Thread via cfe-commits
c8ef wrote: ``` // C++23 [dcl.fct]p6: // An explicit-object-parameter-declaration is a parameter-declaration // with a this specifier. An explicit-object-parameter-declaration // shall appear only as the first parameter-declaration of a // parameter-declarati

[clang] [NFC] Correct the misuse of the API in the Clang test-report script. (PR #108725)

2024-09-28 Thread via cfe-commits
c8ef wrote: Hi @tru @nikic, if the patch looks good to you, could you please land it for me? Thanks! https://github.com/llvm/llvm-project/pull/108725 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listin

[clang] [llvm] [LoongArch] [CodeGen] Add options for Clang to generate LoongArch-specific frecipe & frsqrte instructions (PR #109917)

2024-09-28 Thread via cfe-commits
https://github.com/tangaac updated https://github.com/llvm/llvm-project/pull/109917 >From b720995dad35236f23681b3cc895f7aea9cc3147 Mon Sep 17 00:00:00 2001 From: tangaac Date: Wed, 25 Sep 2024 11:32:37 +0800 Subject: [PATCH 1/2] [LoongArch] Add options for Clang to generate LoongArch-specific

[clang] [clang-format] Fix a bug in annotating angles containing FatArrow (PR #108671)

2024-09-28 Thread Owen Pan via cfe-commits
@@ -243,14 +244,16 @@ class AnnotatingParser { // operator that was misinterpreted because we are parsing template // parameters. // FIXME: This is getting out of hand, write a decent parser. - if (InExpr && !Line.startsWith(tok::kw_template) && + if

[clang] c2a37e4 - [clang][bytecode] Implement fixed point casts (#110409)

2024-09-28 Thread via cfe-commits
Author: Timm Baeder Date: 2024-09-29T08:58:21+02:00 New Revision: c2a37e41b9f9f5e28339674dbdc656bc8a0bf708 URL: https://github.com/llvm/llvm-project/commit/c2a37e41b9f9f5e28339674dbdc656bc8a0bf708 DIFF: https://github.com/llvm/llvm-project/commit/c2a37e41b9f9f5e28339674dbdc656bc8a0bf708.diff L

[clang] bf9ab0b - [C++20] [Modules] Emit implicit Deduction Guide for implicit class specialization

2024-09-28 Thread Chuanqi Xu via cfe-commits
Author: Chuanqi Xu Date: 2024-09-29T10:38:05+08:00 New Revision: bf9ab0b7c3ba1d4a89a3dd9b00909ad3cfab3d48 URL: https://github.com/llvm/llvm-project/commit/bf9ab0b7c3ba1d4a89a3dd9b00909ad3cfab3d48 DIFF: https://github.com/llvm/llvm-project/commit/bf9ab0b7c3ba1d4a89a3dd9b00909ad3cfab3d48.diff LO

[clang] [clang][bytecode] Implement fixed point casts (PR #110409)

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

[clang] [llvm] [LoongArch] [CodeGen] Add options for Clang to generate LoongArch-specific frecipe & frsqrte instructions (PR #109917)

2024-09-28 Thread via cfe-commits
@@ -251,6 +251,20 @@ void loongarch::getLoongArchTargetFeatures(const Driver &D, } else /*-mno-lasx*/ Features.push_back("-lasx"); } + + // Select frecipe feature determined by -m[no-]frecipe. + if (const Arg *A = + Args.getLastArg(options::OPT_mfrecipe,

[clang-tools-extra] [clangd] [C++20] [Modules] Support code complete for C++20 modules (PR #110083)

2024-09-28 Thread Chuanqi Xu via cfe-commits
https://github.com/ChuanqiXu9 updated https://github.com/llvm/llvm-project/pull/110083 >From e35e600159c99736de7d2bc735c738002f592988 Mon Sep 17 00:00:00 2001 From: Chuanqi Xu Date: Thu, 26 Sep 2024 13:43:51 +0800 Subject: [PATCH 1/3] [clangd] [C++20] [Modules] Support code complete for C++20

[clang-tools-extra] [clangd] [C++20] [Modules] Support code complete for C++20 modules (PR #110083)

2024-09-28 Thread Chuanqi Xu via cfe-commits
@@ -2108,7 +2116,7 @@ class CodeCompleteFlow { } // namespace -clang::CodeCompleteOptions CodeCompleteOptions::getClangCompleteOpts() const { +clang::CodeCompleteOptions CodeCompleteOptions::getClangCompleteOpts(bool ForceLoadExternal) const { ChuanqiXu9 wro

[clang] [clang] Finish implementation of P0522 (PR #96023)

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

[clang] [llvm] [clang][ci] Move libc++ testing into the main PR pipeline (PR #93318)

2024-09-28 Thread Vlad Serebrennikov via cfe-commits
@@ -231,6 +245,10 @@ linux_projects_to_test=$(exclude-linux $(compute-projects-to-test ${modified_pro linux_check_targets=$(check-targets ${linux_projects_to_test} | sort | uniq) linux_projects=$(add-dependencies ${linux_projects_to_test} | sort | uniq) +linux_runtimes_to_tes

[clang] [llvm] [clang][ci] Move libc++ testing into the main PR pipeline (PR #93318)

2024-09-28 Thread Vlad Serebrennikov via cfe-commits
https://github.com/Endilll edited https://github.com/llvm/llvm-project/pull/93318 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] defead4 - [clang][bytecode] Implement fixed-point add (#110405)

2024-09-28 Thread via cfe-commits
Author: Timm Baeder Date: 2024-09-29T07:13:17+02:00 New Revision: defead4d2dfc18fe423792005e99edc7b14edf2f URL: https://github.com/llvm/llvm-project/commit/defead4d2dfc18fe423792005e99edc7b14edf2f DIFF: https://github.com/llvm/llvm-project/commit/defead4d2dfc18fe423792005e99edc7b14edf2f.diff L

[clang] [clang][bytecode] Implement fixed-point add (PR #110405)

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

[clang] [llvm] [clang][ci] Move libc++ testing into the main PR pipeline (PR #93318)

2024-09-28 Thread Mehdi Amini via cfe-commits
@@ -231,6 +245,10 @@ linux_projects_to_test=$(exclude-linux $(compute-projects-to-test ${modified_pro linux_check_targets=$(check-targets ${linux_projects_to_test} | sort | uniq) linux_projects=$(add-dependencies ${linux_projects_to_test} | sort | uniq) +linux_runtimes_to_tes

[clang] [clang] Fix the local parameter of void type inside the `Requires` expression. (PR #109831)

2024-09-28 Thread via cfe-commits
c8ef wrote: I have another simple question: If an explicit-object-parameter-declaration appears in the parameter list, should the requires expression evaluate to false? All three compilers I've tested seem to evaluate it to true, but I'm unsure if this is the correct behavior. ``` static_asse

[clang] [llvm] Adding splitdouble HLSL function (PR #109331)

2024-09-28 Thread via cfe-commits
@@ -3,12 +3,12 @@ // Supported targets // -// RUN: %clang -target dxil-unknown-shadermodel6.2-compute %s -S -o /dev/null 2>&1 | FileCheck --allow-empty --check-prefix=CHECK-VALID %s -// RUN: %clang -target spirv-unknown-vulkan-compute %s -S -o /dev/null 2>&1 | FileCheck --al

[clang] [llvm] [cuda][HIP] `__constant__` should imply constant (PR #110182)

2024-09-28 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux-android` running on `sanitizer-buildbot-android` while building `clang,llvm` at step 2 "annotate". Full details are available at: https://lab.llvm.org/buildbot/#/builders/186/builds/2761 Here is the r

[clang] [llvm] workflows/release-binaries: Use static ZSTD on macOS (PR #109909)

2024-09-28 Thread Keith Smiley via cfe-commits
https://github.com/keith updated https://github.com/llvm/llvm-project/pull/109909 >From 4676d022d971ef1623b83a2731ce94572905d6ad Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Wed, 25 Sep 2024 05:38:04 + Subject: [PATCH 1/3] workflows/release-binaries: Use static ZSTD on macOS On macOS

[clang] [clang] Redeclare function templates instances per primary template (PR #110387)

2024-09-28 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov updated https://github.com/llvm/llvm-project/pull/110387 >From ee9ef305403cbcdf004e9777feab44689bf579a4 Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Sat, 28 Sep 2024 14:28:58 -0300 Subject: [PATCH] [clang] Redeclare function templates instances per primary t

[clang] [clang] Improve deduction of reference typed NTTP (PR #110393)

2024-09-28 Thread Matheus Izvekov via cfe-commits
https://github.com/mizvekov updated https://github.com/llvm/llvm-project/pull/110393 >From a06cdbc7a2d010a3f3081b7eb53326aeb7a702b1 Mon Sep 17 00:00:00 2001 From: Matheus Izvekov Date: Sat, 28 Sep 2024 21:40:54 -0300 Subject: [PATCH] [clang] Improve deduction of reference typed NTTP This impro

[clang] 7883b02 - [ItaniumMangle] Add substitutions for record types when mangling vtables (#109970)

2024-09-28 Thread via cfe-commits
Author: tcwzxx Date: 2024-09-29T11:43:28+08:00 New Revision: 7883b028b42df7b763cae20d8ff56233bee4beb6 URL: https://github.com/llvm/llvm-project/commit/7883b028b42df7b763cae20d8ff56233bee4beb6 DIFF: https://github.com/llvm/llvm-project/commit/7883b028b42df7b763cae20d8ff56233bee4beb6.diff LOG: [

[clang] [ItaniumMangle] Add substitutions for record types when mangling vtables (PR #109970)

2024-09-28 Thread via cfe-commits
https://github.com/tcwzxx closed https://github.com/llvm/llvm-project/pull/109970 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [ItaniumMangle] Add substitutions for record types when mangling vtables (PR #109970)

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

[clang] [clang] Improve deduction of reference typed NTTP (PR #110393)

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

[clang-tools-extra] [clangd] Implement simple folding of preprocessor branches (PR #80592)

2024-09-28 Thread Tor Shepherd via cfe-commits
torshepherd wrote: Darn, this was just closed last week as I put up an issue https://github.com/llvm/llvm-project/issues/110390 😭 Clang-pseudo was just removed: https://github.com/llvm/llvm-project/pull/80081#issuecomment-2361060164 Is the plan to refactor now and re-put this up? https://g

[clang] [clang][bytecode] Implement fixed-point add (PR #110405)

2024-09-28 Thread Timm Baeder via cfe-commits
https://github.com/tbaederr created https://github.com/llvm/llvm-project/pull/110405 None >From 58de93b574d2b8e47d830b79a136521c10eca1c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Sun, 29 Sep 2024 06:12:01 +0200 Subject: [PATCH] [clang][bytecode] Implement fixed-point a

[clang] [clang][bytecode] Implement fixed-point add (PR #110405)

2024-09-28 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Timm Baeder (tbaederr) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/110405.diff 4 Files Affected: - (modified) clang/lib/AST/ByteCode/Compiler.cpp (+3) - (modified) clang/lib/AST/ByteCode/FixedPoint.h (+35-1) - (m

[clang] [llvm] Adding splitdouble HLSL function (PR #109331)

2024-09-28 Thread Chris B via cfe-commits
@@ -3,12 +3,12 @@ // Supported targets // -// RUN: %clang -target dxil-unknown-shadermodel6.2-compute %s -S -o /dev/null 2>&1 | FileCheck --allow-empty --check-prefix=CHECK-VALID %s -// RUN: %clang -target spirv-unknown-vulkan-compute %s -S -o /dev/null 2>&1 | FileCheck --al

<    1   2