https://github.com/Losy001 updated
https://github.com/llvm/llvm-project/pull/134930
>From 4a3b446a8081636219c704d0a2bbba5af567f5ca Mon Sep 17 00:00:00 2001
From: Losy001 <64610343+losy...@users.noreply.github.com>
Date: Tue, 8 Apr 2025 22:41:03 +0200
Subject: [PATCH 1/2] Implement mangling for m
Losy001 wrote:
I finally got around to add tests.
https://github.com/llvm/llvm-project/pull/134930
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2025-04-19T13:35:18-07:00
New Revision: 94733492b720c2e65a8fe9bd2179a35a7b7d9916
URL:
https://github.com/llvm/llvm-project/commit/94733492b720c2e65a8fe9bd2179a35a7b7d9916
DIFF:
https://github.com/llvm/llvm-project/commit/94733492b720c2e65a8fe9bd2179a35a7b7d9916.diff
L
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/136451.diff
6 Files Affected:
- (modified) clang/lib/Analysis/CFG.cpp (+1-2)
- (modified) clang/lib/Basic/Module.cpp (+1-2)
- (modified) cl
@@ -733,11 +733,16 @@ static llvm::Triple computeTargetTriple(const Driver &D,
Target.setEnvironment(llvm::Triple::GNUX32);
} else if (A->getOption().matches(options::OPT_m32) ||
A->getOption().matches(options::OPT_maix32)) {
- AT = Target.get32B
https://github.com/DanielCChen updated
https://github.com/llvm/llvm-project/pull/136202
>From ca318afb810504d248c8bedeb13e2f742a446c37 Mon Sep 17 00:00:00 2001
From: Daniel Chen
Date: Thu, 17 Apr 2025 17:06:27 -0400
Subject: [PATCH 1/4] Enable -m32, -maix32 and -maix64 for Flang on AIX.
---
c
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`clang-ppc64le-linux-test-suite` running on `ppc64le-clang-test-suite` while
building `clang` at step 6 "test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/95/builds/122
llvmbot wrote:
@llvm/pr-subscribers-clangd
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
- **[clang] Use llvm::unique (NFC)**
- **[clangd] Use llvm::unique (NFC)**
- **[PBQP] Use llvm::interleaved (NFC)**
---
Full diff: https://github.com/llvm/llvm-project/pull/
kazutakahirata wrote:
Oops. I didn't meant to upload multiple patches in one PR.
https://github.com/llvm/llvm-project/pull/136461
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/123609
>From 7b8cde7a99dddcca04921a5e15dc7f1e4793928b Mon Sep 17 00:00:00 2001
From: jofernau
Date: Mon, 20 Jan 2025 04:51:26 -0800
Subject: [PATCH 1/5] [TargetVerifier][AMDGPU] Add TargetVerifier.
This pass verifies th
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/136461
- **[clang] Use llvm::unique (NFC)**
- **[clangd] Use llvm::unique (NFC)**
- **[PBQP] Use llvm::interleaved (NFC)**
>From 6ed4f9e0ef30ae38042cba6a9a5390cf72f39ef7 Mon Sep 17 00:00:00 2001
From: Kazu Hira
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: Kazu Hirata (kazutakahirata)
Changes
- **[clang] Use llvm::unique (NFC)**
- **[clangd] Use llvm::unique (NFC)**
- **[PBQP] Use llvm::interleaved (NFC)**
---
Full diff: https://github.com/llvm/llvm-project/pull/136461.diff
21 File
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/136461
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/123609
>From 210b6d80bcfbbcd216f98199df386280724561e2 Mon Sep 17 00:00:00 2001
From: jofernau
Date: Mon, 20 Jan 2025 04:51:26 -0800
Subject: [PATCH 1/7] [TargetVerifier][AMDGPU] Add TargetVerifier.
This pass verifies th
llvmbot wrote:
@llvm/pr-subscribers-clangd
@llvm/pr-subscribers-clang-tools-extra
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/136470.diff
10 Files Affected:
- (modified) clang-tools-extra/clangd/IncludeFixer.cpp (+1-1)
- (modi
llvmbot wrote:
@llvm/pr-subscribers-clang-modules
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/136469.diff
10 Files Affected:
- (modified) clang/lib/AST/ASTContext.cpp (+1-1)
- (modified) clang/lib/AST/ItaniumMangle.cpp (+2-3)
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/123609
>From 210b6d80bcfbbcd216f98199df386280724561e2 Mon Sep 17 00:00:00 2001
From: jofernau
Date: Mon, 20 Jan 2025 04:51:26 -0800
Subject: [PATCH 1/7] [TargetVerifier][AMDGPU] Add TargetVerifier.
This pass verifies th
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/136469
None
>From 020358d3a5bc5b9015c25073d3c4a256b83ebbfc Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Sat, 19 Apr 2025 16:00:09 -0700
Subject: [PATCH] [clang] Use llvm::unique (NFC)
---
clang/lib/AST/AS
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/136469.diff
10 Files Affected:
- (modified) clang/lib/AST/ASTContext.cpp (+1-1)
- (modified) clang/lib/AST/ItaniumMangle.cpp (+2-3)
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/136470
None
>From 38b63cb444c5ac305f7df7967c7eb462d0122d15 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Sat, 19 Apr 2025 16:01:29 -0700
Subject: [PATCH] [clangd] Use llvm::unique (NFC)
---
clang-tools-ext
https://github.com/kuhar approved this pull request.
https://github.com/llvm/llvm-project/pull/136470
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kuhar approved this pull request.
https://github.com/llvm/llvm-project/pull/136469
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/123609
>From 210b6d80bcfbbcd216f98199df386280724561e2 Mon Sep 17 00:00:00 2001
From: jofernau
Date: Mon, 20 Jan 2025 04:51:26 -0800
Subject: [PATCH 1/9] [TargetVerifier][AMDGPU] Add TargetVerifier.
This pass verifies th
@@ -451,13 +451,44 @@ const char *const Runtimes = R"(
)";
llvm::Expected>
-Interpreter::create(std::unique_ptr CI) {
+Interpreter::create(std::unique_ptr CI,
+std::unique_ptr DeviceCI) {
llvm::Error Err = llvm::Error::success();
auto Interp =
https://github.com/pvelesko created
https://github.com/llvm/llvm-project/pull/136412
This fixes the issue of rdc linking static libraries with device code
>From 4a569a2b71cec13771c6b0695f732e721efcad82 Mon Sep 17 00:00:00 2001
From: Paulius Velesko
Date: Sat, 19 Apr 2025 10:02:59 +0300
Subject
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: Paulius Velesko (pvelesko)
Changes
This fixes the issue of rdc linking static libraries with device code
---
Full diff: https://github.com/llvm/llvm-project/pull/136412.diff
1 Files Affected:
- (modified) clang/lib/Driver/ToolChains/HIP
https://github.com/bogner approved this pull request.
https://github.com/llvm/llvm-project/pull/136234
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kuhar approved this pull request.
https://github.com/llvm/llvm-project/pull/136451
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/136448
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/136451
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mstorsjo wrote:
With https://martin.st/temp/abs-preproc.cpp as input, I run `clang -target
i686-w64-mingw32 abs-preproc.cpp -fsanitize=signed-integer-overflow -w -O3 -S
-emit-llvm -o abs-out.ll`, and I get the following diff of the output IR after
this change:
```diff
--- abs-good.ll 2025-04-2
https://github.com/hanickadot updated
https://github.com/llvm/llvm-project/pull/136436
From f37eb75b71d2aa6433bc528b7b4532138ae4e62a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hana=20Dusi=CC=81kova=CC=81?=
Date: Sun, 20 Apr 2025 00:24:46 +0200
Subject: [PATCH] [clang] add -fimplicit-constexpr fla
@@ -10163,6 +10163,16 @@ Sema::ActOnFunctionDeclarator(Scope *S, Declarator &D,
DeclContext *DC,
}
ConstexprSpecKind ConstexprKind = D.getDeclSpec().getConstexprSpecifier();
+
+// Clang's option -fimplicit-constexpr will make functions without
constexpr
+// o
@@ -6612,6 +6612,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction
&JA,
Args.AddLastArg(CmdArgs, options::OPT_fconstexpr_depth_EQ);
Args.AddLastArg(CmdArgs, options::OPT_fconstexpr_steps_EQ);
+ Args.AddLastArg(CmdArgs, options::OPT_fimplicit_constexpr);
-
@@ -0,0 +1,51 @@
+// RUN: %clang_cc1 -verify=normal,both -std=c++23 %s
+// RUN: %clang_cc1 -verify=implicit,both -fimplicit-constexpr -std=c++23 %s
hanickadot wrote:
new test added for earlier standards too
https://github.com/llvm/llvm-project/pull/136436
__
https://github.com/hanickadot updated
https://github.com/llvm/llvm-project/pull/136436
From f37eb75b71d2aa6433bc528b7b4532138ae4e62a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hana=20Dusi=CC=81kova=CC=81?=
Date: Sun, 20 Apr 2025 00:24:46 +0200
Subject: [PATCH 1/2] [clang] add -fimplicit-constexpr
https://github.com/hanickadot updated
https://github.com/llvm/llvm-project/pull/136436
From f37eb75b71d2aa6433bc528b7b4532138ae4e62a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Hana=20Dusi=CC=81kova=CC=81?=
Date: Sun, 20 Apr 2025 00:24:46 +0200
Subject: [PATCH 1/2] [clang] add -fimplicit-constexpr
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/123609
>From 210b6d80bcfbbcd216f98199df386280724561e2 Mon Sep 17 00:00:00 2001
From: jofernau
Date: Mon, 20 Jan 2025 04:51:26 -0800
Subject: [PATCH 1/5] [TargetVerifier][AMDGPU] Add TargetVerifier.
This pass verifies th
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/123609
>From 210b6d80bcfbbcd216f98199df386280724561e2 Mon Sep 17 00:00:00 2001
From: jofernau
Date: Mon, 20 Jan 2025 04:51:26 -0800
Subject: [PATCH 1/6] [TargetVerifier][AMDGPU] Add TargetVerifier.
This pass verifies th
https://github.com/zwuis approved this pull request.
https://github.com/llvm/llvm-project/pull/136041
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
zwuis wrote:
@Xazax-hun @steakhal Please take a look.
https://github.com/llvm/llvm-project/pull/136041
___
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-amdgpu
Author: Matt Arsenault (arsenm)
Changes
Make sure the builtin header sqrts work with
-fno-hip-f32-correctly-rounded-divide-sqrt, and we end up with
properly annotated sqrt intrinsic callsites.
---
Patch is 169.18 KiB, truncated to 20.00
arsenm wrote:
* **#136413** https://app.graphite.dev/github/pr/llvm/llvm-project/136413?utm_source=stack-comment-icon";
target="_blank">https://static.graphite.dev/graphite-32x32-black.png"; alt="Graphite"
width="10px" height="10px"/> 👈 https://app.graphite.dev/github/pr/llvm/llvm-project/13641
https://github.com/arsenm ready_for_review
https://github.com/llvm/llvm-project/pull/136413
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
=?utf-8?b?R8OhYm9yIFTDs3RodsOhcmk=?=,=?utf-8?b?R8OhYm9yIFTDs3RodsOhcmk=?=,
=?utf-8?b?R8OhYm9yIFTDs3RodsOhcmk=?Message-ID:
In-Reply-To:
https://github.com/tigbr updated
https://github.com/llvm/llvm-project/pull/135831
>From 525459a04dd6e7d0079095ac531c7cd712ac91d1 Mon Sep 17 00:00:00 2001
From:
mgorny wrote:
This change broke building with GCC set as the C++ compiler:
```
FAILED: libomptarget-nvptx.bc
: && /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native
-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
--target=nvptx64-nvidia-cuda -r -nostdlib -flto -Wl,--lt
https://github.com/cor3ntin approved this pull request.
https://github.com/llvm/llvm-project/pull/136422
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,51 @@
+// RUN: %clang_cc1 -verify=normal,both -std=c++23 %s
+// RUN: %clang_cc1 -verify=implicit,both -fimplicit-constexpr -std=c++23 %s
Sirraide wrote:
We should also test at least C++17 mode and see how this interacts with
features that are not allo
Sirraide wrote:
Oh and one more thing: this is currently missing a release note.
https://github.com/llvm/llvm-project/pull/136436
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Sirraide commented:
I think this unfortunately isn’t this simple: I can think of a few problems
this runs into and I the solutions I’ve managed to think of are:
First, we could use `Sema::CheckConstexprFunctionDefinition()` (see also the
call to that function in `Sema::Build
@@ -10163,6 +10163,16 @@ Sema::ActOnFunctionDeclarator(Scope *S, Declarator &D,
DeclContext *DC,
}
ConstexprSpecKind ConstexprKind = D.getDeclSpec().getConstexprSpecifier();
+
+// Clang's option -fimplicit-constexpr will make functions without
constexpr
+// o
@@ -2826,6 +2826,7 @@ class Sema final : public SemaBase {
bool buildCoroutineParameterMoves(SourceLocation Loc);
VarDecl *buildCoroutinePromise(SourceLocation Loc);
void CheckCompletedCoroutineBody(FunctionDecl *FD, Stmt *&Body);
+ void AnalyseCoroutineBody(const Corout
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: nerix (Nerixyz)
Changes
This is the initial step towards https://github.com/clangd/clangd/issues/108.
It introduces the `Path` and `PathRef` classes as wrappers for `std::string`
and `llvm::StringRef` respectively (`Path` and `
llvmbot wrote:
@llvm/pr-subscribers-clangd
Author: nerix (Nerixyz)
Changes
This is the initial step towards https://github.com/clangd/clangd/issues/108.
It introduces the `Path` and `PathRef` classes as wrappers for `std::string`
and `llvm::StringRef` respectively (`Path` and `PathRef` we
Sirraide wrote:
> IMO this kind of flag requires an RFC. This is a non-conforming extension and
> I don't see any rationale for why we'd want to add it.
I feel like GCC compatibility might be an argument? Imo it depends a bit on how
difficult it is to implement the flag, but an RFC to discuss
mgorny wrote:
> It should only be invoking `nvptx-arch` if the user passed `-march=native`.
Sorry, didn't notice this sentence. Well, *I am* building with `-march=native`
here — after all, other files are built for a CPU. If I change it to, say,
`-march=zen2`, then it indeed compiles, with a l
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/136436
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jhuber6 wrote:
> > It should only be invoking `nvptx-arch` if the user passed `-march=native`.
>
> Sorry, didn't notice this sentence. Well, _I am_ building with
> `-march=native` here — after all, other files are built for a CPU. If I
> change it to, say, `-march=zen2`, then it indeed compile
Sirraide wrote:
> > IMO this kind of flag requires an RFC. This is a non-conforming extension
> > and I don't see any rationale for why we'd want to add it.
>
> I feel like GCC compatibility might be an argument? Imo it depends a bit on
> how difficult it is to implement the flag, but an RFC t
Sirraide wrote:
Oh yeah, and one more thing I forgot about earlier: this definitely need some
tests involving templates to make sure that instantiations are also treated as
implicitly `constexpr`.
https://github.com/llvm/llvm-project/pull/136436
___
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/136440
None
>From abff402217dafac209f3301845573efdadc9f4a4 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Sat, 19 Apr 2025 09:55:31 -0700
Subject: [PATCH] [clang] llvm::append_range (NFC)
---
clang/include/
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,h --
clang-tools-extra/clangd/ASTSignals.cpp
clang-tool
mgorny wrote:
Yeah, appending `-march=` seems to work.
https://github.com/llvm/llvm-project/pull/126143
___
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-static-analyzer-1
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/136440.diff
23 Files Affected:
- (modified) clang/include/clang/Parse/Parser.h (+1-1)
- (modified) clang/lib/AST/DeclBase.
llvmbot wrote:
@llvm/pr-subscribers-clang-analysis
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/136440.diff
23 Files Affected:
- (modified) clang/include/clang/Parse/Parser.h (+1-1)
- (modified) clang/lib/AST/DeclBase.cpp (+1-1
https://github.com/kuhar approved this pull request.
https://github.com/llvm/llvm-project/pull/136440
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kazu Hirata
Date: 2025-04-19T20:34:03-07:00
New Revision: 9bcb18db89c5a3b317c0de2a5e94f18044390c3f
URL:
https://github.com/llvm/llvm-project/commit/9bcb18db89c5a3b317c0de2a5e94f18044390c3f
DIFF:
https://github.com/llvm/llvm-project/commit/9bcb18db89c5a3b317c0de2a5e94f18044390c3f.diff
L
Author: Kazu Hirata
Date: 2025-04-19T20:33:53-07:00
New Revision: f2ec5e40d96d6ba8f99e419009b6547965905cfe
URL:
https://github.com/llvm/llvm-project/commit/f2ec5e40d96d6ba8f99e419009b6547965905cfe
DIFF:
https://github.com/llvm/llvm-project/commit/f2ec5e40d96d6ba8f99e419009b6547965905cfe.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/136470
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/136469
___
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-ubuntu`
running on `linaro-lldb-aarch64-ubuntu` while building `clang` at step 6 "test".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/59/builds/16338
Here is the relevant piece of the
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ppc64-flang-aix` running
on `ppc64-flang-aix-test` while building `clang,llvm` at step 5
"build-unified-tree".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/201/builds/4199
Here is the relevant pie
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/123609
>From 210b6d80bcfbbcd216f98199df386280724561e2 Mon Sep 17 00:00:00 2001
From: jofernau
Date: Mon, 20 Jan 2025 04:51:26 -0800
Subject: [PATCH 01/10] [TargetVerifier][AMDGPU] Add TargetVerifier.
This pass verifies
shiltian wrote:
The target hook approach won't work here because `VerifierPass` is part of
`LLVMCore`, so it can't depend on target-specific components and doing so would
introduce a circular dependency.
Instead, I'm thinking of an alternative: make the target-dependent verifier run
after the
https://github.com/RossComputerGuy updated
https://github.com/llvm/llvm-project/pull/136247
>From fe082622b38f5b4e00a5be7076523ad2adb104a4 Mon Sep 17 00:00:00 2001
From: Tristan Ross
Date: Thu, 17 Apr 2025 20:06:51 -0700
Subject: [PATCH 1/4] [clang][uefi] add arm, aarch64, x86, loongarch64, ris
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`llvm-clang-x86_64-gcc-ubuntu-no-asserts` running on `doug-worker-6` while
building `clang-tools-extra` at step 6 "test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/202
@@ -692,9 +692,7 @@ mlir::LogicalResult
CIRToLLVMConstantOpLowering::matchAndRewrite(
// during a pass as long as they don't live past the end of the pass.
attr = op.getValue();
} else if (mlir::isa(op.getType())) {
-int value = (op.getValue() ==
-
llvmbot wrote:
@llvm/pr-subscribers-clangir
Author: Amr Hesham (AmrDeveloper)
Changes
This fixes a warning where a variable assigned in 'if' statement wasn't
referenced again.
---
Full diff: https://github.com/llvm/llvm-project/pull/136431.diff
1 Files Affected:
- (modified) clang/lib
jhuber6 wrote:
> Nah, building standalone directly. And separately from OpenMP.
I see, it previously worked because when you built with `gcc` it was still
finding `clang` in your environment and using that. I'm going to move this code
so that it's more explicit that we only support a just-buil
https://github.com/AmrDeveloper created
https://github.com/llvm/llvm-project/pull/136431
This fixes a warning where a variable assigned in 'if' statement wasn't
referenced again.
>From eed0a2c212b1a8fa0551bfcde4219e5ecce57f14 Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Sat, 19 Apr 2025
jhuber6 wrote:
I disabled my NVIDIA GPU discovery and I could build it successfully. What's
your `clang` version? I'm wondering what could be different here.
https://github.com/llvm/llvm-project/pull/126143
___
cfe-commits mailing list
cfe-commits@lis
mgorny wrote:
Clang was built from the same commit id
(ee4c8b556c5cf42c55ce9540bbb0e29c11894a71).
https://github.com/llvm/llvm-project/pull/126143
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/
mgorny wrote:
How did you disable it? Perhaps it's failing because of the specific error:
```
$ nvptx-arch
Failed to 'dlopen' libcuda.so.1
```
For comparison, `amdgpu-arch` doesn't print
jhuber6 wrote:
> How did you disable it? Perhaps it's failing because of the specific error:
>
> ```
> $ nvptx-arch
>
> Failed to 'dlopen' libcuda.so.1
> ```
>
> For comparison, `amdgpu-
https://github.com/cor3ntin approved this pull request.
https://github.com/llvm/llvm-project/pull/136431
___
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/136448
None
>From a4cd577388a8faca002be6051fd4710af9311838 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Sat, 19 Apr 2025 09:17:08 -0700
Subject: [PATCH] [clang] Use llvm::append_range (NFC)
---
clang/lib/
llvmbot wrote:
@llvm/pr-subscribers-clang-modules
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/136448.diff
18 Files Affected:
- (modified) clang/lib/AST/ByteCode/State.cpp (+2-4)
- (modified) clang/lib/AST/ExprConstant.cpp (+2-
llvmbot wrote:
@llvm/pr-subscribers-clang-analysis
@llvm/pr-subscribers-clang-format
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/136448.diff
18 Files Affected:
- (modified) clang/lib/AST/ByteCode/State.cpp (+2-4)
- (modified)
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/136448.diff
18 Files Affected:
- (modified) clang/lib/AST/ByteCode/State.cpp (+2-4)
- (modified) clang/lib/AST/ExprConstant.cpp (+2-4
mgorny wrote:
https://github.com/llvm/llvm-project/pull/136442
https://github.com/llvm/llvm-project/pull/126143
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -451,13 +451,44 @@ const char *const Runtimes = R"(
)";
llvm::Expected>
-Interpreter::create(std::unique_ptr CI) {
+Interpreter::create(std::unique_ptr CI,
+std::unique_ptr DeviceCI) {
llvm::Error Err = llvm::Error::success();
auto Interp =
mgorny wrote:
And after switching to clang, it fails anyway:
```
$ /usr/lib/ccache/bin/x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native
-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs
--target=nvptx64-nvidia-cuda -r -nostdlib -flto -Wl,--lto-emit-llvm
DeviceRTL/Allocator.cpp-nvptx.o
https://github.com/ZhongUncle edited
https://github.com/llvm/llvm-project/pull/132510
___
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: Amr Hesham (AmrDeveloper)
Changes
This change adds support for StackSave and StackRestoreOp as a preliminary
patch of VLA support
---
Full diff: https://github.com/llvm/llvm-project/pull/136426.diff
5 Files Affected:
- (modified) clang
llvmbot wrote:
@llvm/pr-subscribers-clangir
Author: Amr Hesham (AmrDeveloper)
Changes
This change adds support for StackSave and StackRestoreOp as a preliminary
patch of VLA support
---
Full diff: https://github.com/llvm/llvm-project/pull/136426.diff
5 Files Affected:
- (modified) cla
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`clang-ppc64le-linux-multistage` running on `ppc64le-clang-multistage-test`
while building `clang-tools-extra,clang` at step 5 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/76/builds/
https://github.com/AmrDeveloper created
https://github.com/llvm/llvm-project/pull/136426
This change adds support for StackSave and StackRestoreOp as a preliminary
patch of VLA support
>From 91a6937c7b937daceef426c877703d4d0cfeae76 Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Sat, 19 Apr
dtcxzyw wrote:
@vitalybuka @mstorsjo Can you please provide the command to reproduce the wrong
IR/codegen?
https://github.com/llvm/llvm-project/pull/135135
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman
https://github.com/ZhongUncle edited
https://github.com/llvm/llvm-project/pull/132510
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
1 - 100 of 176 matches
Mail list logo