https://github.com/c8ef edited https://github.com/llvm/llvm-project/pull/116822
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/c8ef closed https://github.com/llvm/llvm-project/pull/116822
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -765,3 +765,11 @@ constexpr long long reduceMulLong2 =
__builtin_reduce_mul((vector4long){(1LL <<
// expected-note@-1 {{outside the range of representable values of type 'long
long'}}
static_assert(__builtin_reduce_mul((vector4uint){~0U, 1, 1, 2}) == ~0U - 1);
static_asser
https://github.com/Fznamznon approved this pull request.
Thanks!
https://github.com/llvm/llvm-project/pull/116822
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/c8ef updated https://github.com/llvm/llvm-project/pull/116822
>From 5923208aebdaae2a7a121a1378a911b7f13f1f3e Mon Sep 17 00:00:00 2001
From: c8ef
Date: Tue, 19 Nov 2024 23:07:43 +0800
Subject: [PATCH 1/2] constexpr reduce and
---
clang/docs/ReleaseNotes.rst |
@@ -765,3 +765,11 @@ constexpr long long reduceMulLong2 =
__builtin_reduce_mul((vector4long){(1LL <<
// expected-note@-1 {{outside the range of representable values of type 'long
long'}}
static_assert(__builtin_reduce_mul((vector4uint){~0U, 1, 1, 2}) == ~0U - 1);
static_asser
https://github.com/c8ef edited https://github.com/llvm/llvm-project/pull/116822
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits