https://github.com/xlauko approved this pull request.
lgtm
https://github.com/llvm/llvm-project/pull/146239
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/xlauko edited
https://github.com/llvm/llvm-project/pull/146239
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tomershafir updated
https://github.com/llvm/llvm-project/pull/146260
>From 91c9e0832a72f8ed9198b644b677f0e93a557d89 Mon Sep 17 00:00:00 2001
From: tomershafir
Date: Sun, 29 Jun 2025 10:17:47 +0300
Subject: [PATCH] [AArch64] Fix stale +zcm target feature to +zcm-gpr64
Replace
https://github.com/tomershafir created
https://github.com/llvm/llvm-project/pull/146260
Replaces all the uses of `+zcm` with `+zcm-gpr64`.
>From f7ba61ad76cf956d642aa36a98288ab0df3c56d8 Mon Sep 17 00:00:00 2001
From: tomershafir
Date: Sun, 29 Jun 2025 10:17:47 +0300
Subject: [PATCH] [AArch64]
llvmbot wrote:
@llvm/pr-subscribers-lld
Author: Tomer Shafir (tomershafir)
Changes
Replaces all the uses of `+zcm` with `+zcm-gpr64`. A fix for:
https://github.com/llvm/llvm-project/pull/146051
---
Patch is 30.41 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/
https://github.com/tomershafir ready_for_review
https://github.com/llvm/llvm-project/pull/146260
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tomershafir edited
https://github.com/llvm/llvm-project/pull/146260
___
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
@llvm/pr-subscribers-clangir
Author: Sirui Mu (Lancern)
Changes
This patch adds the `#cir.opt_info` attribute which holds module-level
optimization information.
---
Full diff: https://github.com/llvm/llvm-project/pull/146261.diff
5 Files Affect
https://github.com/Lancern created
https://github.com/llvm/llvm-project/pull/146261
This patch adds the `#cir.opt_info` attribute which holds module-level
optimization information.
>From c1f884577af1d55cb7cc9b65276e43bd96b82378 Mon Sep 17 00:00:00 2001
From: Sirui Mu
Date: Sun, 29 Jun 2025 15
https://github.com/davemgreen approved this pull request.
OK. LGTM then. Thanks for the quick fix.
https://github.com/llvm/llvm-project/pull/146260
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/
https://github.com/ashwinbanwari updated
https://github.com/llvm/llvm-project/pull/146247
>From f2ed0c7989d7e181004237a4fa2ba7ae1efe44ed Mon Sep 17 00:00:00 2001
From: Ashwin Banwari
Date: Sat, 28 Jun 2025 16:19:55 -0700
Subject: [PATCH 1/4] add err_main_in_named_module
---
clang/include/clan
https://github.com/philnik777 updated
https://github.com/llvm/llvm-project/pull/116709
>From e0bb550672326e21a556ac727f2e2a6ef65f0469 Mon Sep 17 00:00:00 2001
From: Nikolas Klauser
Date: Tue, 1 Oct 2024 11:08:02 +0200
Subject: [PATCH 01/14] [Clang] Add __builtin_invoke and recognize std::invoke
https://github.com/HighCommander4 approved this pull request.
Thanks!
https://github.com/llvm/llvm-project/pull/146235
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Mythreya
Date: 2025-06-29T10:47:49-04:00
New Revision: d2d5203bf48af9b55b8e379c1c152fec97349340
URL:
https://github.com/llvm/llvm-project/commit/d2d5203bf48af9b55b8e379c1c152fec97349340
DIFF:
https://github.com/llvm/llvm-project/commit/d2d5203bf48af9b55b8e379c1c152fec97349340.diff
LOG:
https://github.com/HighCommander4 closed
https://github.com/llvm/llvm-project/pull/146235
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Lancern wrote:
I conducted a minor refactor in the latest commit.
Prior to the latest commit, CallOp build functions (namely, `CallOp::build`,
`CIRBaseBuilderTy::createCallOp`, and `CIRBaseBuilderTy::createIndirectCallOp`)
takes quite a lot parameters, including the extra optional call attribu
Author: Tomer Shafir
Date: 2025-06-29T15:01:05+03:00
New Revision: dd02fb3a51456187b0586693c82285606fae6ee5
URL:
https://github.com/llvm/llvm-project/commit/dd02fb3a51456187b0586693c82285606fae6ee5
DIFF:
https://github.com/llvm/llvm-project/commit/dd02fb3a51456187b0586693c82285606fae6ee5.diff
https://github.com/tomershafir closed
https://github.com/llvm/llvm-project/pull/146260
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Lancern updated
https://github.com/llvm/llvm-project/pull/145178
>From 183dad89003c36f3c3d11c4b930908b829f40f17 Mon Sep 17 00:00:00 2001
From: Sirui Mu
Date: Sun, 29 Jun 2025 20:06:51 +0800
Subject: [PATCH] [CIR] Add nothrow attribute to call operations
This patch adds nothr
@@ -368,4 +368,34 @@ def CIR_VisibilityAttr : CIR_Attr<"Visibility",
"visibility"> {
}];
}
+//===--===//
+// ExtraFuncAttributesAttr
+//===---
@@ -102,3 +104,16 @@ void f12() {
// LLVM: %[[#slot:]] = alloca %struct.S, i64 1, align 4
// LLVM-NEXT:%[[#ret:]] = call %struct.S @_Z3f10v()
// LLVM-NEXT:store %struct.S %[[#ret]], ptr %[[#slot]], align 4
+
+void f13() noexcept;
+void f14() {
+ f13();
+}
+
+//
https://github.com/Lancern edited
https://github.com/llvm/llvm-project/pull/145178
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mikecrowe wrote:
Ping?
https://github.com/llvm/llvm-project/pull/142312
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HazardyKnusperkeks commented:
While it is less code, I find a bit harder to understand and the code gen is
far worse: https://gcc.godbolt.org/z/KzG4YnTh3
https://github.com/llvm/llvm-project/pull/146245
___
cfe-commits mailing list
https://github.com/snarang181 updated
https://github.com/llvm/llvm-project/pull/146234
>From 588ae1c6c4b965a6cd57044284845a62c75da9c2 Mon Sep 17 00:00:00 2001
From: Samarth Narang
Date: Sat, 28 Jun 2025 15:31:37 -0400
Subject: [PATCH 1/2] Emit a suggestion to explicitly mark the function with
@@ -1979,6 +1979,13 @@ void clang::inferNoReturnAttr(Sema &S, const Decl *D) {
if (!FD->hasAttr() && !FD->hasAttr() &&
isKnownToAlwaysThrow(FD)) {
NonConstFD->addAttr(InferredNoReturnAttr::CreateImplicit(S.Context));
+
+// Conditionally, emit the suggestion warn
https://github.com/snarang181 updated
https://github.com/llvm/llvm-project/pull/146234
>From 588ae1c6c4b965a6cd57044284845a62c75da9c2 Mon Sep 17 00:00:00 2001
From: Samarth Narang
Date: Sat, 28 Jun 2025 15:31:37 -0400
Subject: [PATCH 1/2] Emit a suggestion to explicitly mark the function with
HighCommander4 wrote:
> [...] people like to **also** ask for a test to be added to libSema's own
> code completion test suite. These tests work a bit differently: they're found
> at `clang/test/CodeCompletion` (see for example [this
> file](https://searchfox.org/llvm/source/clang/test/CodeCom
@@ -0,0 +1,240 @@
+// RUN: %clang_cc1 -verify -fsyntax-only %s -std=c++23
+
+void func() { // expected-note {{'func' declared here}}
+ __builtin_invoke(); // expected-error {{too few arguments to function call,
expected at least 1, have 0}}
+}
+
+void nfunc() noexcept {}
+
+stru
@@ -0,0 +1,240 @@
+// RUN: %clang_cc1 -verify -fsyntax-only %s -std=c++23
+
+void func() { // expected-note {{'func' declared here}}
+ __builtin_invoke(); // expected-error {{too few arguments to function call,
expected at least 1, have 0}}
+}
+
+void nfunc() noexcept {}
+
+stru
EricWF wrote:
@philnik777 I'm encountering a number of test failures related to libc++'s
clang-tidy module when running the libc++ test suite with the new compiler:
> # .---command stdout
# |
/home/eric/llvm-project/build/libcxx/libcxx/test-suite-install/include/c++/v1/__type_trait
@@ -453,70 +455,35 @@ bool DeadCodeScan::isDeadCodeRoot(const clang::CFGBlock
*Block) {
return isDeadRoot;
}
-// Check if the given `DeadStmt` is a coroutine statement and is a substmt of
-// the coroutine statement. `Block` is the CFGBlock containing the `DeadStmt`.
-stati
https://github.com/yronglin updated
https://github.com/llvm/llvm-project/pull/146281
>From 5839b3d8dc65d0ea26769556974403f97098b4c3 Mon Sep 17 00:00:00 2001
From: yronglin
Date: Mon, 30 Jun 2025 00:48:24 +0800
Subject: [PATCH] Reapply [Analyzer][CFG] Correctly handle rebuilt default arg
and de
https://github.com/HighCommander4 edited
https://github.com/llvm/llvm-project/pull/146258
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HighCommander4 edited
https://github.com/llvm/llvm-project/pull/146258
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HighCommander4 edited
https://github.com/llvm/llvm-project/pull/146258
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HighCommander4 edited
https://github.com/llvm/llvm-project/pull/146258
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/efriedma-quic updated
https://github.com/llvm/llvm-project/pull/144970
>From ef713152a6fb5d2321330d8fbaa77970e8666b13 Mon Sep 17 00:00:00 2001
From: Eli Friedman
Date: Thu, 19 Jun 2025 18:29:49 -0700
Subject: [PATCH 1/2] [clang] Handle consteval constructors with default
ini
https://github.com/yronglin created
https://github.com/llvm/llvm-project/pull/146281
This PR reapply https://github.com/llvm/llvm-project/pull/127338.
Fixes: https://github.com/llvm/llvm-project/issues/128068,
https://github.com/llvm/llvm-project/issues/128195
>From 3a15187cc3250624a79d1c0427
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
Author: None (yronglin)
Changes
This PR reapply https://github.com/llvm/llvm-project/pull/127338.
Fixes: https://github.com/llvm/llvm-project/issues/128068,
https://github.com/llvm/llvm-project/issues/128195
---
Patch is 22.68
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (yronglin)
Changes
This PR reapply https://github.com/llvm/llvm-project/pull/127338.
Fixes: https://github.com/llvm/llvm-project/issues/128068,
https://github.com/llvm/llvm-project/issues/128195
---
Patch is 22.68 KiB, truncated to
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 HEAD~1 HEAD --extensions h,cpp --
clang/include/clang/AST/ParentMap.h clang/lib/AST/P
@@ -301,177 +735,284 @@ optimized to the equivalent of:
std::cout << a+5 << "\n";
}
-It should now be obvious why the value of `__int_32_0` remains unchanged
-throughout the function. It is important to recognize that `__int_32_0`
-does not directly correspond to `a`, bu
philnik777 wrote:
> @philnik777 I'm encountering a number of test failures related to libc++'s
> clang-tidy module when running the libc++ test suite with the new compiler:
>
> ```
> # .---command stdout
> # |
> /home/eric/llvm-project/build/libcxx/libcxx/test-suite-install/include
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Adrian Vogelsgesang (vogelsgesang)
Changes
Follow-up fixes to #142651
---
Full diff: https://github.com/llvm/llvm-project/pull/146282.diff
1 Files Affected:
- (modified) clang/docs/DebuggingCoroutines.rst (+9-9)
``diff
diff -
llvmbot wrote:
@llvm/pr-subscribers-coroutines
Author: Adrian Vogelsgesang (vogelsgesang)
Changes
Follow-up fixes to #142651
---
Full diff: https://github.com/llvm/llvm-project/pull/146282.diff
1 Files Affected:
- (modified) clang/docs/DebuggingCoroutines.rst (+9-9)
``diff
d
https://github.com/vogelsgesang created
https://github.com/llvm/llvm-project/pull/146282
Follow-up fixes to #142651
>From 21f5dad37ecae2465e9c135e70bec6c040449823 Mon Sep 17 00:00:00 2001
From: Adrian Vogelsgesang
Date: Sun, 29 Jun 2025 17:07:29 +
Subject: [PATCH] [NFC][docs][coro] Fix syn
https://github.com/zwuis approved this pull request.
https://github.com/llvm/llvm-project/pull/146282
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ashwinbanwari updated
https://github.com/llvm/llvm-project/pull/146247
>From f2ed0c7989d7e181004237a4fa2ba7ae1efe44ed Mon Sep 17 00:00:00 2001
From: Ashwin Banwari
Date: Sat, 28 Jun 2025 16:19:55 -0700
Subject: [PATCH 1/4] add err_main_in_named_module
---
clang/include/clan
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Amr Hesham (AmrDeveloper)
Changes
Upstream the GenericSelectionExpr for ComplexType
https://github.com/llvm/llvm-project/issues/141365
---
Full diff: https://github.com/llvm/llvm-project/pull/146265.diff
2 Files Affected:
- (modified)
https://github.com/AmrDeveloper created
https://github.com/llvm/llvm-project/pull/146265
Upstream the GenericSelectionExpr for ComplexType
https://github.com/llvm/llvm-project/issues/141365
>From 75b506657dc2ecda04a5fda1f76141346d9ec3ab Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Sun, 2
llvmbot wrote:
@llvm/pr-subscribers-clangir
Author: Amr Hesham (AmrDeveloper)
Changes
Upstream the GenericSelectionExpr for ComplexType
https://github.com/llvm/llvm-project/issues/141365
---
Full diff: https://github.com/llvm/llvm-project/pull/146265.diff
2 Files Affected:
- (modified
Author: David Green
Date: 2025-06-29T11:37:16+01:00
New Revision: dcc9e36b18264aef4008b88c4ae38e33151c3345
URL:
https://github.com/llvm/llvm-project/commit/dcc9e36b18264aef4008b88c4ae38e33151c3345
DIFF:
https://github.com/llvm/llvm-project/commit/dcc9e36b18264aef4008b88c4ae38e33151c3345.diff
L
https://github.com/davemgreen closed
https://github.com/llvm/llvm-project/pull/142559
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HazardyKnusperkeks approved this pull request.
https://github.com/llvm/llvm-project/pull/146256
___
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 `arc-builder` running on
`arc-worker` while building `clang,llvm` at step 6
"test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/3/builds/18242
Here is the relevant pie
@@ -1979,6 +1979,13 @@ void clang::inferNoReturnAttr(Sema &S, const Decl *D) {
if (!FD->hasAttr() && !FD->hasAttr() &&
isKnownToAlwaysThrow(FD)) {
NonConstFD->addAttr(InferredNoReturnAttr::CreateImplicit(S.Context));
+
+// Conditionally, emit the suggestion warn
vogelsgesang wrote:
Thanks for reporting. I actually ended up feeding this document to AI and asked
it to do a proof-read. It found a couple more smaller issues. Those are fixed
in #146282 now
https://github.com/llvm/llvm-project/pull/142651
___
cfe-
https://github.com/snarang181 updated
https://github.com/llvm/llvm-project/pull/146234
>From 588ae1c6c4b965a6cd57044284845a62c75da9c2 Mon Sep 17 00:00:00 2001
From: Samarth Narang
Date: Sat, 28 Jun 2025 15:31:37 -0400
Subject: [PATCH 1/2] Emit a suggestion to explicitly mark the function with
https://github.com/vogelsgesang updated
https://github.com/llvm/llvm-project/pull/146282
>From b547ef22612bdd66abc8076df40924074230c9e3 Mon Sep 17 00:00:00 2001
From: Adrian Vogelsgesang
Date: Sun, 29 Jun 2025 17:07:29 +
Subject: [PATCH] [NFC][docs][coro] Fix syntax & typos
Follow-up fixes
https://github.com/tcottin updated
https://github.com/llvm/llvm-project/pull/140498
>From 8fadd8d51fa3d96c7fb82b9d749ef3f35441ac64 Mon Sep 17 00:00:00 2001
From: Tim Cottin
Date: Mon, 19 May 2025 06:26:36 +
Subject: [PATCH 1/3] [clangd] Improve Markup Rendering
---
clang-tools-extra/clang
llvmbot wrote:
@llvm/pr-subscribers-clangir
Author: Amr Hesham (AmrDeveloper)
Changes
Implement ArraySubscript for ComplexType
https://github.com/llvm/llvm-project/issues/141365
---
Full diff: https://github.com/llvm/llvm-project/pull/146283.diff
2 Files Affected:
- (modified) clang/l
https://github.com/AmrDeveloper created
https://github.com/llvm/llvm-project/pull/146283
Implement ArraySubscript for ComplexType
https://github.com/llvm/llvm-project/issues/141365
>From 0d1cec7c321351ed1d685ca2708683903aaf98d5 Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Sun, 29 Jun 202
Author: Adrian Vogelsgesang
Date: 2025-06-29T21:25:35+02:00
New Revision: 40525fb4c78a9020c0cb39c9ec4fb0b14e88eba4
URL:
https://github.com/llvm/llvm-project/commit/40525fb4c78a9020c0cb39c9ec4fb0b14e88eba4
DIFF:
https://github.com/llvm/llvm-project/commit/40525fb4c78a9020c0cb39c9ec4fb0b14e88eba4
https://github.com/vogelsgesang closed
https://github.com/llvm/llvm-project/pull/146282
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/146287
None
>From 7812277876bfa5ac75c110d582dea98924339858 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Sun, 29 Jun 2025 21:19:22 +0200
Subject: [PATCH] [clang][bytecode][NFC] Remove some dead c
Author: Baranov Victor
Date: 2025-06-29T22:34:32+03:00
New Revision: a3a60e03e2bf7b79683517584a9a7b3e4c8cd297
URL:
https://github.com/llvm/llvm-project/commit/a3a60e03e2bf7b79683517584a9a7b3e4c8cd297
DIFF:
https://github.com/llvm/llvm-project/commit/a3a60e03e2bf7b79683517584a9a7b3e4c8cd297.diff
https://github.com/efriedma-quic created
https://github.com/llvm/llvm-project/pull/146288
APValue::ConstexprUnknown() constructs a broken LValue that doesn't have an
lvalue path, which confuses later error handling. It turns out we don't
actually use the result of createConstexprUnknownAPValu
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Eli Friedman (efriedma-quic)
Changes
APValue::ConstexprUnknown() constructs a broken LValue that doesn't have an
lvalue path, which confuses later error handling. It turns out we don't
actually use the result of createConstexprUnknownAPV
https://github.com/vbvictor closed
https://github.com/llvm/llvm-project/pull/126434
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
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 HEAD~1 HEAD --extensions cpp --
clang/lib/AST/ExprConstant.cpp clang/test/SemaCXX/con
https://github.com/changpeng created
https://github.com/llvm/llvm-project/pull/146289
None
>From fc2039dcf338f04977b2a0b43e8714cb5eb0f440 Mon Sep 17 00:00:00 2001
From: Changpeng Fang
Date: Fri, 27 Jun 2025 14:59:33 -0700
Subject: [PATCH] AMDGPU: Implement intrinsic/builtins for gfx1250 load
Author: Owen Pan
Date: 2025-06-29T12:41:34-07:00
New Revision: fa058647fe3ad7834f9d99af7597b00990afc186
URL:
https://github.com/llvm/llvm-project/commit/fa058647fe3ad7834f9d99af7597b00990afc186
DIFF:
https://github.com/llvm/llvm-project/commit/fa058647fe3ad7834f9d99af7597b00990afc186.diff
LOG:
https://github.com/owenca closed
https://github.com/llvm/llvm-project/pull/146256
___
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: Changpeng Fang (changpeng)
Changes
---
Patch is 37.64 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/146289.diff
11 Files Affected:
- (modified) clang/include/clang/Basic/BuiltinsAMDGPU.def
https://github.com/vbvictor updated
https://github.com/llvm/llvm-project/pull/144274
>From dfb2abd2c2711c87a22e8f8c93aa82f2621518cb Mon Sep 17 00:00:00 2001
From: Victor Baranov
Date: Sun, 15 Jun 2025 22:20:54 +0300
Subject: [PATCH 1/3] [Clang] Fix '-Wformat-overflow' FP when floats had
field-
vbvictor wrote:
Ping
https://github.com/llvm/llvm-project/pull/141304
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/xlauko edited
https://github.com/llvm/llvm-project/pull/146283
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/xlauko approved this pull request.
lgtm
https://github.com/llvm/llvm-project/pull/146283
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -442,3 +442,35 @@ bool foo19(double _Complex a, double _Complex b) {
// OGCG: %[[CMP_IMAG:.*]] = fcmp oeq double %[[A_IMAG]], %[[B_IMAG]]
// OGCG: %[[RESULT:.*]] = and i1 %[[CMP_REAL]], %[[CMP_IMAG]]
+
+void foo24() {
+ int _Complex arr[2];
+ int _Complex r = arr[1];
---
Timm =?utf-8?q?Bäder?=
Message-ID:
In-Reply-To:
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/146286
>From a034db206e38bc4473bb47e152a7078e7348649a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Wed, 25 Jun 2025 10:27:56 +0200
Subject: [PAT
https://github.com/steakhal approved this pull request.
Looks really good. Sweet!
Thank you for this patch. If it works then it works.
There is only one thing though.
We have a couple uses of %clang_cc1 and we could substitute when we are at it.
See an example here https://github.com/llvm/llvm-
@@ -170,7 +170,7 @@ getAArch64MicroArchFeaturesFromMtune(const Driver &D,
StringRef Mtune,
// 'cyclone' and later have zero-cycle register moves and zeroing.
if (MtuneLowerCase == "cyclone" ||
StringRef(MtuneLowerCase).starts_with("apple")) {
-Features.push_back(
https://github.com/davemgreen commented:
The llvm test look OK if you wanted to push those separately.
https://github.com/llvm/llvm-project/pull/146260
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listi
https://github.com/davemgreen edited
https://github.com/llvm/llvm-project/pull/146260
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -170,7 +170,7 @@ getAArch64MicroArchFeaturesFromMtune(const Driver &D,
StringRef Mtune,
// 'cyclone' and later have zero-cycle register moves and zeroing.
if (MtuneLowerCase == "cyclone" ||
StringRef(MtuneLowerCase).starts_with("apple")) {
-Features.push_back(
davemgreen wrote:
The best kind of patch.
> When compiling with -march=armv9-a+nosve we found that Clang still defines
> the __ARM_FEATURE_SVE2 macro
Could we add a test for this, in case it comes up again in the future? Negative
features have not worked super well in the past and could do wi
https://github.com/vgvassilev commented:
LGTM!
https://github.com/llvm/llvm-project/pull/144970
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -14423,6 +14423,9 @@ void Sema::ActOnUninitializedDecl(Decl *RealDecl) {
Var->getType().getAddressSpace() == LangAS::hlsl_input)
return;
+if (getLangOpts().CPlusPlus)
+ ActOnCXXEnterDeclInitializer(nullptr, Var);
vgvassilev wrote:
``
@@ -14458,6 +14461,9 @@ void Sema::ActOnUninitializedDecl(Decl *RealDecl) {
}
CheckCompleteVariableDeclaration(Var);
+
+if (getLangOpts().CPlusPlus)
+ ActOnCXXExitDeclInitializer(nullptr, Var);
vgvassilev wrote:
```suggestion
ActOnCXXEx
https://github.com/vgvassilev edited
https://github.com/llvm/llvm-project/pull/144970
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/philnik777 updated
https://github.com/llvm/llvm-project/pull/116709
>From e0bb550672326e21a556ac727f2e2a6ef65f0469 Mon Sep 17 00:00:00 2001
From: Nikolas Klauser
Date: Tue, 1 Oct 2024 11:08:02 +0200
Subject: [PATCH 01/13] [Clang] Add __builtin_invoke and recognize std::invoke
https://github.com/philnik777 updated
https://github.com/llvm/llvm-project/pull/116709
>From e0bb550672326e21a556ac727f2e2a6ef65f0469 Mon Sep 17 00:00:00 2001
From: Nikolas Klauser
Date: Tue, 1 Oct 2024 11:08:02 +0200
Subject: [PATCH 01/13] [Clang] Add __builtin_invoke and recognize std::invoke
@@ -18,6 +18,11 @@
namespace llvm {
class WebAssemblyTargetStreamer;
+struct BranchHintRecord {
+ MCSymbol *func_sym;
+ SmallVector, 0> hints;
aengelke wrote:
```suggestion
SmallVector, 0> Hints;
```
https://github.com/llvm/llvm-project/pull/146230
_
@@ -18,6 +18,11 @@
namespace llvm {
class WebAssemblyTargetStreamer;
+struct BranchHintRecord {
+ MCSymbol *func_sym;
aengelke wrote:
Naming: `FuncSym`
https://github.com/llvm/llvm-project/pull/146230
___
cfe-comm
@@ -2562,8 +2565,22 @@ void
WebAssemblyCFGStackify::rewriteDepthImmediates(MachineFunction &MF) {
MO = MachineOperand::CreateImm(getDelegateDepth(Stack, MO.getMBB()));
else if (MI.getOpcode() == WebAssembly::RETHROW)
MO = MachineOperand::CreateImm(g
@@ -28,6 +33,9 @@ class LLVM_LIBRARY_VISIBILITY WebAssemblyAsmPrinter final :
public AsmPrinter {
WebAssemblyFunctionInfo *MFI;
bool signaturesEmitted = false;
+ // vec idx == local func_idx
+ std::vector> branchHints;
aengelke wrote:
Use SmallVector.
@@ -55,6 +55,15 @@ using namespace llvm;
#define DEBUG_TYPE "asm-printer"
extern cl::opt WasmKeepRegisters;
+// values are divided by 1<<31 to calculate the probability
+static cl::opt WasmHighBranchProb(
+"wasm-branch-prob-high", cl::Hidden,
+cl::desc("lowest branch p
@@ -697,6 +738,34 @@ void WebAssemblyAsmPrinter::emitInstruction(const
MachineInstr *MI) {
WebAssemblyMCInstLower MCInstLowering(OutContext, *this);
MCInst TmpInst;
MCInstLowering.lower(MI, TmpInst);
+if (Subtarget->hasBranchHinting() &&
+MI->getOpcode(
@@ -697,6 +738,34 @@ void WebAssemblyAsmPrinter::emitInstruction(const
MachineInstr *MI) {
WebAssemblyMCInstLower MCInstLowering(OutContext, *this);
MCInst TmpInst;
MCInstLowering.lower(MI, TmpInst);
+if (Subtarget->hasBranchHinting() &&
+MI->getOpcode(
1 - 100 of 139 matches
Mail list logo