@@ -96,6 +101,37 @@ the header file to conditionally make a
function constexpr whenever
the constant evaluation of the corresponding builtin (for example,
``std::fmax`` calls ``__builtin_fmax``) is supported in Clang.
+``__has_target_builtin``
+
+
@@ -44,3 +47,44 @@ void foo(const void* ptr, size_t len, long disp_addr,
}
}
+//--- b.cpp
+// COM: Prior to the introduction of the FatLTO cleanup pass, this used to
cause
+// COM: the backend to crash, either due to an assertion failure, or because
+// COM: the CFI instruc
zahiraam wrote:
> > @alexey-bataev I haven't gotten any response from @Meinersbur , can I merge
> > this in? Thanks.
>
> Go ahead
Thanks.
https://github.com/llvm/llvm-project/pull/119891
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https:
https://github.com/rjmccall approved this pull request.
Thanks, the new comment looks great. LGTM.
https://github.com/llvm/llvm-project/pull/126047
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/
Author: Nick Sarnie
Date: 2025-02-11T20:04:53Z
New Revision: c2fea0d837c481c2c1f0008f84de54c0196f
URL:
https://github.com/llvm/llvm-project/commit/c2fea0d837c481c2c1f0008f84de54c0196f
DIFF:
https://github.com/llvm/llvm-project/commit/c2fea0d837c481c2c1f0008f84de54c0196f.diff
LOG: [
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
@llvm/pr-subscribers-clang
Author: None (R-Goc)
Changes
…licit object parameter (#117841)"
This reverts commit 9ccde12f5eeb91152900082a2ae839e2a9702b31 Because of
https://github.com/llvm/llvm-project/issues/126720.
---
Full diff: ht
llvmbot wrote:
@llvm/pr-subscribers-clangd
Author: None (R-Goc)
Changes
…licit object parameter (#117841)"
This reverts commit 9ccde12f5eeb91152900082a2ae839e2a9702b31 Because of
https://github.com/llvm/llvm-project/issues/126720.
---
Full diff: https://github.com/llvm/llvm-project/pul
@@ -3397,53 +3309,53 @@ void CGObjCMac::GenerateCategory(const
ObjCCategoryImplDecl *OCD) {
enum FragileClassFlags {
/// Apparently: is not a meta-class.
- FragileABI_Class_Factory = 0x1,
+ FragileABI_Class_Factory = 0x1,
DataCorru
MattPD wrote:
> LG
@alexey-bataev Thank you! Once again, please feel free to merge, too :-)
// Note to myself: Perhaps I should ask about commit access at some point...
https://github.com/llvm/llvm-project/pull/126172
___
cfe-commits mailing list
cfe
MacDue wrote:
Typo `svcrete` -> `svcreate` (PR title/description)
https://github.com/llvm/llvm-project/pull/126754
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/R-Goc edited https://github.com/llvm/llvm-project/pull/126789
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rniwa closed https://github.com/llvm/llvm-project/pull/126470
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Ryosuke Niwa
Date: 2025-02-11T11:07:52-08:00
New Revision: 8c67f14f628420a5e06fe631ec6b323f096f2a43
URL:
https://github.com/llvm/llvm-project/commit/8c67f14f628420a5e06fe631ec6b323f096f2a43
DIFF:
https://github.com/llvm/llvm-project/commit/8c67f14f628420a5e06fe631ec6b323f096f2a43.diff
rniwa wrote:
Thanks for the review!
https://github.com/llvm/llvm-project/pull/126470
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `sanitizer-aarch64-linux`
running on `sanitizer-buildbot7` while building `clang,llvm` at step 2
"annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/51/builds/10694
Here is the relevant piece
bd1976bris wrote:
> Hello! I had a quick glance at this and while I am no expert in the actual
> LTO internal code, I was totally able to understand how we could integrate
> this with our build system (fastbuild) so I am really happy you have decided
> to upstream this. I am planning of doing
https://github.com/R-Goc created
https://github.com/llvm/llvm-project/pull/126789
…licit object parameter (#117841)"
This reverts commit 9ccde12f5eeb91152900082a2ae839e2a9702b31 Because of
https://github.com/llvm/llvm-project/issues/126720.
>From f09de04d28c03977d1e6b1dab9c552e511bcbc73 Mon
https://github.com/sarnex closed
https://github.com/llvm/llvm-project/pull/126756
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
fmayer wrote:
> The idea here makes sense to me and I don't mind if it lands without "NFC" in
> the title, but I think enforcing this at compile time would be more robust.
> Could we use `static_assert` with something like `llvm::BitWidth` and
> supporting infrastructure from `llvm/include/ADT
efriedma-quic wrote:
> when -fno-math-errno is set
What does -fno-math-errno have to do with anything? modf never sets errno
anyway.
https://github.com/llvm/llvm-project/pull/126750
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://li
@@ -4856,7 +4773,7 @@ void
CGObjCMac::EmitTryOrSynchronizedStmt(CodeGen::CodeGenFunction &CGF,
if (PropagatingExnVar.isValid()) {
PropagatingExn = CGF.Builder.CreateLoad(PropagatingExnVar);
-// Otherwise, just look in the buffer for the exception to throw.
+
@@ -859,6 +859,24 @@ static void emitSincosBuiltin(CodeGenFunction &CGF, const
CallExpr *E,
StoreCos->setMetadata(LLVMContext::MD_noalias, AliasScopeList);
}
+static llvm::Value *emitModfBuiltin(CodeGenFunction &CGF, const CallExpr *E,
+l
https://github.com/dpaoliello updated
https://github.com/llvm/llvm-project/pull/125320
>From fe5b7ada3eae41bac26639d90e3d0d105a30be8f Mon Sep 17 00:00:00 2001
From: "Daniel Paoliello (HE/HIM)"
Date: Fri, 31 Jan 2025 16:47:23 -0800
Subject: [PATCH] [aarch64][x86][win] Add support for MSVC's /fun
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Amr Hesham (AmrDeveloper)
Changes
Previously in case of multiable aliases exists for the same base we just accept
the first one
https://github.com/llvm/llvm-project/blob/2cf6663d3c86b065edeb693815e6a4b325045cc2/clang/lib/ASTMatchers/ASTMa
https://github.com/AmrDeveloper created
https://github.com/llvm/llvm-project/pull/126793
Previously in case of multiable aliases exists for the same base we just accept
the first one
https://github.com/llvm/llvm-project/blob/2cf6663d3c86b065edeb693815e6a4b325045cc2/clang/lib/ASTMatchers/ASTMat
steakhal wrote:
Ah, so this one is already merged. Then nvm. It's not worth a followup.
https://github.com/llvm/llvm-project/pull/126796
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Florian Mayer
Date: 2025-02-11T13:42:31-08:00
New Revision: ad905f133c5b22896900f3f335de990d0daf1ff4
URL:
https://github.com/llvm/llvm-project/commit/ad905f133c5b22896900f3f335de990d0daf1ff4
DIFF:
https://github.com/llvm/llvm-project/commit/ad905f133c5b22896900f3f335de990d0daf1ff4.diff
https://github.com/RossComputerGuy approved this pull request.
https://github.com/llvm/llvm-project/pull/126352
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
fmayer wrote:
> I think isa should be preferred if the result of dyncast is not used. Same
> applied to the surrounding ifs too.
https://github.com/llvm/llvm-project/commit/ad905f133c5b22896900f3f335de990d0daf1ff4
https://github.com/llvm/llvm-project/pull/126796
___
@@ -969,6 +969,10 @@ def Xlinker : Separate<["-"], "Xlinker">,
Flags<[LinkerInput, RenderAsInput]>,
Visibility<[ClangOption, CLOption, FlangOption]>,
HelpText<"Pass to the linker">, MetaVarName<"">,
Group;
+def Xdist : Separate<["-"], "Xdist">, Flags<[LinkOption]>,
efriedma-quic wrote:
Can you just move the modf handling into the section for non-math intrinsics?
It's not a "math intrinsic" in this context: it doesn't set errno or raise
exceptions.
https://github.com/llvm/llvm-project/pull/126750
___
cfe-commit
https://github.com/fmayer closed
https://github.com/llvm/llvm-project/pull/126796
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -240,6 +240,38 @@ The ``BOOTSTRAP_LLVM_ENABLE_LTO=Thin`` will enable ThinLTO
for stage 2 and
stage 3 in case the compiler used for stage 1 does not support the ThinLTO
option.
+Distributed ThinLTO (DTLTO)
+---
+
+DTLTO allows for the distribution of
https://github.com/inbelic updated
https://github.com/llvm/llvm-project/pull/122981
>From 98deff6a407b912852e70b2bdc3618aaec8a1931 Mon Sep 17 00:00:00 2001
From: Finn Plummer
Date: Fri, 24 Jan 2025 22:23:39 +
Subject: [PATCH 01/16] [HLSL][RootSignature] Initial Lexer Definition with
puncua
Author: Florian Mayer
Date: 2025-02-11T13:35:14-08:00
New Revision: b88b6a2b633a942d454205f336703cdc62074686
URL:
https://github.com/llvm/llvm-project/commit/b88b6a2b633a942d454205f336703cdc62074686
DIFF:
https://github.com/llvm/llvm-project/commit/b88b6a2b633a942d454205f336703cdc62074686.diff
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
Author: Florian Mayer (fmayer)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/126796.diff
1 Files Affected:
- (modified) clang/lib/StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp (+1-1)
``diff
diff --
https://github.com/jdoerfert edited
https://github.com/llvm/llvm-project/pull/93365
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
tru wrote:
> Great. Actually, we wanted to add support for distributing via FASTBuild,
> icecream and distcc with the initial DTLTO PR. However, we investigated found
> that these couldn't be supported without extending the existing codebases.
> More details to follow..
Interesting. Intereste
@@ -1702,6 +1703,38 @@ static uint8_t getOsAbi(const Triple &t) {
}
}
+namespace dtlto {
+// Check if an archive file is a thin archive.
+bool isThinArchive(Ctx &ctx, StringRef archiveFilePath) {
+ const size_t thinArchiveMagicLen = sizeof(ThinArchiveMagic) - 1;
+
+ ErrorO
@@ -2576,3 +2576,162 @@ void SemaHLSL::processExplicitBindingsOnDecl(VarDecl
*VD) {
}
}
}
+
+static bool CastInitializer(Sema &S, ASTContext &Ctx, Expr *E,
+llvm::SmallVectorImpl &List,
+llvm::SmallVectorImpl &DestT
https://github.com/zyn0217 updated
https://github.com/llvm/llvm-project/pull/126723
>From 21ca76a13ca62715ce98fb2c8b0361df727769b0 Mon Sep 17 00:00:00 2001
From: Younan Zhang
Date: Tue, 11 Feb 2025 17:13:34 +0800
Subject: [PATCH 1/2] [Clang] Don't give up on an unsuccessful function
instantiat
llvm-beanz wrote:
I did find a bug in this for handling data structures with resources... I'm
working on it and will update the PR when I have a fix.
https://github.com/llvm/llvm-project/pull/123141
___
cfe-commits mailing list
cfe-commits@lists.llvm.
https://github.com/farzonl approved this pull request.
https://github.com/llvm/llvm-project/pull/123141
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3010,3 +3010,183 @@ void SemaHLSL::processExplicitBindingsOnDecl(VarDecl
*VD) {
}
}
}
+
+static bool CastInitializer(Sema &S, ASTContext &Ctx, Expr *E,
+llvm::SmallVectorImpl &List,
+llvm::SmallVectorImpl &DestT
https://github.com/bd1976bris edited
https://github.com/llvm/llvm-project/pull/126654
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
tsepez wrote:
Sure, I'll back-fill the tests shortly.
https://github.com/llvm/llvm-project/pull/124022
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
SharonXSharon wrote:
> /cc @SharonXSharon
thanks for submitting the fix! A noob question, I wonder in general why does
clang choose to warn on the invalid formatter instead of erroring out given
it'll be undefined behavior for invalid formatter?
https://github.com/llvm/llvm-project/pull/12669
https://github.com/hekota approved this pull request.
LGTM!
https://github.com/llvm/llvm-project/pull/123141
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
owenca wrote:
/cherry-pick 6330f1e052dbec842e0d12e3d0cc44996e8663d2
https://github.com/llvm/llvm-project/pull/124085
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/owenca milestoned
https://github.com/llvm/llvm-project/pull/124085
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
Failed to cherry-pick: 6330f1e052dbec842e0d12e3d0cc44996e8663d2
https://github.com/llvm/llvm-project/actions/runs/13277229863
Please manually backport the fix and push it to your github fork. Once this is
done, please create a [pull
request](https://github.com/llvm/llvm-proje
teresajohnson wrote:
> > Thanks for sending this for review! I've only just skimmed the PR so far,
> > and need to dig more into it. However, it is massive. It's nice to see how
> > it all fits together, but for the purpose of reviewing and upstreaming,
> > could you split it up into multiple
@@ -0,0 +1,34 @@
+// RUN: %clang_cc1 -triple %itanium_abi_triple -std=c++11 -fcoverage-mcdc
-fprofile-instrument=clang -fcoverage-mapping -dump-coverage-mapping
-emit-llvm-only %s 2> %t.stderr.txt | FileCheck %s
chapuni wrote:
Note, this test will be withdrawn
luxufan wrote:
> Thanks for the work! Do you have some stats with this change applied?
Thank you for your review! I currently only have statistics for the
implementation for -fsplit-lto-unit, as I have not yet evaluated
-fno-split-lto-unit in our benchmark.
https://github.com/llvm/llvm-projec
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
... for composite element types. Looks like I forgot this in
e6030d389571b3f1b0f0c5a35b7fa45937ed0f6c
---
Full diff: https://github.com/llvm/llvm-project/pull/126870.diff
2 Files Affected:
- (modified) cl
HighCommander4 wrote:
I posted a fix at https://github.com/llvm/llvm-project/pull/126868.
https://github.com/llvm/llvm-project/pull/126789
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commi
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/126870
... for composite element types. Looks like I forgot this in
e6030d389571b3f1b0f0c5a35b7fa45937ed0f6c
>From 56245b317f3b71a2c11a188ac0bb4de114ea012c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
owenca wrote:
Did you get an answer to my
[question](https://github.com/llvm/llvm-project/issues/107808#issuecomment-2601159049)
yet?
https://github.com/llvm/llvm-project/pull/113864
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lis
vitalybuka wrote:
Also this one is broken https://lab.llvm.org/buildbot/#/builders/107/builds/7929
cc @fmayer
https://github.com/llvm/llvm-project/pull/126675
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailm
Author: Owen Pan
Date: 2025-02-11T23:58:53-08:00
New Revision: 3ca9238cb0d3cdf1961c81931a624b24c787ed82
URL:
https://github.com/llvm/llvm-project/commit/3ca9238cb0d3cdf1961c81931a624b24c787ed82
DIFF:
https://github.com/llvm/llvm-project/commit/3ca9238cb0d3cdf1961c81931a624b24c787ed82.diff
LOG:
401 - 460 of 460 matches
Mail list logo