https://github.com/bwendling updated
https://github.com/llvm/llvm-project/pull/73730
>From 3e500c2a7c6b7895ebe292a1ed50e04409ba149c Mon Sep 17 00:00:00 2001
From: Bill Wendling
Date: Tue, 28 Nov 2023 17:17:54 -0800
Subject: [PATCH 1/4] [Clang] Generate the GEP instead of adding AST nodes
---
@@ -1715,6 +1716,129 @@ static void findCSKYMultilibs(const Driver &D, const
llvm::Triple &TargetTriple,
Result.Multilibs = CSKYMultilibs;
}
+/// Extend the multi-lib re-use selection mechanism for RISC-V.
+/// This funciton will try to re-use multi-lib if they are compat
@@ -0,0 +1,86 @@
+// Test case for scanning input of GCC output as multilib config
topperc wrote:
Are we using GCC?
https://github.com/llvm/llvm-project/pull/73765
___
cfe-commits mailing list
cfe-commits@lists.llvm.or
@@ -1715,6 +1716,129 @@ static void findCSKYMultilibs(const Driver &D, const
llvm::Triple &TargetTriple,
Result.Multilibs = CSKYMultilibs;
}
+/// Extend the multi-lib re-use selection mechanism for RISC-V.
+/// This funciton will try to re-use multi-lib if they are compat
@@ -1715,6 +1716,129 @@ static void findCSKYMultilibs(const Driver &D, const
llvm::Triple &TargetTriple,
Result.Multilibs = CSKYMultilibs;
}
+/// Extend the multi-lib re-use selection mechanism for RISC-V.
+/// This funciton will try to re-use multi-lib if they are compat
@@ -1715,6 +1716,129 @@ static void findCSKYMultilibs(const Driver &D, const
llvm::Triple &TargetTriple,
Result.Multilibs = CSKYMultilibs;
}
+/// Extend the multi-lib re-use selection mechanism for RISC-V.
+/// This funciton will try to re-use multi-lib if they are compat
@@ -1715,6 +1716,129 @@ static void findCSKYMultilibs(const Driver &D, const
llvm::Triple &TargetTriple,
Result.Multilibs = CSKYMultilibs;
}
+/// Extend the multi-lib re-use selection mechanism for RISC-V.
+/// This funciton will try to re-use multi-lib if they are compat
@@ -1715,6 +1716,129 @@ static void findCSKYMultilibs(const Driver &D, const
llvm::Triple &TargetTriple,
Result.Multilibs = CSKYMultilibs;
}
+/// Extend the multi-lib re-use selection mechanism for RISC-V.
+/// This funciton will try to re-use multi-lib if they are compat
https://github.com/benlangmuir edited
https://github.com/llvm/llvm-project/pull/73734
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4997,6 +4997,19 @@ ASTReader::ASTReadResult
ASTReader::readUnhashedControlBlockImpl(
F->SearchPathUsage[I] = true;
break;
}
+case VFS_USAGE: {
+ if (!F)
+break;
+ unsigned Count = Record[0];
+ const char *Byte = Blob.data();
https://github.com/benlangmuir commented:
It's odd to me that tracking is enabled by default. I would have expected
tracking be off by default and enabled explicitly for scanning. Similarly, in
the modulemap case it could save-and-restore rather than enable the tracking if
it was previously o
@@ -498,11 +518,18 @@ class NamedNodeOrError {
} // namespace detail
/// An in-memory file system.
-class InMemoryFileSystem : public FileSystem {
+class InMemoryFileSystem : public RTTIExtends {
std::unique_ptr Root;
std::string WorkingDirectory;
bool UseNormalizedPa
https://github.com/AaronBallman edited
https://github.com/llvm/llvm-project/pull/73730
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -956,42 +956,72 @@ static llvm::Value *getArrayIndexingBound(CodeGenFunction
&CGF,
return nullptr;
}
-const Expr *
+namespace {
+
+struct MemberExprBaseVisitor
+: public StmtVisitor {
+ MemberExprBaseVisitor() = default;
+
+
//===--
https://github.com/AaronBallman commented:
I added the codegen code owners for opinions, but personally, I prefer the
direction this patch is heading over the one in
https://github.com/llvm/llvm-project/pull/73465
https://github.com/llvm/llvm-project/pull/73730
@@ -956,42 +956,70 @@ static llvm::Value *getArrayIndexingBound(CodeGenFunction
&CGF,
return nullptr;
}
-const Expr *
+namespace {
+
+struct MemberExprBaseVisitor
+: public StmtVisitor {
+ MemberExprBaseVisitor() = default;
+
+
//===--
https://github.com/MDevereau updated
https://github.com/llvm/llvm-project/pull/73305
>From 5aba2f1d2fe34f721a8e85eef6eecc25cb60851f Mon Sep 17 00:00:00 2001
From: Matt Devereau
Date: Mon, 20 Nov 2023 15:50:28 +
Subject: [PATCH 1/5] [SME2] Add LUTI2 and LUTI4 double Builtins and Intrinsics
https://github.com/jdoerfert updated
https://github.com/llvm/llvm-project/pull/73817
>From ed1513641d575c4a2881613864c892aff7855a78 Mon Sep 17 00:00:00 2001
From: Johannes Doerfert
Date: Tue, 28 Nov 2023 18:51:23 -0800
Subject: [PATCH] [OpenMP][NFC] Separate OpenMP/OpenACC specific mapping code
https://github.com/jdoerfert closed
https://github.com/llvm/llvm-project/pull/73817
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
DanShaders wrote:
@MaskRay
> It does not make sense for MSVC.
Let me share a bit of background here. While porting SerenityOS's libraries to
Windows and, specifically, to `x86_64-pc-windows-msvc`, we discovered a few
tests that were mysteriously failing. It turned out that the change in beha
@@ -956,42 +956,72 @@ static llvm::Value *getArrayIndexingBound(CodeGenFunction
&CGF,
return nullptr;
}
-const Expr *
+namespace {
+
+struct MemberExprBaseVisitor
+: public StmtVisitor {
+ MemberExprBaseVisitor() = default;
+
+
//===--
bwendling wrote:
@AaronBallman It's not letting me comment on your comment. While a compound
literal doesn't have a DRE, it's also not a flexible array, so it's not
supposed to get this far.
https://github.com/llvm/llvm-project/pull/73730
___
cfe-com
Author: Ramkumar Ramachandra
Date: 2023-11-29T18:53:30Z
New Revision: 2f1399c73f52aac77afbdd2ba53dd9f1dcbb7c98
URL:
https://github.com/llvm/llvm-project/commit/2f1399c73f52aac77afbdd2ba53dd9f1dcbb7c98
DIFF:
https://github.com/llvm/llvm-project/commit/2f1399c73f52aac77afbdd2ba53dd9f1dcbb7c98.dif
https://github.com/bwendling updated
https://github.com/llvm/llvm-project/pull/73730
>From 3e500c2a7c6b7895ebe292a1ed50e04409ba149c Mon Sep 17 00:00:00 2001
From: Bill Wendling
Date: Tue, 28 Nov 2023 17:17:54 -0800
Subject: [PATCH 1/5] [Clang] Generate the GEP instead of adding AST nodes
---
@@ -956,42 +956,72 @@ static llvm::Value *getArrayIndexingBound(CodeGenFunction
&CGF,
return nullptr;
}
-const Expr *
+namespace {
+
+struct MemberExprBaseVisitor
+: public StmtVisitor {
+ MemberExprBaseVisitor() = default;
+
+
//===--
https://github.com/vitalybuka closed
https://github.com/llvm/llvm-project/pull/73729
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Fznamznon updated
https://github.com/llvm/llvm-project/pull/73018
>From 0275f3ea50b3f410d2132d61ea406131de6c Mon Sep 17 00:00:00 2001
From: "Podchishchaeva, Mariya"
Date: Tue, 21 Nov 2023 08:32:36 -0800
Subject: [PATCH 1/2] [clang] Fix a bug with qualified name lookup int
AaronBallman wrote:
> @AaronBallman It's not letting me comment on your comment. While a compound
> literal doesn't have a DRE, it's also not a flexible array, so it's not
> supposed to get this far. Note that this method should only be executed if
> the flexible array member exists and has th
https://github.com/bwendling updated
https://github.com/llvm/llvm-project/pull/73730
>From 3e500c2a7c6b7895ebe292a1ed50e04409ba149c Mon Sep 17 00:00:00 2001
From: Bill Wendling
Date: Tue, 28 Nov 2023 17:17:54 -0800
Subject: [PATCH 1/6] [Clang] Generate the GEP instead of adding AST nodes
---
Author: Craig Topper
Date: 2023-11-29T11:06:49-08:00
New Revision: 8f564a1f30c160635a8225af5d20669ee42b468a
URL:
https://github.com/llvm/llvm-project/commit/8f564a1f30c160635a8225af5d20669ee42b468a
DIFF:
https://github.com/llvm/llvm-project/commit/8f564a1f30c160635a8225af5d20669ee42b468a.diff
@@ -956,42 +956,72 @@ static llvm::Value *getArrayIndexingBound(CodeGenFunction
&CGF,
return nullptr;
}
-const Expr *
+namespace {
+
+struct MemberExprBaseVisitor
+: public StmtVisitor {
+ MemberExprBaseVisitor() = default;
+
+
//===--
bwendling wrote:
> > @AaronBallman It's not letting me comment on your comment. While a compound
> > literal doesn't have a DRE, it's also not a flexible array, so it's not
> > supposed to get this far. Note that this method should only be executed if
> > the flexible array member exists and h
@@ -956,42 +956,72 @@ static llvm::Value *getArrayIndexingBound(CodeGenFunction
&CGF,
return nullptr;
}
-const Expr *
+namespace {
+
+struct MemberExprBaseVisitor
+: public StmtVisitor {
+ MemberExprBaseVisitor() = default;
+
+
//===--
@@ -0,0 +1,362 @@
+==
+``-fbounds-safety``: Enforcing bounds safety for C
+==
+
+.. contents::
+ :local:
+
+Overview
+
+
+``-fbounds-safety`` is a C extension to enforce bound
@@ -956,42 +956,72 @@ static llvm::Value *getArrayIndexingBound(CodeGenFunction
&CGF,
return nullptr;
}
-const Expr *
+namespace {
+
+struct MemberExprBaseVisitor
+: public StmtVisitor {
+ MemberExprBaseVisitor() = default;
+
+
//===--
artagnon wrote:
Hi, this commit broke the buildbot:
```
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/compiler-rt/test/msan/Linux/mallinfo.cpp:12:26:
error: invalid use of incomplete type 'mallinfo2'
12 | struct mallinfo2 mi2 = mallinfo2();
|
https://github.com/llvm-beanz updated
https://github.com/llvm/llvm-project/pull/71098
>From 91e8d9d9f63fe2ac481bb01549e3d69ac59d68f8 Mon Sep 17 00:00:00 2001
From: Chris Bieneman
Date: Wed, 1 Nov 2023 12:18:43 -0500
Subject: [PATCH 1/5] [HLSL] Vector vector standard conversions
HLSL supports v
https://github.com/bwendling updated
https://github.com/llvm/llvm-project/pull/73730
>From 3e500c2a7c6b7895ebe292a1ed50e04409ba149c Mon Sep 17 00:00:00 2001
From: Bill Wendling
Date: Tue, 28 Nov 2023 17:17:54 -0800
Subject: [PATCH 1/7] [Clang] Generate the GEP instead of adding AST nodes
---
https://github.com/llvm-beanz updated
https://github.com/llvm/llvm-project/pull/71098
>From 91e8d9d9f63fe2ac481bb01549e3d69ac59d68f8 Mon Sep 17 00:00:00 2001
From: Chris Bieneman
Date: Wed, 1 Nov 2023 12:18:43 -0500
Subject: [PATCH 1/6] [HLSL] Vector vector standard conversions
HLSL supports v
@@ -956,42 +956,72 @@ static llvm::Value *getArrayIndexingBound(CodeGenFunction
&CGF,
return nullptr;
}
-const Expr *
+namespace {
+
+struct MemberExprBaseVisitor
+: public StmtVisitor {
+ MemberExprBaseVisitor() = default;
+
+
//===--
@@ -956,42 +956,70 @@ static llvm::Value *getArrayIndexingBound(CodeGenFunction
&CGF,
return nullptr;
}
-const Expr *
+namespace {
+
+struct MemberExprBaseVisitor
+: public StmtVisitor {
+ MemberExprBaseVisitor() = default;
+
+
//===--
@@ -123,82 +123,59 @@ CompareDerivedToBaseConversions(Sema &S, SourceLocation
Loc,
/// GetConversionRank - Retrieve the implicit conversion rank
/// corresponding to the given implicit conversion kind.
ImplicitConversionRank clang::GetConversionRank(ImplicitConversionKind Kind
MaskRay wrote:
I am now confused by the subject "[clang] Stub out gcc_struct attribute".
Do you mean "Implement gcc_struct attribute"? But the description isn't clear
that this patch changes `-mms-bitfields` and `ms_struct` to be respected for
windows-msvc targets.
SerenityOS is an OS, indepen
@@ -1464,6 +1467,21 @@ class AnnotatingParser {
}
}
+ void parseEmbedDirective() {
+if (CurrentToken && CurrentToken->is(tok::less)) {
+ next();
+ while (CurrentToken) {
+// Mark tokens up to the trailing line comments as implicit string
+/
ADKaster wrote:
> SerenityOS is an OS, independent from Windows. What does porting it to
> Windows mean? Build some SerenityOS components on Windows targeting the PE
> object file format?
In this case, Dan is referring to future plans to port the Ladybird browser to
x86_64-windows-msvc. The b
bwendling wrote:
This should be ready for a final review now.
https://github.com/llvm/llvm-project/pull/73730
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1464,6 +1467,21 @@ class AnnotatingParser {
}
}
+ void parseEmbedDirective() {
+if (CurrentToken && CurrentToken->is(tok::less)) {
+ next();
+ while (CurrentToken) {
+// Mark tokens up to the trailing line comments as implicit string
+/
elizabethandrews wrote:
> I requested some minor changes.
>
> Can we document the `.ifunc` symbols as a deprecated feature? With this
> change, they will never be referenced except by code compiled by older
> compiler versions. Maybe plan to deprecate them a year from now?
How/where do I docu
https://github.com/david-xl created
https://github.com/llvm/llvm-project/pull/73845
Update the user manual to provide guidance on the usage for different flavors
of instrumentations.
>From b2c9081a0c3d5a982c2a23857bf986ec80c83cb5 Mon Sep 17 00:00:00 2001
From: David Li
Date: Mon, 27 Nov 2023
llvmbot wrote:
@llvm/pr-subscribers-pgo
@llvm/pr-subscribers-llvm-transforms
Author: David Li (david-xl)
Changes
Update the user manual to provide guidance on the usage for different flavors
of instrumentations.
---
Full diff: https://github.com/llvm/llvm-project/pull/73845.diff
2 File
https://github.com/bwendling closed
https://github.com/llvm/llvm-project/pull/73465
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
bwendling wrote:
Closing in favor of https://github.com/llvm/llvm-project/pull/73730.
https://github.com/llvm/llvm-project/pull/73465
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4114,8 +4114,26 @@ void CodeGenModule::emitMultiVersionFunctions() {
}
llvm::Constant *ResolverConstant = GetOrCreateMultiVersionResolver(GD);
-if (auto *IFunc = dyn_cast(ResolverConstant))
+if (auto *IFunc = dyn_cast(ResolverConstant)) {
ResolverCon
DanShaders wrote:
@MaskRay
> I am now confused by the subject "[clang] Stub out gcc_struct attribute".
The user-facing change is `[[gcc_struct]]` attribute implemented for Itanium
C++ ABI. Better handling of `-mms-bitfields` is just a byproduct. I agree that
commit message should be more spe
@@ -0,0 +1,362 @@
+==
+``-fbounds-safety``: Enforcing bounds safety for C
+==
+
+.. contents::
+ :local:
+
+Overview
+
+
+``-fbounds-safety`` is a C extension to enforce bound
efriedma-quic wrote:
CodeGenFunction::FindCountedByField finds a field with a corresponding base
expression. Currently, it throws away the base expression. And the code
you've just written tries to recompute the base. Instead of doing this dance,
can we just make CodeGenFunction::FindCounte
mstorsjo wrote:
> `-mms-bitfields` is a GCC x86 specific option (`aarch64-linux-gnu-gcc
> -mms-bitfields -xc /dev/null -E` => `error: unrecognized command-line option
> ‘-mms-bitfields’`).
While it is implemented as an x86 specific option in GCC right now, that
doesn't mean that it only is su
vitalybuka wrote:
Should be fixed with 771e9cda239c12ebc3aec65d8a6fd861b2c9e4dc
https://github.com/llvm/llvm-project/pull/73729
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Jon Roelofs
Date: 2023-11-29T12:23:50-08:00
New Revision: 0041d6d015ae98b29820f649160c60a90c7c4220
URL:
https://github.com/llvm/llvm-project/commit/0041d6d015ae98b29820f649160c60a90c7c4220
DIFF:
https://github.com/llvm/llvm-project/commit/0041d6d015ae98b29820f649160c60a90c7c4220.diff
L
Author: Jon Roelofs
Date: 2023-11-29T12:23:57-08:00
New Revision: eafbe063de80818d4a9e2714bf317fa759550f39
URL:
https://github.com/llvm/llvm-project/commit/eafbe063de80818d4a9e2714bf317fa759550f39
DIFF:
https://github.com/llvm/llvm-project/commit/eafbe063de80818d4a9e2714bf317fa759550f39.diff
L
jhuber6 wrote:
Ping
https://github.com/llvm/llvm-project/pull/73177
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jhuber6 wrote:
Ping
https://github.com/llvm/llvm-project/pull/73030
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Craig Topper (topperc)
Changes
Use ArrayRef to avoid a vector copy.
Replace a push_back loop with a call to std::vector::insert.
---
Full diff: https://github.com/llvm/llvm-project/pull/73851.diff
1 Files Affected:
- (modified) clang/li
@@ -265,11 +264,11 @@ resolveTargetAttrOverride(const std::vector
&FeaturesVec,
if (I == FeaturesVec.end())
return FeaturesVec;
- const std::vector FeaturesNeedOverride(FeaturesVec.begin(), I);
+ ArrayRef FeaturesNeedOverride(&*FeaturesVec.begin(), &*I);
-
Author: cor3ntin
Date: 2023-11-29T21:27:17+01:00
New Revision: 1cbd52f791d3f088246526c0801634edb65cee31
URL:
https://github.com/llvm/llvm-project/commit/1cbd52f791d3f088246526c0801634edb65cee31
DIFF:
https://github.com/llvm/llvm-project/commit/1cbd52f791d3f088246526c0801634edb65cee31.diff
LOG:
https://github.com/cor3ntin closed
https://github.com/llvm/llvm-project/pull/73105
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Craig Topper
Date: 2023-11-29T12:31:46-08:00
New Revision: 3313c256c82e16e6f15a182bbf77ad2d60548a56
URL:
https://github.com/llvm/llvm-project/commit/3313c256c82e16e6f15a182bbf77ad2d60548a56
DIFF:
https://github.com/llvm/llvm-project/commit/3313c256c82e16e6f15a182bbf77ad2d60548a56.diff
mstorsjo wrote:
> Microsoft bit-field layout didn't break an overly-specific regression test
> but rendered unusable double to string conversion. The culprit was the
> following snippet:
>
> ```c++
> union Extractor {
> double value;
> struct {
> bool sign : 1;
> u32 exponent : 11;
@@ -6226,6 +6226,15 @@ ExprResult Sema::CheckConvertedConstantExpression(Expr
*From, QualType T,
return R;
}
+ExprResult Sema::EvaluateConvertedConstantExpression(Expr *E, QualType T,
+ APValue &Value,
+
bwendling wrote:
> CodeGenFunction::FindCountedByField finds a field with a corresponding base
> expression. Currently, it throws away the base expression. And the code
> you've just written tries to recompute the base. Instead of doing this dance,
> can we just make CodeGenFunction::FindCount
efriedma-quic wrote:
I'd like to see a few tests involving multiple arrows in the same expression.
(If my understanding is correct, you want to cut the recursion when you see an
arrow member.)
Looking at the code again, I guess FindCountedByField doesn't explicitly
compute the base expressio
DanShaders wrote:
Yes, I know by now :) But this requires using the same type for all the
bit-fields which might lead to unnecessary casts in the algorithm itself. And
the other case is not as easy to fix.
https://github.com/llvm/llvm-project/pull/71148
https://github.com/asb approved this pull request.
LGTM.
https://github.com/llvm/llvm-project/pull/73851
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -112,6 +112,9 @@ template
constexpr int f(T t) { // expected-note {{'f' defined here}}
return id(t); // expected-note {{'f' is an immediate function because
its body contains a call to a consteval function 'id' and that call is not a
constant expression}}
}
+
+
+
https://github.com/zygoloid approved this pull request.
Thanks! I assume you'll also be looking at the variable case (perhaps as a
separate commit)?
https://github.com/llvm/llvm-project/pull/73463
___
cfe-commits mailing list
cfe-commits@lists.llvm.or
bwendling wrote:
> I'd like to see a few tests involving multiple arrows in the same expression.
> (If my understanding is correct, you want to cut the recursion when you see
> an arrow member.)
Correct. I'll add the code and some testcases.
> Looking at the code again, I guess FindCountedByF
DanShaders wrote:
> Therefore I don't think it's too relevant to implement -mno-ms-bitfields for
> MSVC targets (as I guess it could open a huge can of worms).
I want to only alter the layout of explicit fields in the class with the future
MSVC `-mno-ms-bitfields` implementation. This is alway
DanShaders wrote:
One more thing. Re binary compatibility concerns: `-mno-ms-bitfields` on MinGW
is an equally-sized footgun as on MSVC. Without proper header annotation with
`#pragma ms_struct on`, either of them will silently make an ABI mismatch.
However, for some reason, supporting `-mno-m
@@ -0,0 +1,69 @@
+// REQUIRES: powerpc-registered-target
+// RUN: %clang_cc1 %s -triple=powerpc-ibm-aix-xcoff -S
-mtocdata=h,g,f,e,d,c,b,a,globalOneWithAlias,globalTwoWithAlias,ll,t3 -verify
-emit-llvm -o - | FileCheck %s -check-prefix=CHECK --match-full-lines
+// RUN: %clang_cc
Author: Owen Pan
Date: 2023-11-29T12:52:01-08:00
New Revision: 4c1745207665262380e9bff65201816a966339d0
URL:
https://github.com/llvm/llvm-project/commit/4c1745207665262380e9bff65201816a966339d0
DIFF:
https://github.com/llvm/llvm-project/commit/4c1745207665262380e9bff65201816a966339d0.diff
LOG:
https://github.com/owenca closed https://github.com/llvm/llvm-project/pull/73582
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mstorsjo wrote:
> One more thing. Re binary compatibility concerns: `-mno-ms-bitfields` on
> MinGW is an equally-sized footgun as on MSVC. Without proper header
> annotation with `#pragma ms_struct on`, either of them will silently make an
> ABI mismatch. However, for some reason, supporting `
https://github.com/syzaara updated
https://github.com/llvm/llvm-project/pull/67999
>From dced11bd242aba08158a5a0a399b2b0ea7381a69 Mon Sep 17 00:00:00 2001
From: Zaara Syeda
Date: Thu, 28 Sep 2023 15:01:56 -0400
Subject: [PATCH 1/3] [AIX][TOC] Add -mtocdata/-mno-tocdata options on AIX
This patc
https://github.com/lamb-j updated
https://github.com/llvm/llvm-project/pull/72478
>From 7d2ee902f1fb1dc0cd355b4b51fda32309f45ccb Mon Sep 17 00:00:00 2001
From: Jacob Lambert
Date: Wed, 15 Nov 2023 22:06:46 -0800
Subject: [PATCH 1/5] [CodeGen] Add conditional to module cloning in bitcode
linkin
Author: Owen Pan
Date: 2023-11-29T12:56:05-08:00
New Revision: bbae59ae71c73e26809d4ab7da1a80239ebd9381
URL:
https://github.com/llvm/llvm-project/commit/bbae59ae71c73e26809d4ab7da1a80239ebd9381
DIFF:
https://github.com/llvm/llvm-project/commit/bbae59ae71c73e26809d4ab7da1a80239ebd9381.diff
LOG:
https://github.com/owenca closed https://github.com/llvm/llvm-project/pull/73753
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lamb-j updated
https://github.com/llvm/llvm-project/pull/72478
>From 5bfc0608073cd699e42a23b07d68b4572a14fcbd Mon Sep 17 00:00:00 2001
From: Jacob Lambert
Date: Wed, 15 Nov 2023 22:06:46 -0800
Subject: [PATCH 1/5] [CodeGen] Add conditional to module cloning in bitcode
linkin
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff 4c1745207665262380e9bff65201816a966339d0
f23461ad86202ae37947c5ad1099e301b23b3589 --
Author: Craig Topper
Date: 2023-11-29T12:57:48-08:00
New Revision: 0123608822a7b58d6deca528eef8dc958420acd1
URL:
https://github.com/llvm/llvm-project/commit/0123608822a7b58d6deca528eef8dc958420acd1
DIFF:
https://github.com/llvm/llvm-project/commit/0123608822a7b58d6deca528eef8dc958420acd1.diff
https://github.com/topperc closed
https://github.com/llvm/llvm-project/pull/73851
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
efriedma-quic wrote:
Some examples to consider:
```
// Crazy array indexing... but strictly speaking, legal.
struct S { int count; int arr[] __attribute((counted_by(count))); };
int f1(int c, struct S *var) {
return var[10].arr[10];
}
// Double dereferenced variable.
int f2(int c, struct S **v
https://github.com/lamb-j updated
https://github.com/llvm/llvm-project/pull/73709
>From 995706601f9f4aed021a9003ad79ca3e7e1d18af Mon Sep 17 00:00:00 2001
From: Jacob Lambert
Date: Tue, 28 Nov 2023 14:42:11 -0800
Subject: [PATCH 1/5] [clang-offload-bundler] Add support for
-check-input-archive
Author: Youngsuk Kim
Date: 2023-11-29T14:59:27-06:00
New Revision: 328fd363daabb464670613dece6c75cf99d03410
URL:
https://github.com/llvm/llvm-project/commit/328fd363daabb464670613dece6c75cf99d03410
DIFF:
https://github.com/llvm/llvm-project/commit/328fd363daabb464670613dece6c75cf99d03410.diff
@@ -0,0 +1,16 @@
+; RUN: not --crash llc -mtriple powerpc-ibm-aix-xcoff < %s 2>&1 | FileCheck %s
--check-prefix CHECK-ERROR
+; RUN: not --crash llc -mtriple powerpc64-ibm-aix-xcoff < %s 2>&1 | FileCheck
%s --check-prefix CHECK-ERROR
+
+@a = global [5 x i16] zeroinitializer, alig
DanShaders wrote:
Okay, @mstorsjo @MaskRay, what is the way forward?
Am I right that, as for the user-facing changes, `[[gcc_struct]]` cancelling
implicit `-mms-bitfilds` on MinGW is fine and silently ignoring
`-m{no-}ms-bitfields` on `windows-msvc` is not? When exactly should we disallow
`-m
hubert-reinterpretcast wrote:
> The manual change says "the TOC data transformation will be applied to [...]
> block-scope static variables". But later, you mention "internal linkage",
> which is a bit confusing when you're dealing with C++. Block-scope static
> variables don't have "linkage"
Bigcheese wrote:
> It's odd to me that tracking is enabled by default. I would have expected
> tracking be off by default and enabled explicitly for scanning. Similarly, in
> the modulemap case it could save-and-restore rather than enable the tracking
> if it was previously off.
It has to be
@@ -498,11 +518,18 @@ class NamedNodeOrError {
} // namespace detail
/// An in-memory file system.
-class InMemoryFileSystem : public FileSystem {
+class InMemoryFileSystem : public RTTIExtends {
std::unique_ptr Root;
std::string WorkingDirectory;
bool UseNormalizedPa
@@ -142,6 +142,21 @@ std::vector HeaderSearch::computeUserEntryUsage()
const {
return UserEntryUsage;
}
+std::vector HeaderSearch::computeVFSUsage() const {
+ std::vector VFSUsage;
+ llvm::vfs::FileSystem &RootFS = FileMgr.getVirtualFileSystem();
+ // TODO: This only wor
https://github.com/allight updated
https://github.com/llvm/llvm-project/pull/73717
>From a1064c7c866741bba6489279cd27b499e5bd0a62 Mon Sep 17 00:00:00 2001
From: Alex Light
Date: Tue, 28 Nov 2023 15:30:54 -0800
Subject: [PATCH] Ensure --force-interpreter disables the ORCjit too
Unless the ORCJi
201 - 300 of 404 matches
Mail list logo