[clang] [clang] constexpr built-in reduce `or` and `xor` function. (PR #116976)

2024-11-21 Thread via cfe-commits
https://github.com/c8ef closed https://github.com/llvm/llvm-project/pull/116976 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] constexpr built-in reduce `or` and `xor` function. (PR #116976)

2024-11-21 Thread via cfe-commits
https://github.com/c8ef updated https://github.com/llvm/llvm-project/pull/116976 >From 4d13a8267dd5d0e99063bb088a85406af5266c80 Mon Sep 17 00:00:00 2001 From: c8ef Date: Wed, 20 Nov 2024 22:07:35 +0800 Subject: [PATCH 1/3] constexpr reduce or/xor --- clang/docs/ReleaseNotes.rst

[clang] [clang] constexpr built-in reduce `or` and `xor` function. (PR #116976)

2024-11-21 Thread Simon Pilgrim via cfe-commits
@@ -732,6 +732,10 @@ at the end to the next power of 2. These reductions support both fixed-sized and scalable vector types. +The reduction intrinsics, including ``__builtin_reduce_add``, RKSimon wrote: "integer reduction intrinsics"? https://github.com/llv

[clang] [clang] constexpr built-in reduce `or` and `xor` function. (PR #116976)

2024-11-21 Thread Mariya Podchishchaeva via cfe-commits
https://github.com/Fznamznon approved this pull request. Thanks! https://github.com/llvm/llvm-project/pull/116976 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] constexpr built-in reduce `or` and `xor` function. (PR #116976)

2024-11-20 Thread via cfe-commits
@@ -732,6 +732,10 @@ at the end to the next power of 2. These reductions support both fixed-sized and scalable vector types. +The reduction intrinsics, including ``__builtin_reduce_add``, c8ef wrote: Added. https://github.com/llvm/llvm-project/pull/116976 _

[clang] [clang] constexpr built-in reduce `or` and `xor` function. (PR #116976)

2024-11-20 Thread via cfe-commits
https://github.com/c8ef updated https://github.com/llvm/llvm-project/pull/116976 >From 4d13a8267dd5d0e99063bb088a85406af5266c80 Mon Sep 17 00:00:00 2001 From: c8ef Date: Wed, 20 Nov 2024 22:07:35 +0800 Subject: [PATCH 1/2] constexpr reduce or/xor --- clang/docs/ReleaseNotes.rst

[clang] [clang] constexpr built-in reduce `or` and `xor` function. (PR #116976)

2024-11-20 Thread Simon Pilgrim via cfe-commits
RKSimon wrote: Please can you update the LanguageExtensions doc to mention that these are now constexpr https://github.com/llvm/llvm-project/blob/934140a3353f6d480a01a1f68d42899c926ee056/clang/docs/LanguageExtensions.rst?plain=1#L723-L765 https://github.com/llvm/llvm-project/pull/116976 __

[clang] [clang] constexpr built-in reduce `or` and `xor` function. (PR #116976)

2024-11-20 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: None (c8ef) Changes Part of #51787. Follow up of #116822. This patch adds constexpr support for the built-in reduce `or` and `xor` functions. --- Full diff: https://github.com/llvm/llvm-project/pull/116976.diff 4 Files Affected: - (mo

[clang] [clang] constexpr built-in reduce `or` and `xor` function. (PR #116976)

2024-11-20 Thread via cfe-commits
https://github.com/c8ef edited https://github.com/llvm/llvm-project/pull/116976 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] constexpr built-in reduce `or` and `xor` function. (PR #116976)

2024-11-20 Thread via cfe-commits
https://github.com/c8ef ready_for_review https://github.com/llvm/llvm-project/pull/116976 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] constexpr built-in reduce `or` and `xor` function. (PR #116976)

2024-11-20 Thread via cfe-commits
https://github.com/c8ef edited https://github.com/llvm/llvm-project/pull/116976 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits