trungnt2910 wrote:
Tried to give [x86
unwinding](https://github.com/trungnt2910/libunwind-haiku/commit/61a36e3d8ed6da29653bba63165093cadc5)
a shot. The general idea is correct, but it is currently impossible to unwind
past a `syscall` due to the system relying on another [magic `commpage`
@@ -0,0 +1,19 @@
+// RUN: %clang_cc1 -triple loongarch64-linux-gnu -fsyntax-only -verify %s
+
+// expected-error@+1 {{function multiversioning is not supported on the
current target}}
+void __attribute__((target("default"))) bar(void){}
+
+// expected-error@+1 {{target(arch=..)
@@ -0,0 +1,19 @@
+// RUN: %clang_cc1 -triple loongarch64-linux-gnu -fsyntax-only -verify %s
+
+// expected-error@+1 {{function multiversioning is not supported on the
current target}}
+void __attribute__((target("default"))) bar(void){}
+
+// expected-error@+1 {{target(arch=..)
@@ -388,6 +388,76 @@ bool LoongArchTargetInfo::handleTargetFeatures(
return true;
}
+enum class AttrFeatureKind { Arch, Tune, NoFeature, Feature, Invalid };
+
+static std::pair
+getAttrFeatureTypeAndValue(llvm::StringRef AttrFeature) {
+ if (auto Split = AttrFeature.split("
https://github.com/Ami-zhang updated
https://github.com/llvm/llvm-project/pull/140700
>From 3355685f4debcd901f27efccc346de0f302a796c Mon Sep 17 00:00:00 2001
From: Ami-zhang
Date: Wed, 14 May 2025 15:21:54 +0800
Subject: [PATCH 1/2] [Clang][LoongArch] Support target attribute for function
This
fanju110 wrote:
> Thank you for seeing this through and making all the little changes. I have
> requested reviews from @MaskRay and @aeubanks for the clang side of things.
hello,I noticed that this PR has been awaiting clang review for three weeks. I
still haven't gotten a comment from them.wo
@@ -262,6 +264,8 @@ TEST(IncludeCleaner, GenerateMissingHeaderDiags) {
TU.Filename = "main.cpp";
TU.AdditionalFiles["a.h"] = guard("#include \"b.h\"");
TU.AdditionalFiles["b.h"] = guard("void b();");
+ TU.AdditionalFiles["a_angled.h"] = guard("#include \"b_angled.h\"");
@@ -44,7 +44,11 @@ define void @varargs_caller() nounwind {
; CHECK-NEXT:stp xzr, x30, [sp, #24] // 8-byte Folded Spill
; CHECK-NEXT:stp x9, x8, [sp]
; CHECK-NEXT:str xzr, [sp, #16]
-; CHECK-NEXT:bl varargs_callee
+; CHECK-NEXT:.weak_anti_dep varargs_callee
https://github.com/fanju110 updated
https://github.com/llvm/llvm-project/pull/136098
>From 9494c9752400e4708dbc8b6a5ca4993ea9565e95 Mon Sep 17 00:00:00 2001
From: fanyikang
Date: Thu, 17 Apr 2025 15:17:07 +0800
Subject: [PATCH 01/13] Add support for IR PGO
(-fprofile-generate/-fprofile-use=/fi
zyn0217 wrote:
@cor3ntin it's ready :)
https://github.com/llvm/llvm-project/pull/122423
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/zyn0217 updated
https://github.com/llvm/llvm-project/pull/122423
>From 56bacf47c53aca276ae4fa6aa2972b7eda152ddd Mon Sep 17 00:00:00 2001
From: Younan Zhang
Date: Fri, 10 Jan 2025 09:46:24 +0800
Subject: [PATCH 01/17] Reapply "[Clang] Implement CWG2369 "Ordering between
const
https://github.com/zyn0217 updated
https://github.com/llvm/llvm-project/pull/122423
>From 56bacf47c53aca276ae4fa6aa2972b7eda152ddd Mon Sep 17 00:00:00 2001
From: Younan Zhang
Date: Fri, 10 Jan 2025 09:46:24 +0800
Subject: [PATCH 01/16] Reapply "[Clang] Implement CWG2369 "Ordering between
const
https://github.com/dtcxzyw closed
https://github.com/llvm/llvm-project/pull/98746
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HighCommander4 requested changes to this pull request.
https://github.com/llvm/llvm-project/pull/140594
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
HighCommander4 wrote:
> > But since we have both config options, maybe there is a reason for
> > overwrites in this direction as well.
>
> Hmm, I was mainly focusing on the quoted -> angled case, hence why only the
> `AngledHeaders` filter is used. But I have to agree that following the config
https://github.com/vbvictor updated
https://github.com/llvm/llvm-project/pull/136571
>From ac83f555e2667c516bdd194d9006a2a7bc4d9af7 Mon Sep 17 00:00:00 2001
From: Victor Baranov
Date: Mon, 21 Apr 2025 18:29:28 +0300
Subject: [PATCH 1/2] added Allowed types to qualified-auto
---
.../readabilit
https://github.com/vbvictor edited
https://github.com/llvm/llvm-project/pull/134375
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -80,13 +78,47 @@ void ExceptionEscapeCheck::check(const
MatchFinder::MatchResult &Result) {
if (!MatchedDecl)
return;
- if (Tracer.analyze(MatchedDecl).getBehaviour() ==
- utils::ExceptionAnalyzer::State::Throwing)
-// FIXME: We should provide more informat
@@ -142,6 +142,12 @@ New checks
Finds potentially erroneous calls to ``reset`` method on smart pointers when
the pointee type also has a ``reset`` method.
+- New :doc:`portability-avoid-pragma-once
EugeneZelenko wrote:
Please keep alphabetical order (by c
@@ -0,0 +1,92 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
UTC_ARGS: --check-globals all --version 5
+// RUN: %clang --target=loongarch64-linux-gnu %s -S -emit-llvm -o - \
+// RUN: | FileCheck %s
+
+__attribute__((target("div32")))
+// CHECK
brad0 wrote:
cc @MaskRay
https://github.com/llvm/llvm-project/pull/135367
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
brad0 wrote:
Yes, that is fine. Thanks.
https://github.com/llvm/llvm-project/pull/135367
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/heiher approved this pull request.
LGTM with nits.
https://github.com/llvm/llvm-project/pull/140700
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
trungnt2910 wrote:
The latest commit is known to build well on `i386`. Signal frame unwinding is
still not supported, but I believe this is out of scope for this PR.
https://github.com/llvm/llvm-project/pull/135367
___
cfe-commits mailing list
cfe-com
@@ -388,6 +388,76 @@ bool LoongArchTargetInfo::handleTargetFeatures(
return true;
}
+enum class AttrFeatureKind { Arch, Tune, NoFeature, Feature, Invalid };
+
+static std::pair
+getAttrFeatureTypeAndValue(llvm::StringRef AttrFeature) {
+ if (auto Split = AttrFeature.split("
https://github.com/heiher edited
https://github.com/llvm/llvm-project/pull/140700
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/trungnt2910 updated
https://github.com/llvm/llvm-project/pull/135367
>From 7d363093d85084e8f7f4c3994f207a36781ededc Mon Sep 17 00:00:00 2001
From: Trung Nguyen
Date: Fri, 11 Apr 2025 23:53:14 +1000
Subject: [PATCH] [libunwind][Haiku] Fix signal frame unwinding
The current un
https://github.com/vbvictor closed
https://github.com/llvm/llvm-project/pull/132543
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Baranov Victor
Date: 2025-05-26T06:25:19+03:00
New Revision: eda3e96b401a9b86132e39432e41e2000d1ab382
URL:
https://github.com/llvm/llvm-project/commit/eda3e96b401a9b86132e39432e41e2000d1ab382
DIFF:
https://github.com/llvm/llvm-project/commit/eda3e96b401a9b86132e39432e41e2000d1ab382.diff
Author: Feng Zou
Date: 2025-05-26T10:42:53+08:00
New Revision: 641b2a58ea55b5532639ca7eb3a8a5795c87bd5d
URL:
https://github.com/llvm/llvm-project/commit/641b2a58ea55b5532639ca7eb3a8a5795c87bd5d
DIFF:
https://github.com/llvm/llvm-project/commit/641b2a58ea55b5532639ca7eb3a8a5795c87bd5d.diff
LOG:
HerrCai0907 wrote:
Maybe it is more straightforward to detect function which return ref of member
variable like `const std::vector& get() const { return v; }` and bypass
the SideEffect check.
https://github.com/llvm/llvm-project/pull/127377
___
cfe-c
https://github.com/Ami-zhang closed
https://github.com/llvm/llvm-project/pull/141192
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Ami-zhang
Date: 2025-05-26T10:53:17+08:00
New Revision: 7af14e5118dcc308f32857f78886bbad12ff9e92
URL:
https://github.com/llvm/llvm-project/commit/7af14e5118dcc308f32857f78886bbad12ff9e92
DIFF:
https://github.com/llvm/llvm-project/commit/7af14e5118dcc308f32857f78886bbad12ff9e92.diff
LOG
https://github.com/Ami-zhang updated
https://github.com/llvm/llvm-project/pull/141192
>From 31897be26bf2f2cdb43883adc9bb43dee7008887 Mon Sep 17 00:00:00 2001
From: Ami-zhang
Date: Fri, 23 May 2025 10:21:00 +0800
Subject: [PATCH] [NFC][Options] Add same-address constraint to the description
of
https://github.com/fzou1 closed https://github.com/llvm/llvm-project/pull/140874
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/141448
These are identified by misc-include-cleaner. I've filtered out those
that break builds. Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
compiler-spec
https://github.com/KanRobert approved this pull request.
https://github.com/llvm/llvm-project/pull/140874
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-backend-loongarch
Author: Kazu Hirata (kazutakahirata)
Changes
These are identified by misc-include-cleaner. I've filtered out those
that break builds. Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
llvmbot wrote:
@llvm/pr-subscribers-backend-hexagon
Author: Kazu Hirata (kazutakahirata)
Changes
These are identified by misc-include-cleaner. I've filtered out those
that break builds. Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
c
https://github.com/HerrCai0907 requested changes to this pull request.
https://github.com/llvm/llvm-project/pull/127377
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mylai-mtk wrote:
> For missing prototypes, we can statically detect calls which pass arguments
> to function without a prototype. Generating code we know will never work,
> without a diagnostic, is a bad idea.
@efriedma-quic If what you need to see are diagnostics, I can add them in this
PR.
https://github.com/HerrCai0907 approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/140388
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Connector Switch
Date: 2025-05-26T10:13:14+08:00
New Revision: 64bc35f33e9d330e1bfff07436010b43ce332d9b
URL:
https://github.com/llvm/llvm-project/commit/64bc35f33e9d330e1bfff07436010b43ce332d9b
DIFF:
https://github.com/llvm/llvm-project/commit/64bc35f33e9d330e1bfff07436010b43ce332d9b.di
@@ -80,13 +78,47 @@ void ExceptionEscapeCheck::check(const
MatchFinder::MatchResult &Result) {
if (!MatchedDecl)
return;
- if (Tracer.analyze(MatchedDecl).getBehaviour() ==
- utils::ExceptionAnalyzer::State::Throwing)
-// FIXME: We should provide more informat
llvmbot wrote:
@llvm/pr-subscribers-backend-x86
Author: Kazu Hirata (kazutakahirata)
Changes
These are identified by misc-include-cleaner. I've filtered out those
that break builds. Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
compi
llvmbot wrote:
@llvm/pr-subscribers-backend-aarch64
Author: Kazu Hirata (kazutakahirata)
Changes
These are identified by misc-include-cleaner. I've filtered out those
that break builds. Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, which likely cause platform- or
c
llvmbot wrote:
@llvm/pr-subscribers-backend-risc-v
@llvm/pr-subscribers-backend-arm
Author: Kazu Hirata (kazutakahirata)
Changes
These are identified by misc-include-cleaner. I've filtered out those
that break builds. Also, I'm staying away from llvm-config.h,
config.h, and Compiler.h, w
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/141447.diff
1 Files Affected:
- (modified) clang/unittests/AST/ASTImporterFixtures.cpp (+2-3)
``diff
diff --git a/clang/unittests/
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/141446.diff
1 Files Affected:
- (modified) clang/unittests/Analysis/ExprMutationAnalyzerTest.cpp (+1-3)
``diff
diff --git a/clang/
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/141447
None
>From acb3fc1898cc1ab8a388a45594f84fa9f61ed644 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Sun, 25 May 2025 10:32:08 -0700
Subject: [PATCH] [AST] Use llvm::none_of (NFC)
---
clang/unittests/A
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/141446
None
>From 5042f47e7c990892c13e4de21ae7a4ff1baec308 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Sun, 25 May 2025 10:35:44 -0700
Subject: [PATCH] [Analysis] Use llvm::erase_if (NFC)
---
clang/unitt
@@ -51,7 +51,13 @@ static std::string
getFullPrefix(ArrayRef Signature) {
namespace {
AST_MATCHER(Expr, hasSideEffects) {
- return Node.HasSideEffects(Finder->getASTContext());
+ bool CheckArg = true;
+ if (const CXXMemberCallExpr *Call = dyn_cast(&Node)) {
+if (Call->
https://github.com/c8ef closed https://github.com/llvm/llvm-project/pull/141405
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HerrCai0907 edited
https://github.com/llvm/llvm-project/pull/140388
___
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-backend-risc-v
Author: Jim Lin (tclin914)
Changes
This patch implements clang intrinsic support for XAndesVDot.
The document for the intrinsics can be found at:
https://github.com/andestech/andes-vector-intrinsic-doc/blob/ast-
https://github.com/HerrCai0907 edited
https://github.com/llvm/llvm-project/pull/134375
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -80,13 +78,47 @@ void ExceptionEscapeCheck::check(const
MatchFinder::MatchResult &Result) {
if (!MatchedDecl)
return;
- if (Tracer.analyze(MatchedDecl).getBehaviour() ==
- utils::ExceptionAnalyzer::State::Throwing)
-// FIXME: We should provide more informat
https://github.com/HerrCai0907 commented:
Could you add some separate tests for this diagnostic? I am not sure current
test case is covered all scenarios in this PR
https://github.com/llvm/llvm-project/pull/134375
___
cfe-commits mailing list
cfe-com
@@ -80,13 +78,47 @@ void ExceptionEscapeCheck::check(const
MatchFinder::MatchResult &Result) {
if (!MatchedDecl)
return;
- if (Tracer.analyze(MatchedDecl).getBehaviour() ==
- utils::ExceptionAnalyzer::State::Throwing)
-// FIXME: We should provide more informat
https://github.com/HerrCai0907 edited
https://github.com/llvm/llvm-project/pull/134375
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -80,13 +78,47 @@ void ExceptionEscapeCheck::check(const
MatchFinder::MatchResult &Result) {
if (!MatchedDecl)
return;
- if (Tracer.analyze(MatchedDecl).getBehaviour() ==
- utils::ExceptionAnalyzer::State::Throwing)
-// FIXME: We should provide more informat
@@ -377,6 +402,8 @@ Task
h_ShouldDiag(const int a,
// CHECK-MESSAGES: :[[@LINE-2]]:45: warning: an exception may be thrown in
function 'h_ShouldDiag' which should not throw exceptions
co_yield a / b;
}
+// CHECK-MESSAGES: :133:7: note: frame #0: unhandled exception may be
@@ -80,13 +78,47 @@ void ExceptionEscapeCheck::check(const
MatchFinder::MatchResult &Result) {
if (!MatchedDecl)
return;
- if (Tracer.analyze(MatchedDecl).getBehaviour() ==
- utils::ExceptionAnalyzer::State::Throwing)
-// FIXME: We should provide more informat
fzou1 wrote:
@KanRobert , any further comments?
https://github.com/llvm/llvm-project/pull/140874
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
brad0 wrote:
> You mean adding support for `i386`?
Yes.
> From what I understand about the linked issue, x86 is failing due to some
> signal frame unwinding function prototypes got leaked to general Haiku code,
> `_LIBUNWIND_TARGET_HAIKU`, but the implementation part got an additional
> `_LI
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: Jake Egan (jakeegan)
Changes
If the runtime path is not found (by getTargetSubDirPath()), since per target
runtime directory is enabled on AIX, we should fall back to the target
subdirectory rather than the OS subdirectory.
---
Fu
https://github.com/jakeegan ready_for_review
https://github.com/llvm/llvm-project/pull/141439
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jakeegan updated
https://github.com/llvm/llvm-project/pull/141439
>From b044f81c6d1ed67ce7ee27bce7a62d36b3841bad Mon Sep 17 00:00:00 2001
From: Jake Egan
Date: Sun, 25 May 2025 19:40:59 -0400
Subject: [PATCH 1/2] Fix rt dir fallback
---
clang/lib/Driver/ToolChain.cpp
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 c,cpp --
clang/lib/Driver/ToolChain.cpp clang/test/Driver/ai
trungnt2910 wrote:
You mean adding support for `i386`?
>From what I understand about the linked issue, x86 is failing due to some
>signal frame unwinding function prototypes got leaked to general Haiku code,
>`_LIBUNWIND_TARGET_HAIKU`, but the implementation part got an additional
>`_LIBUNWIN
https://github.com/jakeegan created
https://github.com/llvm/llvm-project/pull/141439
If the runtime path is not found (by getTargetSubDirPath()), since per target
runtime directory is enabled on AIX, we should fall back to the target
subdirectory rather than the OS subdirectory.
>From b044f81
brad0 wrote:
@trungnt2910 It would be good to also fix i386 while you're at it.
https://github.com/haikuports/haikuports/commit/7d537e1161adc0ad1860c030e303fad54104d196
https://github.com/llvm/llvm-project/pull/135367
___
cfe-commits mailing list
cfe-
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`sanitizer-x86_64-linux-fast` running on `sanitizer-buildbot4` while building
`clang` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/169/builds/11756
Here is the relevant piece
llvmbot wrote:
/pull-request llvm/llvm-project#141433
https://github.com/llvm/llvm-project/pull/141334
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
owenca wrote:
/cherry-pick b7f5950bb3b97eac979925a3bbf015530c26962e
https://github.com/llvm/llvm-project/pull/141334
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Owen Pan
Date: 2025-05-25T15:40:45-07:00
New Revision: b7f5950bb3b97eac979925a3bbf015530c26962e
URL:
https://github.com/llvm/llvm-project/commit/b7f5950bb3b97eac979925a3bbf015530c26962e
DIFF:
https://github.com/llvm/llvm-project/commit/b7f5950bb3b97eac979925a3bbf015530c26962e.diff
LOG:
https://github.com/owenca closed
https://github.com/llvm/llvm-project/pull/141334
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
aaronpuchert wrote:
@melver, this request came from @AaronBallman. But since you're also working on
Thread Safety Analysis in C, you might have some thoughts of your own about
this.
I haven't checked any real-world code yet. (Specifically, how many functions
would be affected by this exclusio
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/Analysis/ThreadSafety.cpp
clang/test/SemaC
https://github.com/aaronpuchert created
https://github.com/llvm/llvm-project/pull/141432
The analysis already excludes functions with a zero-argument acquire or release
attribute. According to the requirements enforced by
-Wthread-safety-attributes, these are methods of a capability class wher
https://github.com/aaronpuchert edited
https://github.com/llvm/llvm-project/pull/137133
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -235,6 +266,20 @@ class FactSet {
return false;
}
+ std::optional replaceLock(FactManager &FM, iterator It,
+std::unique_ptr Entry) {
+if (It == end())
+ return std::nullopt;
+FactID F = FM.newFact(std::move(Entry));
+
https://github.com/aaronpuchert approved this pull request.
I think this looks good, thanks for your contribution!
https://github.com/llvm/llvm-project/pull/137133
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/m
Author: Kazu Hirata
Date: 2025-05-25T13:28:50-07:00
New Revision: 403c72265766c1c3e7bc93f8d358088f184f2689
URL:
https://github.com/llvm/llvm-project/commit/403c72265766c1c3e7bc93f8d358088f184f2689
DIFF:
https://github.com/llvm/llvm-project/commit/403c72265766c1c3e7bc93f8d358088f184f2689.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/141415
___
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/141334
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3231,6 +3241,230 @@ static QualType builtinCommonTypeImpl(Sema &S,
TemplateName BaseTemplate,
}
}
+static QualType CopyCV(QualType From, QualType To) {
+ if (From.isConstQualified())
+To.addConst();
+ if (From.isVolatileQualified())
+To.addVolatile();
+ retur
https://github.com/perry-ca closed
https://github.com/llvm/llvm-project/pull/141110
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Sean Perry
Date: 2025-05-25T15:07:20-04:00
New Revision: d2eec93f7c652946e98b4c872ddf1d353b28dabe
URL:
https://github.com/llvm/llvm-project/commit/d2eec93f7c652946e98b4c872ddf1d353b28dabe
DIFF:
https://github.com/llvm/llvm-project/commit/d2eec93f7c652946e98b4c872ddf1d353b28dabe.diff
LO
https://github.com/tgymnich approved this pull request.
https://github.com/llvm/llvm-project/pull/141415
___
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 `lldb-aarch64-windows`
running on `linaro-armv8-windows-msvc-05` while building `clang` at step 6
"test".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/141/builds/8996
Here is the relevant piece of
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/141369
>From 3a8bcd052d25d138b3a9a53bbcc69d48500b4b41 Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Sat, 24 May 2025 14:18:06 +0200
Subject: [PATCH 1/3] [CIR] Upstream global initialization for ComplexType
--
@@ -276,4 +276,38 @@ def ConstPtrAttr : CIR_Attr<"ConstPtr", "ptr",
[TypedAttrInterface]> {
}];
}
+//===--===//
+// ConstComplexAttr
+//===---
@@ -226,6 +227,42 @@ mlir::Value CIRAttrToValue::visitCirAttr(cir::IntAttr
intAttr) {
loc, converter->convertType(intAttr.getType()), intAttr.getValue());
}
+/// FPAttr visitor.
+mlir::Value CIRAttrToValue::visitCirAttr(cir::FPAttr fltAttr) {
+ mlir::Location loc = par
@@ -385,6 +385,13 @@ mlir::Type CIRGenTypes::convertType(QualType type) {
break;
}
+ case Type::Complex: {
+const ComplexType *ct = cast(ty);
+mlir::Type elementTy = convertType(ct->getElementType());
xlauko wrote:
```suggestion
const auto
@@ -231,7 +231,8 @@ static LogicalResult checkConstantTypes(mlir::Operation
*op, mlir::Type opType,
}
if (isa(attrType)) {
-if (isa(opType))
+if (isa(
+opType))
return success();
return op->emitOpError("zero expects struct or array type");
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/141420
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2025-05-25T10:55:36-07:00
New Revision: ba007a60d07fb4ac685c8bca7b7a18b870e287b2
URL:
https://github.com/llvm/llvm-project/commit/ba007a60d07fb4ac685c8bca7b7a18b870e287b2
DIFF:
https://github.com/llvm/llvm-project/commit/ba007a60d07fb4ac685c8bca7b7a18b870e287b2.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/141419
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2025-05-25T10:55:32-07:00
New Revision: 12af64d0d7dedfcee6da3c458edda64884e8f3bb
URL:
https://github.com/llvm/llvm-project/commit/12af64d0d7dedfcee6da3c458edda64884e8f3bb
DIFF:
https://github.com/llvm/llvm-project/commit/12af64d0d7dedfcee6da3c458edda64884e8f3bb.diff
L
1 - 100 of 197 matches
Mail list logo