Author: Anutosh Bhat
Date: 2025-06-05T11:23:50+05:30
New Revision: 7ca7bcb7d8dcf26fc0281697fe47aa6cdb3884c0
URL:
https://github.com/llvm/llvm-project/commit/7ca7bcb7d8dcf26fc0281697fe47aa6cdb3884c0
DIFF:
https://github.com/llvm/llvm-project/commit/7ca7bcb7d8dcf26fc0281697fe47aa6cdb3884c0.diff
https://github.com/xlauko approved this pull request.
lgtm
https://github.com/llvm/llvm-project/pull/142393
___
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/142393
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
xlauko wrote:
Since https://github.com/llvm/llvm-project/pull/14/ was merged, please
mirror additional changes from https://github.com/llvm/clangir/pull/1626 before
merging.
https://github.com/llvm/llvm-project/pull/139827
___
cfe-commits mailing
Author: Jie Fu
Date: 2025-06-05T14:11:30+08:00
New Revision: 627e49e2491ab7750501d84a5804632074c6af54
URL:
https://github.com/llvm/llvm-project/commit/627e49e2491ab7750501d84a5804632074c6af54
DIFF:
https://github.com/llvm/llvm-project/commit/627e49e2491ab7750501d84a5804632074c6af54.diff
LOG: [
MaskRay wrote:
Should call this "option". Within LLVM, we use flag for options without a value.
https://github.com/llvm/llvm-project/pull/142901
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe
https://github.com/thorsten-klein updated
https://github.com/llvm/llvm-project/pull/124265
>From b1bfe0682f9889ae792ada546d3e4f1cd86acf69 Mon Sep 17 00:00:00 2001
From: "Klein, Thorsten (GDE-EDSI1)"
Date: Fri, 24 Jan 2025 13:46:24 +0100
Subject: [PATCH] added option AllowNoNamespaceComments for
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: someoneinjd (someoneinjd)
Changes
This PR adds support for the `positionEncoding` client capability introduced in
LSP 3.17. Clangd can now negotiate the position encoding with the client during
initialization.
---
Full diff:
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
https://github.com/someoneinjd created
https://github.com/llvm/llvm-project/pull/142903
This PR adds support for the `positionEncoding` client capability introduced in
LSP 3.17. Clangd can now negotiate the position encoding with the client during
initialization.
>From 5717ca8166a019e4c00709
https://github.com/anutosh491 closed
https://github.com/llvm/llvm-project/pull/142749
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/pcc updated https://github.com/llvm/llvm-project/pull/142901
>From 74acb06bb339909bc2950cecb95eb61df49c0379 Mon Sep 17 00:00:00 2001
From: Peter Collingbourne
Date: Wed, 4 Jun 2025 22:37:09 -0700
Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?=
=?U
https://github.com/ziqingluo-90 updated
https://github.com/llvm/llvm-project/pull/142722
>From 3bd12ac6bb3c47b5e977cffec019df15a15426fc Mon Sep 17 00:00:00 2001
From: Ziqing Luo
Date: Wed, 4 Jun 2025 12:29:53 +0800
Subject: [PATCH 1/2] [StaticAnalyzer] Fix tryExpandAsInteger's failures on
macr
https://github.com/tclin914 approved this pull request.
Refer to
https://github.com/riscv/riscv-crypto/blob/main/doc/vector/riscv-crypto-vector-zvknh.adoc.
LGTM
https://github.com/llvm/llvm-project/pull/142896
___
cfe-commits mailing list
cfe-commits
ziqingluo-90 wrote:
CC @dtarditi
https://github.com/llvm/llvm-project/pull/142722
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
vbvictor wrote:
@flovent, please change email from private to public in github settings If you
wish to have actual email written in commit.
https://github.com/llvm/llvm-project/pull/141345
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https:
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Brandon Wu (4vtomat)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/142896.diff
5 Files Affected:
- (modified) clang/include/clang/Basic/riscv_vector.td (+3-3)
- (modified) clang/test/Driver/print-enabled-extensions/
https://github.com/4vtomat created
https://github.com/llvm/llvm-project/pull/142896
None
>From f8279f47ea299ba45496c7146ace152fd3715d48 Mon Sep 17 00:00:00 2001
From: Brandon Wu
Date: Wed, 4 Jun 2025 21:41:46 -0700
Subject: [PATCH] [llvm][RISCV] Make zvknhb imply zvknha
---
clang/include/cla
vsapsai wrote:
I'll be busy during WWDC week too, so no real changes are expected in the next
2 weeks.
https://github.com/llvm/llvm-project/pull/138227
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/list
ziqingluo-90 wrote:
Godbolt example: https://godbolt.org/z/6dv3Kearx
CC @YutongZhuu as this issue was first introduced in
https://github.com/YutongZhuu/llvm-project/commit/9ae3368b3b912ae425b2fbe9a59949979286744f
https://github.com/llvm/llvm-project/pull/142897
llvmbot wrote:
@llvm/pr-subscribers-clang-analysis
Author: Ziqing Luo (ziqingluo-90)
Changes
`checkIncorrectLogicOperator` checks if an expression, for example `x != 0 || x
!= 1.0`, is always true or false by comparing the two literals `0` and `1.0`.
But in case `x` is a 16-bit float, t
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Ziqing Luo (ziqingluo-90)
Changes
`checkIncorrectLogicOperator` checks if an expression, for example `x != 0 || x
!= 1.0`, is always true or false by comparing the two literals `0` and `1.0`.
But in case `x` is a 16-bit float, the two li
https://github.com/ziqingluo-90 created
https://github.com/llvm/llvm-project/pull/142897
`checkIncorrectLogicOperator` checks if an expression, for example `x != 0 || x
!= 1.0`, is always true or false by comparing the two literals `0` and `1.0`.
But in case `x` is a 16-bit float, the two lit
llvmbot wrote:
@llvm/pr-subscribers-backend-risc-v
Author: Brandon Wu (4vtomat)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/142896.diff
5 Files Affected:
- (modified) clang/include/clang/Basic/riscv_vector.td (+3-3)
- (modified) clang/test/Driver/print-enabled-ex
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/142793
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2025-06-05T06:38:48+02:00
New Revision: 478bdd8b9023612a4ef25d50973064e699a95d5b
URL:
https://github.com/llvm/llvm-project/commit/478bdd8b9023612a4ef25d50973064e699a95d5b
DIFF:
https://github.com/llvm/llvm-project/commit/478bdd8b9023612a4ef25d50973064e699a95d5b.diff
L
@@ -90,4 +66,4 @@ computeUndriftMap(Module &M, IndexedInstrProfReader
*MemProfReader,
} // namespace memprof
} // namespace llvm
-#endif
+#endif
kazutakahirata wrote:
nit: could we end with a newline here? A diff involving an unterminated line
looks ugly.
https://github.com/kazutakahirata approved this pull request.
LGTM. Thanks for doing this!
https://github.com/llvm/llvm-project/pull/142811
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com
https://github.com/kazutakahirata edited
https://github.com/llvm/llvm-project/pull/142811
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Un1q32 updated
https://github.com/llvm/llvm-project/pull/141401
>From 3cf20444591e70a8a6d8782048ca4f6c0e22 Mon Sep 17 00:00:00 2001
From: Un1q32
Date: Mon, 27 Jan 2025 18:00:34 -0500
Subject: [PATCH 1/4] [Clang] Link libgcc_s.1.dylib when building for macOS
10.5 and olde
@@ -2982,6 +2982,7 @@ static bool ParseFrontendArgs(FrontendOptions &Opts,
ArgList &Args,
#undef FRONTEND_OPTION_WITH_MARSHALLING
Opts.ProgramAction = frontend::ParseSyntaxOnly;
+
mizvekov wrote:
Unrelated change.
https://github.com/llvm/llvm-project/pull
@@ -813,19 +813,19 @@ changes to one object won't affect the others, the
object's initializer will run
once per copy, etc.
Specifically, this warning fires when it detects an object which:
- 1. Is defined as ``inline`` in a header file (so it might get compiled into
multipl
@@ -4286,6 +4286,16 @@ void Driver::handleArguments(Compilation &C,
DerivedArgList &Args,
YcArg = YuArg = nullptr;
}
+ Arg *IncludePCHArg = Args.getLastArg(options::OPT_include_pch);
+ if (IncludePCHArg && (FinalPhase == phases::Preprocess ||
+
@@ -31,6 +31,16 @@ option:
$ clang -cc1 -include-pch test.h.pch test.c -o test.s
+To ignore PCH options, use the option `-ignore-pch`:
+
+.. code-block:: bash
+
+ $ clang -cc1 test.h -emit-pch -ignore-pch -o test.h.pch
+ $ clang -cc1 -include-pch test.h.pch -ignore-pch te
@@ -3348,6 +3348,9 @@ defm pch_codegen: OptInCC1FFlag<"pch-codegen", "Generate
", "Do not generate ",
"code for uses of this PCH that assumes an explicit object file will be
built for the PCH">;
defm pch_debuginfo: OptInCC1FFlag<"pch-debuginfo", "Generate ", "Do not
generat
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Eli Friedman (efriedma-quic)
Changes
As discussed in #142707, in the context of determining whether a
conversion is a narrowing conversion, is_constant_evaluation should be false,
even it's a subexpression of a manifestly constant-evaluat
https://github.com/efriedma-quic created
https://github.com/llvm/llvm-project/pull/142885
As discussed in #142707, in the context of determining whether a conversion is
a narrowing conversion, is_constant_evaluation should be false, even it's a
subexpression of a manifestly constant-evaluated
https://github.com/SharonXSharon updated
https://github.com/llvm/llvm-project/pull/142884
>From 0704f57845fbcd9dac8e8b26a54474f552ee2a60 Mon Sep 17 00:00:00 2001
From: Sharon Xu
Date: Wed, 4 Jun 2025 17:55:27 -0700
Subject: [PATCH 1/2] [memprof][darwin] Support memprof on Darwin platform and
a
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,c,cpp,inc --
clang/test/Driver/fmemprof-darwin.c
compiler
@@ -0,0 +1,658 @@
+//===- MemProfInstrumentation.cpp - memory allocation and access profiler
+// instrumentation ===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+
https://github.com/teresajohnson approved this pull request.
Couple comments below but otherwise lgtm
https://github.com/llvm/llvm-project/pull/142811
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listin
@@ -58,97 +43,11 @@ namespace llvm {
extern cl::opt PGOWarnMissing;
extern cl::opt NoPGOWarnMismatch;
extern cl::opt NoPGOWarnMismatchComdatWeak;
+extern cl::opt MemProfReportHintedSizes;
teresajohnson wrote:
I think these 3 can be removed - I assume these cam
https://github.com/teresajohnson edited
https://github.com/llvm/llvm-project/pull/142811
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/SharonXSharon edited
https://github.com/llvm/llvm-project/pull/142884
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/SharonXSharon created
https://github.com/llvm/llvm-project/pull/142884
The patch has two main parts,
1) add support for memprof on Darwin platform
2) add a new binary access profile, including the format definition, the
serialization from the memprof compiler-rt, and the cod
https://github.com/Un1q32 edited
https://github.com/llvm/llvm-project/pull/141401
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Un1q32 edited
https://github.com/llvm/llvm-project/pull/141401
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Un1q32 edited
https://github.com/llvm/llvm-project/pull/141401
___
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-codegen
Author: Snehasish Kumar (snehasish)
Changes
Most of the recent development on the MemProfiler has been on the Use part. The
instrumentation has been quite stable for a while. As the complexity of the use
grows (with undrifting, diagnostic
https://github.com/snehasish edited
https://github.com/llvm/llvm-project/pull/142811
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/snehasish ready_for_review
https://github.com/llvm/llvm-project/pull/142811
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1645,14 +1645,14 @@ void DarwinClang::AddLinkRuntimeLibArgs(const ArgList
&Args,
CmdArgs.push_back("-lSystem");
// Select the dynamic runtime library and the target specific static library.
- if (isTargetIOSBased()) {
-// If we are compiling as iOS / simulator,
https://github.com/cyndyishida updated
https://github.com/llvm/llvm-project/pull/142013
>From a12e45e0b3025126dc112c6f8dd552b2670e88f9 Mon Sep 17 00:00:00 2001
From: Cyndy Ishida
Date: Thu, 29 May 2025 12:19:09 -0700
Subject: [PATCH 1/3] [clang][Darwin] Simply deployment version assignment in
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/142881
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/142880
___
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-tools-extra
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/142881.diff
4 Files Affected:
- (modified) clang-tools-extra/clang-include-fixer/tool/ClangIncludeFixer.cpp
(-2)
- (modified) c
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/142881.diff
4 Files Affected:
- (modified) clang-tools-extra/clang-include-fixer/tool/ClangIncludeFixer.cpp
(-2)
- (modified) clang-to
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/142880.diff
2 Files Affected:
- (modified) clang/tools/clang-installapi/Options.cpp (-1)
- (modified) clang/tools/clang-offload-packager/Cla
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/142881
None
>From 93f1720a346cf23771adb5caf329062a349e1dda Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Wed, 4 Jun 2025 12:35:24 -0700
Subject: [PATCH] [clang-tools-extra] Remove unused local variables (NFC
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/142880
None
>From 253456a94190d894a8d6241e8cc23b094c646702 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Wed, 4 Jun 2025 12:36:20 -0700
Subject: [PATCH] [tools] Remove unused local variables (NFC)
---
clan
flovent wrote:
Thanks for catching, CHECK-FIXES added.
> I don't know why tests didn't fail because of it, needs some investigation.
I don't know either, but the check does produce `FixIt`, and it seems
`CHECK-FIXES` is optional in this test file, doesn't affect whether the test
pass.
https:
https://github.com/snehasish updated
https://github.com/llvm/llvm-project/pull/142811
>From 912e0f8261137d98e7b8b62435e92f641c65a663 Mon Sep 17 00:00:00 2001
From: Snehasish Kumar
Date: Tue, 3 Jun 2025 21:49:58 -0700
Subject: [PATCH 1/2] [MemProf] Split MemProfiler into Instrumentation and Use.
https://github.com/flovent updated
https://github.com/llvm/llvm-project/pull/141345
>From e020a00fcaa8283edf5fb1850653d0156918ca85 Mon Sep 17 00:00:00 2001
From: flovent
Date: Sat, 24 May 2025 21:29:53 +0800
Subject: [PATCH 1/3] [clang-tidy] Add check for assignment or comparision
operators' o
https://github.com/snehasish updated
https://github.com/llvm/llvm-project/pull/142811
>From 912e0f8261137d98e7b8b62435e92f641c65a663 Mon Sep 17 00:00:00 2001
From: Snehasish Kumar
Date: Tue, 3 Jun 2025 21:49:58 -0700
Subject: [PATCH 1/2] [MemProf] Split MemProfiler into Instrumentation and Use.
https://github.com/snehasish updated
https://github.com/llvm/llvm-project/pull/142811
>From 912e0f8261137d98e7b8b62435e92f641c65a663 Mon Sep 17 00:00:00 2001
From: Snehasish Kumar
Date: Tue, 3 Jun 2025 21:49:58 -0700
Subject: [PATCH 1/2] [MemProf] Split MemProfiler into Instrumentation and Use.
ozbenh wrote:
@MaskRay Fedora and RHEL also don't use -gnu ... we had no idea this mattered
when we did this and we can't really change it at this point without breaking
customers.
I would understand applying the rule for new use cases, but this is an
established one that cannot be fixed, and
https://github.com/bwendling updated
https://github.com/llvm/llvm-project/pull/141846
>From bfdf16cee252dc6491f15c0715c7a39538fbf120 Mon Sep 17 00:00:00 2001
From: Bill Wendling
Date: Wed, 23 Apr 2025 13:14:24 -0700
Subject: [PATCH 1/2] [Clang][attr] Add cfi_salt attribute
The new 'cfi_salt' a
bwendling wrote:
I moved the `cfi_salt` into the `FunctionProtoType` fields. I left it open for
further additions. One bit of optimization I could do is merge the Arm stuff
into this new struct, but wanted to do something a bit less cluttered first.
https://github.com/llvm/llvm-project/pull/14
https://github.com/bwendling updated
https://github.com/llvm/llvm-project/pull/141846
>From bfdf16cee252dc6491f15c0715c7a39538fbf120 Mon Sep 17 00:00:00 2001
From: Bill Wendling
Date: Wed, 23 Apr 2025 13:14:24 -0700
Subject: [PATCH 1/2] [Clang][attr] Add cfi_salt attribute
The new 'cfi_salt' a
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/test/CIR/CodeGen/deferred-fn-defs.cpp
clang/li
https://github.com/andykaylor updated
https://github.com/llvm/llvm-project/pull/142862
>From 217f3a01f9ed161eb3afa3f7e6a594720e8a2840 Mon Sep 17 00:00:00 2001
From: Andy Kaylor
Date: Mon, 2 Jun 2025 17:11:55 -0700
Subject: [PATCH 1/2] [CIR] Defer emitting function definitions
This change imple
https://github.com/mcinally updated
https://github.com/llvm/llvm-project/pull/142800
>From 918b853de8c43dacebecb42cafa6d3b8fec15b47 Mon Sep 17 00:00:00 2001
From: Cameron McInally
Date: Tue, 3 Jun 2025 11:12:42 -0700
Subject: [PATCH] [Driver] Move CommonArgs to a location visible by the
Fronte
https://github.com/mcinally edited
https://github.com/llvm/llvm-project/pull/142800
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3167,3 +3167,30 @@ void tools::handleInterchangeLoopsArgs(const ArgList
&Args,
options::OPT_fno_loop_interchange, EnableInterchange))
CmdArgs.push_back("-floop-interchange");
}
+
+void tools::ParseMPreferVectorWidthOption(clang::DiagnosticsEngine &Di
ilovepi wrote:
> If we're open to adding a flag in the base `Info` like
> `IsClassSpecialization`, then we can probably easily deal with these by
> trying to reconstruct the specialization's arguments (will be something like
> "Foo.json"). Functions don't produce their own files so function
>
https://github.com/snehasish updated
https://github.com/llvm/llvm-project/pull/142811
>From 0ba44d66dce0260055d7dd576141e098f7e1c1d5 Mon Sep 17 00:00:00 2001
From: Snehasish Kumar
Date: Tue, 3 Jun 2025 21:49:58 -0700
Subject: [PATCH] [MemProf] Split MemProfiler into Instrumentation and Use.
--
@@ -31,6 +31,16 @@ option:
$ clang -cc1 -include-pch test.h.pch test.c -o test.s
+To ignore PCH options using ``clang -cc1``, use the option `-ignore-pch`:
MaggieYingYi wrote:
> I will update -ignore-pch as a driver option which is similar as the
> -inclu
https://github.com/MaggieYingYi updated
https://github.com/llvm/llvm-project/pull/142409
>From c0cc666ab8864b665539a857dbdae6c592266227 Mon Sep 17 00:00:00 2001
From: Ying Yi
Date: Mon, 2 Jun 2025 10:21:22 +0100
Subject: [PATCH 1/4] [Frontend][PCH]-Add support for ignoring PCH options
(-ignore
@@ -1523,6 +1523,50 @@ cir::FuncOp CIRGenModule::getOrCreateCIRFunction(
cir::FuncOp funcOp = createCIRFunction(
invalidLoc ? theModule->getLoc() : getLoc(funcDecl->getSourceRange()),
mangledName, mlir::cast(funcType), funcDecl);
+
+ if (!dontDefer) {
---
@@ -1523,6 +1523,50 @@ cir::FuncOp CIRGenModule::getOrCreateCIRFunction(
cir::FuncOp funcOp = createCIRFunction(
invalidLoc ? theModule->getLoc() : getLoc(funcDecl->getSourceRange()),
mangledName, mlir::cast(funcType), funcDecl);
+
+ if (!dontDefer) {
---
https://github.com/bcardosolopes edited
https://github.com/llvm/llvm-project/pull/142862
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bcardosolopes approved this pull request.
Looks good, minor nit
https://github.com/llvm/llvm-project/pull/142862
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sarnex wrote:
Thanks Erich!
@AaronBallman Do you mind giving the final version another quick pass to make
sure all concerns are addressed? Thanks!
https://github.com/llvm/llvm-project/pull/137882
___
cfe-commits mailing list
cfe-commits@lists.llvm.o
https://github.com/cyndyishida updated
https://github.com/llvm/llvm-project/pull/142013
>From a12e45e0b3025126dc112c6f8dd552b2670e88f9 Mon Sep 17 00:00:00 2001
From: Cyndy Ishida
Date: Thu, 29 May 2025 12:19:09 -0700
Subject: [PATCH 1/3] [clang][Darwin] Simply deployment version assignment in
https://github.com/alexfh approved this pull request.
Looks good. Thanks for adding this early detection of the incorrect CUDA code
that would otherwise lead to violated invariants further down the road.
https://github.com/llvm/llvm-project/pull/142857
__
@@ -3167,3 +3167,30 @@ void tools::handleInterchangeLoopsArgs(const ArgList
&Args,
options::OPT_fno_loop_interchange, EnableInterchange))
CmdArgs.push_back("-floop-interchange");
}
+
+void tools::ParseMPreferVectorWidthOption(clang::DiagnosticsEngine &Di
https://github.com/Andres-Salamanca updated
https://github.com/llvm/llvm-project/pull/142241
>From aad6aa4bb69ea96eceb7dc7911eb846047ac14cb Mon Sep 17 00:00:00 2001
From: Andres Salamanca
Date: Fri, 30 May 2025 18:13:31 -0500
Subject: [PATCH 1/2] Add DLTI dialect support to module attributes an
@@ -270,6 +270,12 @@ void handleVectorizeLoopsArgs(const llvm::opt::ArgList
&Args,
/// Enable -fslp-vectorize based on the optimization level selected.
void handleVectorizeSLPArgs(const llvm::opt::ArgList &Args,
llvm::opt::ArgStringList &CmdArgs);
+
@@ -3167,3 +3167,30 @@ void tools::handleInterchangeLoopsArgs(const ArgList
&Args,
options::OPT_fno_loop_interchange, EnableInterchange))
CmdArgs.push_back("-floop-interchange");
}
+
+void tools::ParseMPreferVectorWidthOption(clang::DiagnosticsEngine &Di
https://github.com/schittir updated
https://github.com/llvm/llvm-project/pull/140282
>From abdbf8905d324f9b935b34bbc97c508ede5ac028 Mon Sep 17 00:00:00 2001
From: "Chittireddy, Sindhu"
Date: Fri, 16 May 2025 08:51:06 -0700
Subject: [PATCH 1/6] Add sycl_external attribute
---
clang/include/cla
https://github.com/melver edited
https://github.com/llvm/llvm-project/pull/141599
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1938,11 +1942,22 @@ struct DarwinPlatform {
SourceKind Kind;
DarwinPlatformKind Platform;
DarwinEnvironmentKind Environment = DarwinEnvironmentKind::NativeEnvironment;
- VersionTuple NativeTargetVersion;
- std::string OSVersion;
- bool HasOSVersion = true, InferSim
https://github.com/cyndyishida updated
https://github.com/llvm/llvm-project/pull/142013
>From a12e45e0b3025126dc112c6f8dd552b2670e88f9 Mon Sep 17 00:00:00 2001
From: Cyndy Ishida
Date: Thu, 29 May 2025 12:19:09 -0700
Subject: [PATCH 1/3] [clang][Darwin] Simply deployment version assignment in
@@ -4652,6 +4659,7 @@ llvm::Constant
*CodeGenModule::GetOrCreateMultiVersionResolver(GlobalDecl GD) {
"", Resolver, &getModule());
GIF->setName(ResolverName);
SetCommonAttributes(FD, GIF);
+SetResolverAttrs(cast(Resolver));
---
https://github.com/sarnex updated
https://github.com/llvm/llvm-project/pull/137882
>From 080a9d43ba6544d46c2b36c5dc6a5af421264580 Mon Sep 17 00:00:00 2001
From: "Sarnie, Nick"
Date: Wed, 7 May 2025 12:17:30 -0700
Subject: [PATCH 1/8] [clang] Simplify device kernel attributes
Signed-off-by: Sar
llvmbot wrote:
@llvm/pr-subscribers-clangir
Author: Andy Kaylor (andykaylor)
Changes
This change implements deferring function definition emission until first use.
---
Full diff: https://github.com/llvm/llvm-project/pull/142862.diff
2 Files Affected:
- (modified) clang/lib/CIR/CodeGen/
https://github.com/andykaylor created
https://github.com/llvm/llvm-project/pull/142862
This change implements deferring function definition emission until first use.
>From 217f3a01f9ed161eb3afa3f7e6a594720e8a2840 Mon Sep 17 00:00:00 2001
From: Andy Kaylor
Date: Mon, 2 Jun 2025 17:11:55 -0700
S
https://github.com/ArtyomZabroda edited
https://github.com/llvm/llvm-project/pull/142278
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vzakhari edited
https://github.com/llvm/llvm-project/pull/142800
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bcardosolopes approved this pull request.
https://github.com/llvm/llvm-project/pull/142823
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
1 - 100 of 359 matches
Mail list logo