@@ -692,23 +692,22 @@ static RValue emitLibraryCall(CodeGenFunction &CGF, const
FunctionDecl *FD,
RValue Call =
CGF.EmitCall(E->getCallee()->getType(), callee, E, ReturnValueSlot());
- // Check the supported intrinsic.
+ ASTContext &Context = CGF.getContext();
if
@@ -4,37 +4,76 @@
// RUN: %clang_cc1 -triple=aarch64-unknown-linux-gnu -fmath-errno -O3
-new-struct-path-tbaa -emit-llvm -o - -x c++ %s | FileCheck %s
-check-prefixes=CHECK,NewStructPathTBAA
extern "C" float expf(float);
+extern "C" double remainder(double, double);
+extern
@@ -4,37 +4,76 @@
// RUN: %clang_cc1 -triple=aarch64-unknown-linux-gnu -fmath-errno -O3
-new-struct-path-tbaa -emit-llvm -o - -x c++ %s | FileCheck %s
-check-prefixes=CHECK,NewStructPathTBAA
extern "C" float expf(float);
+extern "C" double remainder(double, double);
+extern
https://github.com/alexfh closed
https://github.com/llvm/llvm-project/pull/100556
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin edited
https://github.com/llvm/llvm-project/pull/100865
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin commented:
Thanks for cleaning that up
https://github.com/llvm/llvm-project/pull/100865
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -284,6 +283,42 @@ transformTemplateParam(Sema &SemaRef, DeclContext *DC,
return NewParam;
}
+NamedDecl *transformTemplateParameter(Sema &SemaRef, DeclContext *DC,
+ NamedDecl *TemplateParam,
+ Multi
https://github.com/zyn0217 updated
https://github.com/llvm/llvm-project/pull/100865
>From 13724c6cd47c17b92b57f04436c544bd9d681070 Mon Sep 17 00:00:00 2001
From: Younan Zhang
Date: Sat, 27 Jul 2024 18:52:23 +0800
Subject: [PATCH 1/3] [Clang][CTAD][NFC] Unify transformTemplateParameter()
We end
@@ -284,6 +283,42 @@ transformTemplateParam(Sema &SemaRef, DeclContext *DC,
return NewParam;
}
+NamedDecl *transformTemplateParameter(Sema &SemaRef, DeclContext *DC,
+ NamedDecl *TemplateParam,
+ Multi
https://github.com/zyn0217 edited
https://github.com/llvm/llvm-project/pull/100865
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/zyn0217 edited
https://github.com/llvm/llvm-project/pull/100865
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Max =?utf-8?b?8J+RqPCfj73igI3wn5K7?= Copl
Message-ID:
In-Reply-To:
@@ -3921,7 +3921,7 @@ _ForwardIterator basic_regex<_CharT,
_Traits>::__parse_character_escape(
if (__hd == -1)
__throw_regex_error();
__sum = 16 * __sum + static_cast(__hd);
- // fall
https://github.com/cor3ntin approved this pull request.
I think this looks good, nice cleanup.
https://github.com/llvm/llvm-project/pull/100865
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-
Author: Pavel Samolysov
Date: 2024-07-28T13:44:57+03:00
New Revision: 81595e9178eedc18dfcace9ac412f20697497f9f
URL:
https://github.com/llvm/llvm-project/commit/81595e9178eedc18dfcace9ac412f20697497f9f
DIFF:
https://github.com/llvm/llvm-project/commit/81595e9178eedc18dfcace9ac412f20697497f9f.dif
https://github.com/samolisov closed
https://github.com/llvm/llvm-project/pull/97164
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Younan Zhang
Date: 2024-07-28T19:34:23+08:00
New Revision: bb064535bd071c1bddaf55ff7fe283fc8d23c1fc
URL:
https://github.com/llvm/llvm-project/commit/bb064535bd071c1bddaf55ff7fe283fc8d23c1fc
DIFF:
https://github.com/llvm/llvm-project/commit/bb064535bd071c1bddaf55ff7fe283fc8d23c1fc.diff
https://github.com/zyn0217 closed
https://github.com/llvm/llvm-project/pull/100865
___
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-x86_64-linux`
running on `sanitizer-buildbot2` while building `clang` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/66/builds/
Here is the relevant piece of the bu
https://github.com/5chmidti approved this pull request.
Looks good from my side
https://github.com/llvm/llvm-project/pull/97911
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bigb4ng created
https://github.com/llvm/llvm-project/pull/100937
Follow-up to #92593.
Also makes #92611, https://github.com/google/sanitizers/issues/1130 obsolete.
>From e37995b0c83ee6b090ea7a2042e8a2b82799ac4e Mon Sep 17 00:00:00 2001
From: bigb4ng <130478744+bigb...@users
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
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (bigb4ng)
Changes
Follow-up to #92593.
Also makes #92611, https://github.com/google/sanitizers/issues/1130
obsolete.
---
Full diff: https://github.com/llvm/llvm-project/pull/100937.diff
1 Files Affected:
- (modified) clang/docs/
https://github.com/mikecrowe updated
https://github.com/llvm/llvm-project/pull/97911
>From f7be65b1581e49bb18b3ab613686daedcd71b4d9 Mon Sep 17 00:00:00 2001
From: Mike Crowe
Date: Wed, 12 Jun 2024 21:06:26 +0100
Subject: [PATCH] [clang-tidy] Only expand macros in
modernize-use-std-format/prin
mikecrowe wrote:
@5chmidti wrote:
> Looks good from my side
Thanks. I've squashed and rebased. Since 19 has been branched now and it
includes *modernize-use-std-format* I've mentioned the improvement as being for
both *modernize-use-std-print* and *modernize-use-std-format* in the release
not
https://github.com/mikecrowe updated
https://github.com/llvm/llvm-project/pull/97911
>From 71dedefaf4dd8725b9a94e50c8f4d43b0e8bc4b2 Mon Sep 17 00:00:00 2001
From: Mike Crowe
Date: Wed, 12 Jun 2024 21:06:26 +0100
Subject: [PATCH] [clang-tidy] Only expand macros in
modernize-use-std-format/prin
@@ -185,6 +191,8 @@ def main():
diff_string = "".join(diff)
if len(diff_string) > 0:
sys.stdout.write(diff_string)
+if args.non_zero_exit_code:
+sys.exit(1)
ptomato wrote:
A valid use
https://github.com/DeinAlptraum created
https://github.com/llvm/llvm-project/pull/100941
This resolves #48212 and also adds the remaining unexposed Enums
>From c4007832c8ed7cdb56aceebcf61b24ecb75f2aa4 Mon Sep 17 00:00:00 2001
From: Jannick Kremer
Date: Sun, 28 Jul 2024 18:30:35 +0100
Subject:
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Jannick Kremer (DeinAlptraum)
Changes
This resolves #48212 and also adds the remaining unexposed Enums
---
Full diff: https://github.com/llvm/llvm-project/pull/100941.diff
1 Files Affected:
- (modified) clang/bindings/python/clang/cinde
DeinAlptraum wrote:
@Endilll can I ask you for a review again?
https://github.com/llvm/llvm-project/pull/100941
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/urnathan created
https://github.com/llvm/llvm-project/pull/100943
I noticed the insensitively named `Blacklist` variable when looking at
https://github.com/llvm/llvm-project/pull/100852. Let's renaming to
`Disallowed`.
>From 9159beaeec23ea5336e62ba1b7710d784bba17f3 Mon Sep
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: Nathan Sidwell (urnathan)
Changes
I noticed the insensitively named `Blacklist` variable when looking at
https://github.com/llvm/llvm-project/pull/100852. Let's renaming to
`Disallowed`.
---
Full diff: https://github.com/llvm/llv
vabridgers wrote:
A little background on how this was found, and a few debugging notes.
This was found in a daily static analysis systems level test that we drive
internally on our daily integrations, on the lz4 project, found here
https://github.com/lz4/lz4.git. There are a number of open so
ptomato wrote:
Could this be backported to clang-format 18.x? It's a really inconvenient
regression.
https://github.com/llvm/llvm-project/pull/86776
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinf
https://github.com/HazardyKnusperkeks approved this pull request.
https://github.com/llvm/llvm-project/pull/100852
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HazardyKnusperkeks requested changes to this pull request.
You are changing a lot of test cases, that means you will break a lot of
formattings out there, especially since this is the default behavior of
clang-format. And someone did intend it that way.
If the change is desi
banach-space wrote:
> > > > Who could be the right person to ask?
> > >
> > >
> > > I don't know. Open-source LLVM Flang meetings can be good place to ask
> > > this question.
> >
> >
> > Did you ask? What feedback did you get?
>
> @banach-space I asked question on flang-slack, I mentioned
https://github.com/banach-space approved this pull request.
https://github.com/llvm/llvm-project/pull/96742
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jhuber6 wrote:
What are we relying on `-mlink-builtin-bitcode` for right now? IIUC it's mostly
just math, right?
https://github.com/llvm/llvm-project/pull/96742
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mai
https://github.com/shiltian created
https://github.com/llvm/llvm-project/pull/100945
These callbacks can be invoked in multiple places when building an optimization
pipeline, both in compile time and link time. However, there is no indicator on
what pipeline it is currently building.
In this pa
https://github.com/shiltian ready_for_review
https://github.com/llvm/llvm-project/pull/100945
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
shiltian wrote:
* **#100945** https://app.graphite.dev/github/pr/llvm/llvm-project/100945?utm_source=stack-comment-icon";
target="_blank">https://static.graphite.dev/graphite-32x32-black.png"; alt="Graphite"
width="10px" height="10px"/> 👈
* `main`
This stack of pull requests is managed by Grap
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-clang-codegen
Author: Shilei Tian (shiltian)
Changes
These callbacks can be invoked in multiple places when building an optimization
pipeline, both in compile time and link time. However, there is no indicator on
what pipeline
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/100945
>From b8c8357c3724031d85c96e3aa053acf402f3508e Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Sun, 28 Jul 2024 15:28:09 -0400
Subject: [PATCH] [LLVM][PassBuilder] Extend the function signature of callback
fo
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 44df89cc30fc462dcb821929c6d5459688ffe545
b8c8357c3724031d85c96e3aa053acf402f3508e --e
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/100945
>From d2bea2b14379a7fa2bc8477e97bc29f96aece791 Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Sun, 28 Jul 2024 15:28:09 -0400
Subject: [PATCH] [LLVM][PassBuilder] Extend the function signature of callback
fo
Max =?utf-8?b?8J+RqPCfj73igI3wn5K7?= Copl
Message-ID:
In-Reply-To:
https://github.com/vegerot updated
https://github.com/llvm/llvm-project/pull/97926
>From 1f231975f2f6b59375bbe88241e533ec18725aaa Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Max=20=F0=9F=91=A8=F0=9F=8F=BD=E2=80=8D=F0=9F=92=BB=20Co
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/100692
>From 89e5db41f3d3bc939078b63d43b7181bfc765fd1 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Wed, 24 Jul 2024 03:59:41 -0300
Subject: [PATCH] [clang] check deduction consistency when partial ordering
fu
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/100945
>From 76c0d45679bb9ea90f882abc38f52cd05d8b6624 Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Sun, 28 Jul 2024 18:48:54 -0400
Subject: [PATCH 1/2] [Attributor][AMD] Enable AAIndirectCallInfo for
AMDAttributo
https://github.com/shiltian closed
https://github.com/llvm/llvm-project/pull/100945
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
shiltian wrote:
Close this one and use https://github.com/llvm/llvm-project/pull/100953 because
I messed up the stack.
https://github.com/llvm/llvm-project/pull/100945
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-
https://github.com/medievalghoul closed
https://github.com/llvm/llvm-project/pull/99724
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ChuanqiXu9 approved this pull request.
LGTM.
https://github.com/llvm/llvm-project/pull/100837
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -812,6 +812,7 @@ int bar(int n){
// CHECK1-NEXT:[[DOTCAPTURE_EXPR__ADDR:%.*]] = alloca i64, align 8
// CHECK1-NEXT:[[DOTCAPTURE_EXPR__ADDR2:%.*]] = alloca i64, align 8
// CHECK1-NEXT:[[AA_CASTED:%.*]] = alloca i64, align 8
+// CHECK1-NEXT:[[DOTCAPTURE_EXPR__C
@@ -3793,8 +3793,8 @@ bool
RecursiveASTVisitor::VisitOMPMapClause(OMPMapClause *C) {
template
bool RecursiveASTVisitor::VisitOMPNumTeamsClause(
OMPNumTeamsClause *C) {
+ TRY_TO(VisitOMPClauseList(C));
TRY_TO(VisitOMPClauseWithPreInit(C));
shiltian wro
https://github.com/shiltian edited
https://github.com/llvm/llvm-project/pull/99732
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Fangrui Song
Date: 2024-07-28T20:21:59-07:00
New Revision: 0953fb4c68380760562e61a5a09979359eb498c1
URL:
https://github.com/llvm/llvm-project/commit/0953fb4c68380760562e61a5a09979359eb498c1
DIFF:
https://github.com/llvm/llvm-project/commit/0953fb4c68380760562e61a5a09979359eb498c1.diff
Author: Arseniy Zaostrovnykh
Date: 2024-07-29T08:12:22+02:00
New Revision: 73c72f2c6505d5bc8b47bb0420f6cba5b24270fe
URL:
https://github.com/llvm/llvm-project/commit/73c72f2c6505d5bc8b47bb0420f6cba5b24270fe
DIFF:
https://github.com/llvm/llvm-project/commit/73c72f2c6505d5bc8b47bb0420f6cba5b24270f
https://github.com/steakhal closed
https://github.com/llvm/llvm-project/pull/100745
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/njames93 created
https://github.com/llvm/llvm-project/pull/100975
Fix handling of nodes which can be skipped in the fast path for the hasName
matcher
#100973
>From 8d1aeca42a0d544582823ff2bae0a217e14d1c02 Mon Sep 17 00:00:00 2001
From: Nathan James
Date: Mon, 29 Jul 2024
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Nathan James (njames93)
Changes
Fix handling of nodes which can be skipped in the fast path for the hasName
matcher
#100973
---
Full diff: https://github.com/llvm/llvm-project/pull/100975.diff
2 Files Affected:
- (modified) clang/lib
https://github.com/njames93 updated
https://github.com/llvm/llvm-project/pull/100975
>From 9e3f5ae48fa75d5db8b132162d96004191618956 Mon Sep 17 00:00:00 2001
From: Nathan James
Date: Mon, 29 Jul 2024 07:21:53 +0100
Subject: [PATCH] Fix hasName matcher assertion with inline namespaces
Fix handli
https://github.com/magic-akari created
https://github.com/llvm/llvm-project/pull/100978
- Closes: #100974
>From 4c90d85b5edf2ca93fe28e503f3eaa3d6dad4cb3 Mon Sep 17 00:00:00 2001
From: magic-akari
Date: Mon, 29 Jul 2024 14:30:40 +0800
Subject: [PATCH] [clang-format] Use double hyphen for multi
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
63 matches
Mail list logo