7762
-Original Message-
From:
Sent: Mon, 26 Aug 2024 22:52:07 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2076?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Mon, 26 Aug 2024 22:52:38 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2077?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Mon, 26 Aug 2024 23:38:25 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2079?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 00:01:46 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2080?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 00:02:38 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2081?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 00:13:59 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2082?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 00:44:38 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2084?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 01:02:35 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2085?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 02:06:41 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2087?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 02:13:57 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2088?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 02:32:24 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2090?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 02:38:45 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2091?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 02:44:17 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2092?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 02:49:34 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2093?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 02:51:01 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2094?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 02:53:22 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2095?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 02:57:51 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2097?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 03:04:49 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2098?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 03:12:00 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2099?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 03:18:22 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2100?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 03:20:33 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2101?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 04:20:24 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2103?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
STOP
-Original Message-
From:
Sent: Mon, 26 Aug 2024 20:21:39 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2070?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
STOP
-Original Message-
From:
Sent: Mon, 26 Aug 2024 20:46:37 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2071?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
STOP
-Original Message-
From:
Sent: Mon, 26 Aug 2024 20:46:37 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2071?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via th
STOP
-Original Message-
From:
Sent: Mon, 26 Aug 2024 20:46:37 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2071?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via th
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 04:22:16 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2104?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
STOP
-Original Message-
From:
Sent: Tue, 27 Aug 2024 04:22:16 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2104?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
STOP
-Original Message-
From:
Sent: Tue, 27 Aug 2024 04:23:56 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2105?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
STOP
-Original Message-
From:
Sent: Tue, 27 Aug 2024 03:18:22 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2100?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
STOP
-Original Message-
From:
Sent: Tue, 27 Aug 2024 04:28:11 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2107?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
budimirarandjelovichtec wrote:
ping @AaronBallman @aaronpuchert @vitalybuka @Endilll
https://github.com/llvm/llvm-project/pull/105479
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/necto edited https://github.com/llvm/llvm-project/pull/106048
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/necto updated
https://github.com/llvm/llvm-project/pull/106048
>From 7d5ae515f7727de98e7e8ce2f259e579a1f24463 Mon Sep 17 00:00:00 2001
From: Arseniy Zaostrovnykh
Date: Tue, 20 Aug 2024 17:31:11 +0200
Subject: [PATCH 1/8] [analyzer] Report violations of the "returns_nonnull"
JonPsson1 wrote:
> The JIT tests should be fixed so that they reflect what a front-end developer
> should actually emit as LLVM IR.
Do you mean this specifically for clang-repl, or all of them? Please give some
more details (following from previous discussions here and on discourse - see
link
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 04:41:44 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2108?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
STOP
-Original Message-
From:
Sent: Tue, 27 Aug 2024 04:41:44 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2108?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
https://github.com/cor3ntin approved this pull request.
I guess git is too confused to see through the rename. Oh well.
Changes LGTM anyway
https://github.com/llvm/llvm-project/pull/106198
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https:/
@@ -402,9 +402,16 @@ void PPCTargetInfo::getTargetDefines(const LangOptions
&Opts,
Builder.defineMacro("__VEC__", "10206");
Builder.defineMacro("__ALTIVEC__");
}
- if (HasSPE) {
+ if (HasSPE)
Builder.defineMacro("__SPE__");
+ if (HasSPE || FloatABI == SoftFlo
steakhal wrote:
I'm good now with the change, but I want both @Xazax-hun and @haoNoQ to accept
this PR before landing.
https://github.com/llvm/llvm-project/pull/67352
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-b
https://github.com/dtcxzyw approved this pull request.
LGTM.
https://github.com/llvm/llvm-project/pull/97762
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -5921,6 +5921,63 @@ void computeKnownFPClass(const Value *V, const APInt
&DemandedElts,
break;
}
+ case Instruction::BitCast: {
+const Value *Src;
+if (!match(Op, m_ElementWiseBitCast(m_Value(Src))) ||
+!Src->getType()->isIntOrIntVectorTy())
+ b
https://github.com/dtcxzyw edited
https://github.com/llvm/llvm-project/pull/97762
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -5921,6 +5921,63 @@ void computeKnownFPClass(const Value *V, const APInt
&DemandedElts,
break;
}
+ case Instruction::BitCast: {
+const Value *Src;
+if (!match(Op, m_ElementWiseBitCast(m_Value(Src))) ||
+!Src->getType()->isIntOrIntVectorTy())
+ b
dtcxzyw wrote:
Please update these failed tests:
> Failed Tests (2):
LLVM :: CodeGen/AMDGPU/anyext.ll
LLVM :: CodeGen/AMDGPU/fneg-modifier-casting.ll
https://github.com/llvm/llvm-project/pull/97762
___
cfe-commits mailing list
cfe-commits@lists.l
@@ -0,0 +1,806 @@
+/*===--- avx10_2satcvtdsintrin.h - AVX512SATCVTDS 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: Ap
@@ -374,13 +395,13 @@ void StackAddrEscapeChecker::checkEndFunction(const
ReturnStmt *RS,
// Generate a report for this bug.
const StringRef CommonSuffix =
-"upon returning to the caller. This will be a dangling reference";
+" upon returning to the ca
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 05:22:34 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2110?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
STOP
-Original Message-
From:
Sent: Tue, 27 Aug 2024 05:22:34 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2110?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 05:18:34 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2109?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
STOP
-Original Message-
From:
Sent: Tue, 27 Aug 2024 05:18:34 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2109?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
@@ -374,13 +395,13 @@ void StackAddrEscapeChecker::checkEndFunction(const
ReturnStmt *RS,
// Generate a report for this bug.
const StringRef CommonSuffix =
-"upon returning to the caller. This will be a dangling reference";
+" upon returning to the ca
https://github.com/necto edited https://github.com/llvm/llvm-project/pull/105652
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/necto edited https://github.com/llvm/llvm-project/pull/105652
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jurahul updated
https://github.com/llvm/llvm-project/pull/105745
>From 5cfd34a7f0177b52d4616f3c3e03e2ae14bfaae8 Mon Sep 17 00:00:00 2001
From: Rahul Joshi
Date: Thu, 22 Aug 2024 08:47:02 -0700
Subject: [PATCH] [Support] Detect invalid formatv() calls
- Detect formatv() calls
Author: Arseniy Zaostrovnykh
Date: 2024-08-27T14:41:52+02:00
New Revision: 4f33e7c683104ea72e013d4ddd104b711a25d620
URL:
https://github.com/llvm/llvm-project/commit/4f33e7c683104ea72e013d4ddd104b711a25d620
DIFF:
https://github.com/llvm/llvm-project/commit/4f33e7c683104ea72e013d4ddd104b711a25d62
https://github.com/steakhal closed
https://github.com/llvm/llvm-project/pull/106048
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jurahul updated
https://github.com/llvm/llvm-project/pull/105745
>From d834ebbc8f34143ccaf905c82257742dea61ea9e Mon Sep 17 00:00:00 2001
From: Rahul Joshi
Date: Thu, 22 Aug 2024 08:47:02 -0700
Subject: [PATCH] [Support] Detect invalid formatv() calls
- Detect formatv() calls
github-actions[bot] wrote:
⚠️ We detected that you are using a GitHub private e-mail address to contribute
to the repo. Please turn off [Keep my email addresses
private](https://github.com/settings/emails) setting in your account. See
[LLVM
Discourse](https://discourse.llvm.org/t/hidden-email
Author: Daniel Grumberg
Date: 2024-08-27T13:50:41+01:00
New Revision: b1b24d751776d5fd2218a5cb43a8d103bf59fa32
URL:
https://github.com/llvm/llvm-project/commit/b1b24d751776d5fd2218a5cb43a8d103bf59fa32
DIFF:
https://github.com/llvm/llvm-project/commit/b1b24d751776d5fd2218a5cb43a8d103bf59fa32.dif
https://github.com/daniel-grumberg closed
https://github.com/llvm/llvm-project/pull/105868
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
cor3ntin wrote:
Neither GCC, EDG nor MSVC agree with us https://godbolt.org/z/Wqrhnz63a
The behavior of GCC is a bit weird but I am pretty sure the last two tests
should pass
@hubert-reinterpretcast
https://github.com/llvm/llvm-project/pull/96301
___
https://github.com/cor3ntin approved this pull request.
https://github.com/llvm/llvm-project/pull/102581
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -9888,6 +9888,9 @@ static ExprResult convertVector(Expr *E, QualType
ElementType, Sema &S) {
/// IntTy without losing precision.
static bool canConvertIntToOtherIntTy(Sema &S, ExprResult *Int,
QualType OtherIntTy) {
+ if (Int->get()->i
STOP
-Original Message-
From:
Sent: Tue, 27 Aug 2024 05:41:54 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2112?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 05:41:54 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2112?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
https://github.com/necto updated
https://github.com/llvm/llvm-project/pull/105648
>From 991f176c5545fedae2ba8b5c1b357734abe68ac7 Mon Sep 17 00:00:00 2001
From: Arseniy Zaostrovnykh
Date: Tue, 20 Aug 2024 11:16:10 +0200
Subject: [PATCH 1/3] [analyzer] Detect leaks on top-level via output params,
@@ -424,6 +481,9 @@ void StackAddrEscapeChecker::checkEndFunction(const
ReturnStmt *RS,
for (const auto &P : Cb.V) {
const MemRegion *Referrer = P.first->getBaseRegion();
const MemRegion *Referred = P.second;
+if (Cb.ExcludedRegions.contains(getOriginBaseRegion(R
https://github.com/necto updated
https://github.com/llvm/llvm-project/pull/105648
>From 991f176c5545fedae2ba8b5c1b357734abe68ac7 Mon Sep 17 00:00:00 2001
From: Arseniy Zaostrovnykh
Date: Tue, 20 Aug 2024 11:16:10 +0200
Subject: [PATCH 1/4] [analyzer] Detect leaks on top-level via output params,
@@ -305,6 +305,14 @@ static const MemSpaceRegion
*getStackOrGlobalSpaceRegion(const MemRegion *R) {
return nullptr;
}
+const MemRegion *getOriginBaseRegion(const MemRegion *Referrer) {
+ Referrer = Referrer->getBaseRegion();
+ while (const auto *SymReg = dyn_cast(Referrer
https://github.com/hazzlim closed
https://github.com/llvm/llvm-project/pull/105496
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/alexrp updated
https://github.com/llvm/llvm-project/pull/106012
From 4f766ab372d064ceb0adf2eebdc1c64a9e91c825 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?=
Date: Sun, 25 Aug 2024 22:47:37 +0200
Subject: [PATCH] [clang][Driver] Define soft float macro
@@ -402,9 +402,16 @@ void PPCTargetInfo::getTargetDefines(const LangOptions
&Opts,
Builder.defineMacro("__VEC__", "10206");
Builder.defineMacro("__ALTIVEC__");
}
- if (HasSPE) {
+ if (HasSPE)
Builder.defineMacro("__SPE__");
+ if (HasSPE || FloatABI == SoftFlo
kito-cheng wrote:
A test case will crash, missing `+` before `zbc`:
```
__attribute__((target_clones("default", "arch=+zbb,zbc;priority=-1",
"priority=-2;arch=+zba", "priority=3;arch=+zbb,+zba"))) int foo1(void) { return
2; }
int bar() { return foo1(); }
```
```
$ clang -cc1 -triple riscv64-
@@ -910,3 +910,313 @@ multiclass avx10_convert_2op_nomb,
AVX512XDIi8Base, T_MAP5, EVEX, EVEX_CD8<16, CD8VH>;
+
+//-
+// AVX10 BF16 instructions
+//-
+
+// VADDNEPBF16
@@ -910,3 +910,313 @@ multiclass avx10_convert_2op_nomb,
AVX512XDIi8Base, T_MAP5, EVEX, EVEX_CD8<16, CD8VH>;
+
+//-
+// AVX10 BF16 instructions
+//-
+
+// VADDNEPBF16
@@ -910,3 +910,313 @@ multiclass avx10_convert_2op_nomb,
AVX512XDIi8Base, T_MAP5, EVEX, EVEX_CD8<16, CD8VH>;
+
+//-
+// AVX10 BF16 instructions
+//-
+
+// VADDNEPBF16
@@ -910,3 +910,313 @@ multiclass avx10_convert_2op_nomb,
AVX512XDIi8Base, T_MAP5, EVEX, EVEX_CD8<16, CD8VH>;
+
+//-
+// AVX10 BF16 instructions
+//-
+
+// VADDNEPBF16
@@ -910,3 +910,313 @@ multiclass avx10_convert_2op_nomb,
AVX512XDIi8Base, T_MAP5, EVEX, EVEX_CD8<16, CD8VH>;
+
+//-
+// AVX10 BF16 instructions
+//-
+
+// VADDNEPBF16
@@ -0,0 +1,1054 @@
+// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s
-triple=x86_64 -target-feature +avx10.2-512 -emit-llvm -o -
-Wno-invalid-feature-combination -Wall -Werror | FileCheck %s
+// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s
-
@@ -0,0 +1,565 @@
+/*===--- avx10_2_512bf16intrin.h - AVX10-BF16 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: Apache
@@ -14836,6 +14837,9 @@ Value *CodeGenFunction::EmitX86BuiltinExpr(unsigned
BuiltinID,
case X86::BI__builtin_ia32_vfmaddph512_mask:
case X86::BI__builtin_ia32_vfmaddph512_maskz:
case X86::BI__builtin_ia32_vfmaddph512_mask3:
+ case X86::BI__builtin_ia32_vfmaddnepbh128:
+
@@ -910,3 +910,313 @@ multiclass avx10_convert_2op_nomb,
AVX512XDIi8Base, T_MAP5, EVEX, EVEX_CD8<16, CD8VH>;
+
+//-
+// AVX10 BF16 instructions
+//-
+
+// VADDNEPBF16
@@ -7219,3 +7219,413 @@ def int_x86_avx10_mask_vcvtneph2hf8s512 :
ClangBuiltin<"__builtin_ia32_vcvtneph2
DefaultAttrsIntrinsic<[llvm_v32i8_ty], [llvm_v32f16_ty, llvm_v32i8_ty,
llvm_i32_ty],
[IntrNoMem]>;
}
+
+//===
@@ -910,3 +910,313 @@ multiclass avx10_convert_2op_nomb,
AVX512XDIi8Base, T_MAP5, EVEX, EVEX_CD8<16, CD8VH>;
+
+//-
+// AVX10 BF16 instructions
+//-
+
+// VADDNEPBF16
@@ -910,3 +910,313 @@ multiclass avx10_convert_2op_nomb,
AVX512XDIi8Base, T_MAP5, EVEX, EVEX_CD8<16, CD8VH>;
+
+//-
+// AVX10 BF16 instructions
+//-
+
+// VADDNEPBF16
@@ -910,3 +910,313 @@ multiclass avx10_convert_2op_nomb,
AVX512XDIi8Base, T_MAP5, EVEX, EVEX_CD8<16, CD8VH>;
+
+//-
+// AVX10 BF16 instructions
+//-
+
+// VADDNEPBF16
@@ -147,11 +147,13 @@ set(x86_files
amxcomplexintrin.h
amxfp16intrin.h
amxintrin.h
+ avx10_2_512bf16intrin.h
avx10_2_512convertintrin.h
avx10_2_512minmaxintrin.h
avx10_2_512niintrin.h
avx10_2_512satcvtintrin.h
avx10_2convertintrin.h
+ avx10_2bf16intrin.h
@@ -313,7 +313,7 @@ def v32i16_info : X86VectorVTInfo<32, i16, VR512, "w">;
def v16i32_info : X86VectorVTInfo<16, i32, VR512, "d">;
def v8i64_info : X86VectorVTInfo<8, i64, VR512, "q">;
def v32f16_info : X86VectorVTInfo<32, f16, VR512, "ph">;
-def v32bf16_info: X86VectorVTInf
@@ -211,6 +211,12 @@ def X86CmpMaskCC :
SDTypeProfile<1, 3, [SDTCisVec<0>, SDTCVecEltisVT<0, i1>,
SDTCisVec<1>, SDTCisSameAs<2, 1>,
SDTCisSameNumEltsAs<0, 1>, SDTCisVT<3, i8>]>;
+
+def X86CmpMaskCC_Int :
+ SDTypeProfile<1
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 06:50:44 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2121?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
STOP
-Original Message-
From:
Sent: Tue, 27 Aug 2024 06:50:44 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2121?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 06:50:44 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2122?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
STOP
-Original Message-
From:
Sent: Tue, 27 Aug 2024 06:50:44 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2122?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7752
-Original Message-
From:
Sent: Tue, 27 Aug 2024 06:50:44 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2120?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
STOP
-Original Message-
From:
Sent: Tue, 27 Aug 2024 06:50:44 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2120?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 06:50:36 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2119?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
STOP
-Original Message-
From:
Sent: Tue, 27 Aug 2024 06:50:36 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2119?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Tue, 27 Aug 2024 06:52:05 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2123?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
STOP
-Original Message-
From:
Sent: Tue, 27 Aug 2024 06:52:05 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2123?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
101 - 200 of 557 matches
Mail list logo