@@ -0,0 +1,85 @@
+// RUN: %clang_cc1 -triple s390x-linux-gnu \
+// RUN: -ffloat16-excess-precision=standard -emit-llvm -o - %s \
+// RUN: | FileCheck %s -check-prefix=STANDARD
+
+// RUN: %clang_cc1 -triple s390x-linux-gnu \
+// RUN: -ffloat16-excess-precision=none -emit-llvm -o -
https://github.com/keith-packard updated
https://github.com/llvm/llvm-project/pull/110928
>From 05c0a80977564496094a55ca0ca0b54b8048a30b Mon Sep 17 00:00:00 2001
From: Keith Packard
Date: Mon, 16 Sep 2024 15:41:38 +0200
Subject: [PATCH 1/5] [PowerPC][ISelLowering] Support
-mstack-protector-gua
https://github.com/kateinoigakukun updated
https://github.com/llvm/llvm-project/pull/111332
>From 605e1ad180c9f75fd59d8b783ae2041cbaf34e50 Mon Sep 17 00:00:00 2001
From: Yuta Saito
Date: Sat, 5 Oct 2024 16:54:57 +
Subject: [PATCH 1/7] [compiler-rt][profile] Add initial support for
WebAssem
@@ -0,0 +1,201 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
UTC_ARGS: --version 5
+; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z16 | FileCheck %s
+;
+; Tests for 16-bit floating point (half).
+
+; Incoming half arguments added together and
rorth wrote:
> > just leads to infinite recursion (obviously),
>
> Try casting the pointer to uintptr_t?
That just created a total mess, unfortunately, like duplicating args or
dropping the `*` from `char const *`.
> Might be simpler to mess with CXXNameMangler::mangleUnscopedName, though,
>
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: Oliver Stannard (ostannard)
Changes
This makes the test independent of the one provided by a toolchain clang is
built into, which can cause the output of
-print-multi-flags-experimental to change.
---
Full diff: https://github.com/
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Oliver Stannard (ostannard)
Changes
This makes the test independent of the one provided by a toolchain clang is
built into, which can cause the output of
-print-multi-flags-experimental to change.
---
Full diff: https://github.com/llvm/ll
https://github.com/ostannard created
https://github.com/llvm/llvm-project/pull/111352
This makes the test independent of the one provided by a toolchain clang is
built into, which can cause the output of
-print-multi-flags-experimental to change.
>From 453eefa2b9b28b3cddf5ceafdab4cdc723ef5a3c
https://github.com/pratlucas approved this pull request.
LGTM.
https://github.com/llvm/llvm-project/pull/111352
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
cor3ntin wrote:
I am happy with the direction, but I think we need changes to
ASTStmtReader::VisitParenExpr/ASTStmtWriter::VisitParenExpr
(also, I want to make sure Erich is happy too)
https://github.com/llvm/llvm-project/pull/110761
___
cfe-commits
steakhal wrote:
FYI this crashed since clang-7 I think.
https://github.com/llvm/llvm-project/pull/38
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/110761
>From 9c69d6584d6b71554aec55f0de52abb4baa9435f Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Wed, 2 Oct 2024 02:13:51 +0300
Subject: [PATCH 1/9] [Clang] omit parentheses in fold expressions with a
single
https://github.com/ivanaivanovska updated
https://github.com/llvm/llvm-project/pull/103039
>From 6d3e4470dfe21f8f3832a2d38b4c4327aa7422a3 Mon Sep 17 00:00:00 2001
From: Ivana Ivanovska
Date: Tue, 13 Aug 2024 10:30:34 +
Subject: [PATCH 1/5] Added instant events and marking defered templated
@@ -784,6 +791,20 @@ bool SystemZTargetLowering::useSoftFloat() const {
return Subtarget.hasSoftFloat();
}
+MVT SystemZTargetLowering::getRegisterTypeForCallingConv(
+ LLVMContext &Context, CallingConv::ID CC,
+ EVT VT) const {
+ // 128-bit single-element vector t
@@ -194,13 +234,17 @@ struct llvm::TimeTraceProfiler {
J.attribute("pid", Pid);
J.attribute("tid", int64_t(Tid));
J.attribute("ts", StartUs);
-if (E.AsyncEvent) {
+if (TimeTraceEventType::AsyncEvent == E.EventType) {
ivan
@@ -145,27 +180,32 @@ struct llvm::TimeTraceProfiler {
DurationType Duration = E.End - E.Start;
// Only include sections longer or equal to TimeTraceGranularity msec.
-if (duration_cast(Duration).count() >= TimeTraceGranularity)
+if (duration_cast(Duration).cou
@@ -114,27 +134,42 @@ struct llvm::TimeTraceProfiler {
llvm::get_thread_name(ThreadName);
}
- TimeTraceProfilerEntry *begin(std::string Name,
-llvm::function_ref Detail,
-bool AsyncEvent = false) {
-Sta
@@ -83,6 +83,19 @@ namespace llvm {
class raw_pwrite_stream;
+// Type of the time trace event.
+enum class TimeTraceEventType {
+ // Complete events have a duration (start and end time points) and are marked
+ // by the "X" phase type.
+ CompleteEvent,
iva
https://github.com/ritter-x2a updated
https://github.com/llvm/llvm-project/pull/91478
>From 4145231fa662dc9324443e98209c8a7c61ed2ed9 Mon Sep 17 00:00:00 2001
From: Fabian Ritter
Date: Tue, 7 May 2024 11:39:17 -0400
Subject: [PATCH] [Clang][HIP] Warn when __AMDGCN_WAVEFRONT_SIZE is used in
host
https://github.com/usx95 approved this pull request.
LGTM. Thanks.
https://github.com/llvm/llvm-project/pull/103039
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/gamesh411 edited
https://github.com/llvm/llvm-project/pull/109636
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
gamesh411 wrote:
This patch's primary driving force is reducing code duplication in
BlockInCriticalSectionChecker and PthreadLockChecker.
This is mainly NFC. The user-facing API is the same, but at least one false
positive has been fixed, and the internal state representation has changed.
htt
zmodem wrote:
@mizvekov 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
https://github.com/gamesh411 edited
https://github.com/llvm/llvm-project/pull/109636
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Endre =?utf-8?q?Fülöp?= ,
Endre =?utf-8?q?Fülöp?= ,
Endre =?utf-8?q?Fülöp?= ,
Endre =?utf-8?q?Fülöp?=
Message-ID:
In-Reply-To:
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
@llvm/pr-subscribers-clang
Author: Endre Fülöp (gamesh411)
Changes
This patch's primary driving forc
https://github.com/gamesh411 ready_for_review
https://github.com/llvm/llvm-project/pull/109636
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Simon Tatham
Date: 2024-10-07T09:32:06+01:00
New Revision: e0df221dcf5696c6e99952ee62a3b3b689433f3b
URL:
https://github.com/llvm/llvm-project/commit/e0df221dcf5696c6e99952ee62a3b3b689433f3b
DIFF:
https://github.com/llvm/llvm-project/commit/e0df221dcf5696c6e99952ee62a3b3b689433f3b.diff
Author: Simon Tatham
Date: 2024-10-07T09:32:12+01:00
New Revision: 5a9e93f39cc78276a12852bbc4d639689fe73d5a
URL:
https://github.com/llvm/llvm-project/commit/5a9e93f39cc78276a12852bbc4d639689fe73d5a
DIFF:
https://github.com/llvm/llvm-project/commit/5a9e93f39cc78276a12852bbc4d639689fe73d5a.diff
https://github.com/labrinea updated
https://github.com/llvm/llvm-project/pull/110297
>From 82047dc021979fe58001b15c740649c3d44dd23b Mon Sep 17 00:00:00 2001
From: Alexandros Lamprineas
Date: Fri, 27 Sep 2024 16:37:26 +0100
Subject: [PATCH] [FMV][AArch64] Unify features ssbs and ssbs2.
Accordin
spavloff wrote:
> This sounds like a rejection of safe-by-default.
What do you mean by "safe-by-default"? Implementation must be correct, and
produce the code that executes in accordance to standards and documentation.
Any deviation from them is an error and should be fixed. Does it mean that
https://github.com/alexey-bataev approved this pull request.
https://github.com/llvm/llvm-project/pull/111337
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Alex Bradbury
Date: 2024-10-07T11:47:15+01:00
New Revision: d9e986e915b03e2f68d9ed2b664a2511edbb6513
URL:
https://github.com/llvm/llvm-project/commit/d9e986e915b03e2f68d9ed2b664a2511edbb6513
DIFF:
https://github.com/llvm/llvm-project/commit/d9e986e915b03e2f68d9ed2b664a2511edbb6513.diff
https://github.com/asb closed https://github.com/llvm/llvm-project/pull/111337
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ostannard wrote:
Ping.
https://github.com/llvm/llvm-project/pull/109943
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Endre =?utf-8?q?Fülöp?= ,
Endre =?utf-8?q?Fülöp?= ,
Endre =?utf-8?q?Fülöp?= ,
Endre =?utf-8?q?Fülöp?=
Message-ID:
In-Reply-To:
steakhal wrote:
Usually its hard to see how the implementation changes if anyways all the
surrounding code moves.
For such changes, if the change is large (like in th
cor3ntin wrote:
Yes, it is supposed to work.
Can you look into it @mizvekov ?
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
@@ -1125,31 +1125,32 @@ int caller(void) { return
used_def_without_default_decl() + used_decl_without_de
// CHECK: attributes #[[ATTR10]] = { noinline nounwind optnone
"no-trapping-math"="true" "stack-protector-buffer-size"="8"
"target-features"="+fp-armv8,+ls64,+neon" }
// C
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-clang-modules
Author: Alex Bradbury (asb)
Changes
The size of a.pcm produced by an RV64 clang running natively is 67416 bytes,
causing this test to fail. Bump up the maximum size. The test still retains its
original intent as
https://github.com/asb created https://github.com/llvm/llvm-project/pull/111360
The size of a.pcm produced by an RV64 clang running natively is 67416 bytes,
causing this test to fail. Bump up the maximum size. The test still retains its
original intent as far as I can see, as it's really trying
Endre =?utf-8?q?F=C3=BCl=C3=B6p?= ,
Endre =?utf-8?q?F=C3=BCl=C3=B6p?= ,
Endre =?utf-8?q?F=C3=BCl=C3=B6p?= ,
Endre =?utf-8?q?F=C3=BCl=C3=B6p?=
Message-ID:
In-Reply-To:
steakhal wrote:
Should this be reviewed commit by commit?
https://github.com/llvm/llvm-project/pull/109636
___
Timm =?utf-8?q?B=C3=A4der?= ,
Timm =?utf-8?q?B=C3=A4der?= ,
Timm =?utf-8?q?B=C3=A4der?= ,
Timm =?utf-8?q?B=C3=A4der?= ,
Timm =?utf-8?q?B=C3=A4der?= ,
Timm =?utf-8?q?B=C3=A4der?=
Message-ID:
In-Reply-To:
aaronpuchert wrote:
> Is there any sort of facility to deduplicate capabilities?
The exist
@@ -337,6 +343,8 @@ Parser::ParseConceptDefinition(const ParsedTemplateInfo
&TemplateInfo,
ExprResult ConstraintExprResult =
Actions.CorrectDelayedTyposInExpr(ParseConstraintExpression());
if (ConstraintExprResult.isInvalid()) {
+if (AddedToScope)
---
https://github.com/cor3ntin approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/79
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/erichkeane approved this pull request.
This seems like a reasonable fallback, and, IMO, needs implementation
experience before WG21 sees it, so I'm in favor.
https://github.com/llvm/llvm-project/pull/107350
___
cfe-commits mailing l
https://github.com/tarunprabhu approved this pull request.
Thank you for the changes, Minato san. LGTM.
https://github.com/llvm/llvm-project/pull/110061
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/list
@@ -20224,6 +20224,8 @@ void Sema::DiagnoseEqualityWithExtraParens(ParenExpr
*ParenE) {
return;
Expr *E = ParenE->IgnoreParens();
+ if (ParenE->isProducedByFoldExpansion() && ParenE->getSubExpr() == E)
+return;
erichkeane wrote:
Woops, i see that
zyn0217 wrote:
@falbrechtskirchinger Ooops, yes, it's true that the bug is gone w/ #79.
But I'd say if we're going to cherry-pick #79, we have to backport its
precedent #103867 as well, so I think we can probably go ahead with this one
and backport it to 19, and then we can revert this
@@ -20224,6 +20224,8 @@ void Sema::DiagnoseEqualityWithExtraParens(ParenExpr
*ParenE) {
return;
Expr *E = ParenE->IgnoreParens();
+ if (ParenE->isProducedByFoldExpansion() && ParenE->getSubExpr() == E)
+return;
erichkeane wrote:
So we would expect
https://github.com/erichkeane approved this pull request.
https://github.com/llvm/llvm-project/pull/110761
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
falbrechtskirchinger wrote:
> @falbrechtskirchinger Ooops, yes, it's true that the bug is gone w/ #79.
>
> But I'd say if we're going to cherry-pick #79, we have to backport its
> precedent #103867 as well, so I think we can probably go ahead with this one
> and backport it to 19, and
zyn0217 wrote:
> To summarize: Land this PR and backport it. Revert on trunk. Submit new PR
> for the regression test? (We want to keep that, right?)
That's just my idea, and I'd like Corentin to say something about it :)
https://github.com/llvm/llvm-project/pull/110496
___
@@ -0,0 +1,24 @@
+// The -time option prints timing information for the various subcommands in a
+// format similar to that used by gcc. When compiling and linking, this will
+// include the time to call clang-${LLVM_VERSION_MAJOR} and the linker. Since
+// the name of the linker
@@ -478,3 +478,166 @@ A a{.f1 = {1}};
// CHECK-NEXT: `-DeclRefExpr {{.+}} 'int' NonTypeTemplateParm
{{.+}} 'N' 'int'
} // namespace GH83368
+
+namespace GH60777 {
+
+template constexpr bool True() { return true; }
+
+template
+ requires(sizeof(T) == 4)
+struct A {
+
Author: Simon Pilgrim
Date: 2024-10-07T17:36:18+01:00
New Revision: f07e1c86199eeac609900f42edb22e1faf461ef2
URL:
https://github.com/llvm/llvm-project/commit/f07e1c86199eeac609900f42edb22e1faf461ef2
DIFF:
https://github.com/llvm/llvm-project/commit/f07e1c86199eeac609900f42edb22e1faf461ef2.diff
@@ -4159,7 +4159,7 @@ FunctionTemplateDecl *FunctionDecl::getPrimaryTemplate()
const {
if (FunctionTemplateSpecializationInfo *Info
= TemplateOrSpecialization
.dyn_cast()) {
-return Info->getTemplate();
+return Info->getTemplate()->getMostRecentDe
@@ -177,8 +177,9 @@ class MergeInputChunk : public InputChunk {
inputSectionOffset = seg.SectionOffset;
}
- MergeInputChunk(const WasmSection &s, ObjFile *f)
dschuff wrote:
the lld changes look reasonable but /cc @sbc100 just to make sure
https://gith
@@ -584,7 +584,7 @@ void llvm_reset_counters(void) {
}
}
-#if !defined(_WIN32)
+#if !defined(_WIN32) && !defined(__wasi__)
dschuff wrote:
This probably makes sense to make `__wasm__` instead of just `__wasi__` since
Emscripten also lacks fork.
https://git
@@ -4159,7 +4159,7 @@ FunctionTemplateDecl *FunctionDecl::getPrimaryTemplate()
const {
if (FunctionTemplateSpecializationInfo *Info
= TemplateOrSpecialization
.dyn_cast()) {
-return Info->getTemplate();
+return Info->getTemplate()->getMostRecentDe
RalfJung wrote:
> Generally clang-level warnings/errors are more user friendly then the
> llvm-level errors (but both may be useful for other frontends).
What would be really nice is if the LLVM backend could tell the frontend about
the error rather than reporting it itself, that way frontends
https://github.com/ostannard closed
https://github.com/llvm/llvm-project/pull/111352
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Oliver Stannard
Date: 2024-10-07T12:33:06+01:00
New Revision: f1ec45a0b0b14d9eb41d32be98f1437b8d1d322d
URL:
https://github.com/llvm/llvm-project/commit/f1ec45a0b0b14d9eb41d32be98f1437b8d1d322d
DIFF:
https://github.com/llvm/llvm-project/commit/f1ec45a0b0b14d9eb41d32be98f1437b8d1d322d.dif
steakhal wrote:
Ping.
https://github.com/llvm/llvm-project/pull/109574
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/asb created https://github.com/llvm/llvm-project/pull/111367
We already have hard-coded logic to disable adding these tests to the
`check-all` target in various cases. It's handy to have a CMake option to
disable if in an environment where the tests don't work and you want
`
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Alex Bradbury (asb)
Changes
We already have hard-coded logic to disable adding these tests to the
`check-all` target in various cases. It's handy to have a CMake option to
disable if in an environment where the tests don't work and you wa
@@ -17256,6 +17378,56 @@ static bool ConvertAPValueToString(const APValue &V,
QualType T,
OS << "i)";
} break;
+ case APValue::ValueKind::Array:
+ case APValue::ValueKind::Vector: {
+llvm::raw_svector_ostream OS(Str);
+// we hope to emit a valid initalizer exp
@@ -17172,6 +17179,113 @@ static void WriteCharValueForDiagnostic(uint32_t
Value, const BuiltinType *BTy,
}
}
+/// A raw_ostream that clips its output beyond a certain size, inserting a
cor3ntin wrote:
I this we should move that to llvm/Support - either in
@@ -17256,6 +17378,56 @@ static bool ConvertAPValueToString(const APValue &V,
QualType T,
OS << "i)";
} break;
+ case APValue::ValueKind::Array:
+ case APValue::ValueKind::Vector: {
+llvm::raw_svector_ostream OS(Str);
+// we hope to emit a valid initalizer exp
@@ -84,6 +84,7 @@ class DiagnosticOptions : public
RefCountedBase{
DefaultMacroBacktraceLimit = 6,
DefaultTemplateBacktraceLimit = 10,
DefaultConstexprBacktraceLimit = 10,
+DefaultConstexprValueSizeLimit = 320,
cor3ntin wrote:
320?
https://gi
@@ -17256,6 +17378,56 @@ static bool ConvertAPValueToString(const APValue &V,
QualType T,
OS << "i)";
} break;
+ case APValue::ValueKind::Array:
+ case APValue::ValueKind::Vector: {
+llvm::raw_svector_ostream OS(Str);
+// we hope to emit a valid initalizer exp
@@ -711,11 +712,54 @@ void APValue::printPretty(raw_ostream &Out, const
PrintingPolicy &Policy,
case APValue::Indeterminate:
Out << "";
return;
- case APValue::Int:
+ case APValue::Int: {
+const APSInt &Val = getInt();
+if (const EnumType *ET = Ty->getAs())
https://github.com/DavidSpickett updated
https://github.com/llvm/llvm-project/pull/110239
>From 84946607fc58927b1b44da2b70566abca041bbfb Mon Sep 17 00:00:00 2001
From: David Spickett
Date: Fri, 27 Sep 2024 10:19:19 +
Subject: [PATCH 1/3] [clang][Sema] Bad register variable type error should
Author: Simon Pilgrim
Date: 2024-10-07T14:10:39+01:00
New Revision: 5dc7a5e50bd21cc818a3a71691af9780291b75b2
URL:
https://github.com/llvm/llvm-project/commit/5dc7a5e50bd21cc818a3a71691af9780291b75b2
DIFF:
https://github.com/llvm/llvm-project/commit/5dc7a5e50bd21cc818a3a71691af9780291b75b2.diff
@@ -7949,7 +7949,8 @@ NamedDecl *Sema::ActOnVariableDeclarator(
}
if (!R->isIntegralType(Context) && !R->isPointerType()) {
-Diag(D.getBeginLoc(), diag::err_asm_bad_register_type);
+Diag(TInfo->getTypeLoc().getBeginLoc(),
+ diag::err_asm
Author: Simon Pilgrim
Date: 2024-10-07T14:11:29+01:00
New Revision: 73c9ad263369ac7350d60b3d3670ea3ed56669cc
URL:
https://github.com/llvm/llvm-project/commit/73c9ad263369ac7350d60b3d3670ea3ed56669cc
DIFF:
https://github.com/llvm/llvm-project/commit/73c9ad263369ac7350d60b3d3670ea3ed56669cc.diff
https://github.com/RKSimon closed
https://github.com/llvm/llvm-project/pull/111001
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/inbelic updated
https://github.com/llvm/llvm-project/pull/111010
>From 70089645ec5cf62b491a56df96ec46f4328fbc11 Mon Sep 17 00:00:00 2001
From: Finn Plummer
Date: Thu, 3 Oct 2024 11:43:51 -0700
Subject: [PATCH 1/7] [HLSL] Implement `WaveReadLaneAt` intrinsic
- create a cl
@@ -264,6 +265,31 @@ class OpLowerer {
return lowerToBindAndAnnotateHandle(F);
}
+ Error replaceSplitDoubleCallUsages(CallInst *Intrin, CallInst *Op) {
+IRBuilder<> &IRB = OpBuilder.getIRB();
+
+for (Use &U : make_early_inc_range(Intrin->uses())) {
+ if (au
https://github.com/frederic-tingaud-sonarsource updated
https://github.com/llvm/llvm-project/pull/110666
>From be911d8d0a00d5c6d42b23b40ca6d6abec51966c Mon Sep 17 00:00:00 2001
From: Fred Tingaud
Date: Tue, 1 Oct 2024 16:10:55 +0200
Subject: [PATCH 1/2] Handle variable templates in isInstantiat
https://github.com/Bo98 created https://github.com/llvm/llvm-project/pull/111397
`clang-cl` sets the default triple to `-pc-windows-msvc`. The host triple
was however being used instead when loading config.
Move the default triple calculation earlier to handle this.
>From a3e8b860788934d7cc148
https://github.com/jplehr edited
https://github.com/llvm/llvm-project/pull/110001
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -9058,257 +9058,65 @@ void CGOpenMPRuntime::emitUserDefinedMapper(const
OMPDeclareMapperDecl *D,
return;
ASTContext &C = CGM.getContext();
QualType Ty = D->getType();
- QualType PtrTy = C.getPointerType(Ty).withRestrict();
- QualType Int64Ty = C.getIntTypeForBitwi
https://github.com/jplehr commented:
There is a nit, but I'm also not very familiar with this piece of code.
https://github.com/llvm/llvm-project/pull/110001
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: Bo Anderson (Bo98)
Changes
`clang-cl` sets the default triple to `-pc-windows-msvc`. The host
triple was however being used instead when loading default configs.
Move the default triple calculation earlier to handle this.
--
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Bo Anderson (Bo98)
Changes
`clang-cl` sets the default triple to `-pc-windows-msvc`. The host
triple was however being used instead when loading default configs.
Move the default triple calculation earlier to handle this.
---
Full
github-actions[bot] wrote:
Thank you for submitting a Pull Request (PR) to the LLVM Project!
This PR will be automatically labeled and the relevant teams will be notified.
If you wish to, you can add reviewers by using the "Reviewers" section on this
page.
If this is not working for you, it
https://github.com/Bo98 edited https://github.com/llvm/llvm-project/pull/111397
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Bo98 edited https://github.com/llvm/llvm-project/pull/111397
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Bo98 edited https://github.com/llvm/llvm-project/pull/111397
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Bo98 edited https://github.com/llvm/llvm-project/pull/111397
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Bo98 edited https://github.com/llvm/llvm-project/pull/111397
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mizvekov wrote:
Ops, somehow missed the original notification.
Will look into it, thanks for the report.
https://github.com/llvm/llvm-project/pull/96023
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/list
zmodem wrote:
Thanks for confirming! Please consider reverting in the meantime to keep trunk
green.
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
https://github.com/VitaNuo updated
https://github.com/llvm/llvm-project/pull/111391
>From 542558c9dc6e8b8d7e5f68b6f0fa74098b56fd3a Mon Sep 17 00:00:00 2001
From: Viktoriia Bakalova
Date: Mon, 7 Oct 2024 15:10:28 +
Subject: [PATCH] [clang][LLVM Demangler] Add an assertion that validates that
https://github.com/perry-ca updated
https://github.com/llvm/llvm-project/pull/82
>From 360bab981d8ec36e17aa4fbadbb4feef42c5d135 Mon Sep 17 00:00:00 2001
From: Sean Perry
Date: Fri, 4 Oct 2024 10:09:32 -0500
Subject: [PATCH 1/2] Add z/OS customization file
---
clang/include/clang/Driver/Dr
@@ -4159,7 +4159,7 @@ FunctionTemplateDecl *FunctionDecl::getPrimaryTemplate()
const {
if (FunctionTemplateSpecializationInfo *Info
= TemplateOrSpecialization
.dyn_cast()) {
-return Info->getTemplate();
+return Info->getTemplate()->getMostRecentDe
https://github.com/abhina-sree approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/111035
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -82,5 +82,6 @@ let TargetPrefix = "spv" in {
[llvm_anyint_ty, LLVMScalarOrSameVectorWidth<0, LLVMVectorElementType<0>>],
[IntrNoMem, Commutative] >;
def int_spv_wave_is_first_lane : DefaultAttrsIntrinsic<[llvm_i1_ty], [],
[IntrConvergent]>;
+ def int_spv_wave_rea
@@ -0,0 +1,47 @@
+//===--- SYCLKernelInfo.h --- Information about SYCL kernels
--===//
+//
+// 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: Apa
@@ -0,0 +1,47 @@
+//===--- SYCLKernelInfo.h --- Information about SYCL kernels
--===//
+//
+// 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: Apa
@@ -83,6 +83,7 @@ def int_dx_umad : DefaultAttrsIntrinsic<[llvm_anyint_ty],
[LLVMMatchType<0>, LLV
def int_dx_normalize : DefaultAttrsIntrinsic<[LLVMMatchType<0>],
[llvm_anyfloat_ty], [IntrNoMem]>;
def int_dx_rsqrt : DefaultAttrsIntrinsic<[llvm_anyfloat_ty],
[LLVMMatchType<0
101 - 200 of 461 matches
Mail list logo