@@ -2219,6 +2219,42 @@ def CIR_TrapOp : CIR_Op<"trap", [Terminator]> {
let assemblyFormat = "attr-dict";
}
+//===--===//
+// ArrayCtor
+//===--
@@ -22,15 +24,97 @@ struct LoweringPreparePass : public
LoweringPrepareBase {
void runOnOperation() override;
void runOnOp(Operation *op);
+ void lowerArrayCtor(ArrayCtor op);
};
} // namespace
-void LoweringPreparePass::runOnOp(Operation *op) {}
+void LoweringPrep
https://github.com/xlauko approved this pull request.
lgtm
https://github.com/llvm/llvm-project/pull/149170
___
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-driver
@llvm/pr-subscribers-clang
Author: Jakub Chlanda (jchlanda)
Changes
This patch provides a single point for handling the logic behind choosing
common bitcode libraries. The intention is that the users of ROCm installation
detector will not
https://github.com/Meinersbur updated
https://github.com/llvm/llvm-project/pull/137828
>From 839198d61f9937b5504d5e036c67266b4b84da8e Mon Sep 17 00:00:00 2001
From: Michael Kruse
Date: Thu, 17 Jul 2025 14:09:57 +0200
Subject: [PATCH] [Flang][Flang-RT][OpenMP] Move builtin .mod generation into
jhuber6 wrote:
Yeah that's definitely not ideal, I'll need to think of a way to handle that
more gracefully.
https://github.com/llvm/llvm-project/pull/149107
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailma
https://github.com/mmha updated https://github.com/llvm/llvm-project/pull/149142
>From 2a78522d151c3a970fccef94724a31fe14547f9d Mon Sep 17 00:00:00 2001
From: Morris Hafner
Date: Wed, 16 Jul 2025 18:48:52 +0200
Subject: [PATCH 1/2] [CIR] Add support for array constructors
This patch upstreams s
@@ -77,6 +79,82 @@ class RocmInstallationDetector {
SPACKReleaseStr(SPACKReleaseStr.str()) {}
};
+ struct CommonBitcodeLibsPreferences {
+CommonBitcodeLibsPreferences(const Driver &D,
+ const llvm::opt::ArgList &DriverArgs,
+
github-actions[bot] wrote:
:warning: Python code formatter, darker found issues in your code. :warning:
You can test this locally with the following command:
``bash
darker --check --diff -r HEAD~1...HEAD flang/test/lit.cfg.py
``
View the diff from darker here.
`
nathanchance wrote:
I am seeing a new build failure when building the Linux kernel as a result of
this change.
```
drivers/tty/sysrq.c:486:2: error: initializer element is not a compile-time
constant
486 | &sysrq_showlocks_op,/* d */
| ^~~
``
@@ -0,0 +1,70 @@
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -Wno-unused-value
-fclangir -emit-cir %s -o %t.cir
+// RUN: FileCheck --input-file=%t.cir %s -check-prefix=CIR
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -Wno-unused-value
-fclangir -emit-llvm %s -o
https://github.com/schittir edited
https://github.com/llvm/llvm-project/pull/140282
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/moorabbit updated
https://github.com/llvm/llvm-project/pull/148281
>From 029d9fce6cdb75ea4819a107c7ed9f074bb36678 Mon Sep 17 00:00:00 2001
From: moorabbit <215698969+moorab...@users.noreply.github.com>
Date: Mon, 7 Jul 2025 09:25:46 -0400
Subject: [PATCH 1/3] [Clang] Add `__bu
@@ -121,6 +121,11 @@ enum NodeType {
/// function calling this intrinsic.
SPONENTRY,
+ /// STACKADDR - Represents the llvm.stackaddr intrinsic. Takes no argument
+ /// and returns the starting address of the stack region that may be used
+ /// by called functions.
+ ST
https://github.com/cor3ntin approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/149264
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/EugeneZelenko approved this pull request.
https://github.com/llvm/llvm-project/pull/148547
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
vbvictor wrote:
> Clang-Tidy pull requests are usually small, so is `-j` really necessary?
Do you have anything against `-j` anymore? Otherwise, I'd merge this PR
https://github.com/llvm/llvm-project/pull/148547
___
cfe-commits mailing list
cfe-commit
@@ -0,0 +1,70 @@
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -Wno-unused-value
-fclangir -emit-cir %s -o %t.cir
+// RUN: FileCheck --input-file=%t.cir %s -check-prefix=CIR
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -Wno-unused-value
-fclangir -emit-llvm %s -o
https://github.com/cor3ntin approved this pull request.
LGTM, thanks.
(Note that this does not cover the case of forming a reference to a
one-past-the-end object, which is covered by the same wording, but if you don't
already do that, it can be a separate pr.
https://github.com/llvm/llvm-proje
https://github.com/mmha updated https://github.com/llvm/llvm-project/pull/149142
>From 2a78522d151c3a970fccef94724a31fe14547f9d Mon Sep 17 00:00:00 2001
From: Morris Hafner
Date: Wed, 16 Jul 2025 18:48:52 +0200
Subject: [PATCH 1/4] [CIR] Add support for array constructors
This patch upstreams s
https://github.com/vbvictor closed
https://github.com/llvm/llvm-project/pull/148384
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Baranov Victor
Date: 2025-07-17T18:38:05+03:00
New Revision: 149aa7679457e4c434374076fa3ad6d02efbe414
URL:
https://github.com/llvm/llvm-project/commit/149aa7679457e4c434374076fa3ad6d02efbe414
DIFF:
https://github.com/llvm/llvm-project/commit/149aa7679457e4c434374076fa3ad6d02efbe414.diff
https://github.com/cor3ntin edited
https://github.com/llvm/llvm-project/pull/149227
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -357,3 +357,27 @@ namespace pointer_comparisons {
static_assert(!f4()); // expected-error {{static assertion expression is not
an integral constant expression}} \
// expected-note {{in call to 'f4()'}}
}
+
+namespace enable_if_1 {
+ template <__SI
@@ -24,3 +24,8 @@ constexpr void other_func() {
throw 12;
}
+
+// Make sure these don't trigger the diagnostic.
+extern const bool& b;
+constexpr bool fun1() { return b; }
+constexpr bool fun2(const bool& b) { return b; }
cor3ntin wrote:
Can you reference t
https://github.com/cor3ntin approved this pull request.
LGTM (presumably, we want to backport that)
https://github.com/llvm/llvm-project/pull/149227
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo
https://github.com/jpienaar updated
https://github.com/llvm/llvm-project/pull/149148
>From b404f5390ac5684c7452e69f6fe209e5215f8929 Mon Sep 17 00:00:00 2001
From: Jacques Pienaar
Date: Wed, 16 Jul 2025 17:37:53 +
Subject: [PATCH 1/7] [clang-tidy] Add MLIR check for old op builder usage.
Mo
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/149339
getExceptionMode() already returns LangOptions::FPExceptionModeKind.
>From 3d531ee0626a226ff3db60c8bf04a447cea6727e Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Thu, 17 Jul 2025 08:10:15 -0700
Subje
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/149338
getFinallyStmt() already returns ObjCAtFinallyStmt *.
>From eebc7c508a56b53f651523b3199e8f6c765eb808 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Thu, 17 Jul 2025 08:07:26 -0700
Subject: [PATCH] [AS
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
getFinallyStmt() already returns ObjCAtFinallyStmt *.
---
Full diff: https://github.com/llvm/llvm-project/pull/149338.diff
1 Files Affected:
- (modified) clang/lib/AST/StmtPrinter.cpp (+1-1)
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/149340
getArrayIndex(), getArrayRangeStart(), and getArrayRangeEnd() already
return Expr *.
>From 945f52459c36663ac5c267779ae8e260dd9f9066 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Thu, 17 Jul 2025 08:1
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
getArrayIndex(), getArrayRangeStart(), and getArrayRangeEnd() already
return Expr *.
---
Full diff: https://github.com/llvm/llvm-project/pull/149340.diff
1 Files Affected:
- (modified) clang/lib/Sem
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
getExceptionMode() already returns LangOptions::FPExceptionModeKind.
---
Full diff: https://github.com/llvm/llvm-project/pull/149339.diff
1 Files Affected:
- (modified) clang/lib/CodeGen/CodeGenFunc
https://github.com/shiltian closed
https://github.com/llvm/llvm-project/pull/149229
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/149241
>From 8012a2d62f910c81a38c1c8d1de1a5bbd797d22f Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Wed, 16 Jul 2025 23:48:48 -0400
Subject: [PATCH] [AMDGPU] Add support for `v_sin_bf16` on gfx1250
Co-authored-by:
@@ -67,6 +67,12 @@
// DUP-NOT: "-target-feature" "{{.*}}wavefrontsize64"
// DUP: {{.*}}lld{{.*}} "-plugin-opt=-mattr=+cumode"
+// RUN: %clang -### --target=x86_64-linux-gnu -fgpu-rdc -nogpulib \
+// RUN: -nogpuinc --offload-arch=gfx1010 --no-offload-new-driver %s \
+// RUN:
Author: Shilei Tian
Date: 2025-07-17T08:49:45-04:00
New Revision: a102342990231f8558361da68e5df92c7b1c737d
URL:
https://github.com/llvm/llvm-project/commit/a102342990231f8558361da68e5df92c7b1c737d
DIFF:
https://github.com/llvm/llvm-project/commit/a102342990231f8558361da68e5df92c7b1c737d.diff
L
https://github.com/shiltian closed
https://github.com/llvm/llvm-project/pull/149241
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/statham-arm updated
https://github.com/llvm/llvm-project/pull/149132
>From c45a5196d44b4cee469d0a366ff8489227e2566f Mon Sep 17 00:00:00 2001
From: Simon Tatham
Date: Mon, 14 Jul 2025 13:55:19 +0100
Subject: [PATCH 1/4] [Clang][Driver] Expose relocation model as multilib flags
@@ -376,6 +378,41 @@ ToolChain::getMultilibFlags(const llvm::opt::ArgList
&Args) const {
else
Result.push_back("-fexceptions");
+ // A difference of relocation model (absolutely addressed data, PIC, Arm
+ // ROPI/RWPI) is likely to change whether a particular multilib
https://github.com/shiltian edited
https://github.com/llvm/llvm-project/pull/149241
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jpienaar wrote:
It seems it has been only https://github.com/llvm/llvm-project/pull/148018
submitted to it and that's not on the 21.x branch, and then its returning it to
https://github.com/llvm/llvm-project/blob/3bd3e06f3fe418e24af65457877f40cee0544f9d/clang-
@@ -25,4 +25,27 @@ define amdgpu_ps void @llvm_log2_bf16_s(ptr addrspace(1)
%out, bfloat inreg %src
ret void
}
+define amdgpu_ps void @llvm_exp2_bf16_v(ptr addrspace(1) %out, bfloat %src) {
+; GCN-LABEL: llvm_exp2_bf16_v:
+; GCN: ; %bb.0:
+; GCN-NEXT:v_exp_bf16_e3
@@ -1420,12 +1420,18 @@ int main(int Argc, char **Argv) {
parallel::strategy = hardware_concurrency(1);
if (auto *Arg = Args.getLastArg(OPT_wrapper_jobs)) {
-unsigned Threads = 0;
-if (!llvm::to_integer(Arg->getValue(), Threads) || Threads == 0)
- reportError(
@@ -77,6 +79,82 @@ class RocmInstallationDetector {
SPACKReleaseStr(SPACKReleaseStr.str()) {}
};
+ struct CommonBitcodeLibsPreferences {
+CommonBitcodeLibsPreferences(const Driver &D,
+ const llvm::opt::ArgList &DriverArgs,
+
@@ -77,6 +79,82 @@ class RocmInstallationDetector {
SPACKReleaseStr(SPACKReleaseStr.str()) {}
};
+ struct CommonBitcodeLibsPreferences {
+CommonBitcodeLibsPreferences(const Driver &D,
+ const llvm::opt::ArgList &DriverArgs,
+
https://github.com/jhuber6 approved this pull request.
Seems like an pretty innocuous refactor, LG.
https://github.com/llvm/llvm-project/pull/149294
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo
https://github.com/jamieschmeiser updated
https://github.com/llvm/llvm-project/pull/149176
>From e50062b48a09bd6e077b86bdeed65c7c1abb2ebe Mon Sep 17 00:00:00 2001
From: Jamie Schmeiser
Date: Wed, 16 Jul 2025 15:40:09 -0400
Subject: [PATCH] Ensure proper NULL macro definition for system include
@@ -39,6 +39,25 @@ set(core_files
varargs.h
)
+set(aix_wrapper_files
+ dbm.h
+ stdio.h
+ stdlib.h
+ string.h
+ time.h
+ unistd.h
+ wchar.h
+ )
jamieschmeiser wrote:
Thanks @hubert-reinterpretcast, good catch. I will add it in.
https://github.com
https://github.com/jpienaar ready_for_review
https://github.com/llvm/llvm-project/pull/149306
___
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: Jacques Pienaar (jpienaar)
Changes
Move over change post 21.x branch cut.
---
Full diff: https://github.com/llvm/llvm-project/pull/149306.diff
1 Files Affected:
- (modified) clang-tools-extra/docs/ReleaseNotes.rst (+1-286)
@@ -108,6 +108,12 @@ void foo1(void) {
: parallel)
otherwise(parallel for)
for (int i=0; i<10; i++)
;
+
+#pragma omp metadirective when(user = {condition(1)} \
+ : parallel for)
https://github.com/tbaederr updated
https://github.com/llvm/llvm-project/pull/149286
>From 34201c4031f90a09f4e4d8295f7fb4a261bbb864 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 17 Jul 2025 12:31:01 +0200
Subject: [PATCH] [clang][bytecode] Fix const-in-mutable fields
https://github.com/bader approved this pull request.
https://github.com/llvm/llvm-project/pull/148567
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: erichkeane
Date: 2025-07-17T09:12:36-07:00
New Revision: 011d38bdac95647a872a5faa339465e26535df35
URL:
https://github.com/llvm/llvm-project/commit/011d38bdac95647a872a5faa339465e26535df35
DIFF:
https://github.com/llvm/llvm-project/commit/011d38bdac95647a872a5faa339465e26535df35.diff
LO
https://github.com/balazske updated
https://github.com/llvm/llvm-project/pull/149106
From ba535f818b36e5ab758b4148e46816e8f3ee6550 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bal=C3=A1zs=20K=C3=A9ri?=
Date: Wed, 2 Jul 2025 11:09:58 +0200
Subject: [PATCH 1/2] [clang][analyzer] Improve checker
'uni
https://github.com/efriedma-quic edited
https://github.com/llvm/llvm-project/pull/149176
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,15 @@
+// There are at least 2 valid C null-pointer constants as defined
+// by the C language standard.
+// Test that the macro NULL is defined consistently for all platforms by
+// those headers that the C standard mandates a macro definition for NULL.
+
+// RUN: %cla
https://github.com/efriedma-quic commented:
I guess... if you think this is what's best for AIX, I'm not going to argue
very hard about it, but I don't really want to entangle every other operating
system in this. The current situation is mostly stable.
What logic did you use to decide which
https://github.com/ampandey-1995 approved this pull request.
https://github.com/llvm/llvm-project/pull/149294
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -300,16 +640,17 @@ llvm::Expected
Interpreter::ExtractValueFromExpr(Expr *E) {
using namespace clang;
// Temporary rvalue struct that need special care.
-REPL_EXTERNAL_VISIBILITY void *
+REPL_EXTERNAL_VISIBILITY extern "C" void *
vgvassilev wrote:
Exactly
https://github.com/moorabbit updated
https://github.com/llvm/llvm-project/pull/148281
>From 029d9fce6cdb75ea4819a107c7ed9f074bb36678 Mon Sep 17 00:00:00 2001
From: moorabbit <215698969+moorab...@users.noreply.github.com>
Date: Mon, 7 Jul 2025 09:25:46 -0400
Subject: [PATCH 1/2] [Clang] Add `__bu
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
For mutable and const fields, we have two bits in InlineDescriptor, which both
get inherited down the hierarchy. When a field is both const and mutable, we
CAN read from it if it is a mutable-in-const field,
llvmbot wrote:
/pull-request llvm/llvm-project#149287
https://github.com/llvm/llvm-project/pull/149190
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jpienaar wrote:
Something like
https://github.com/llvm/llvm-project/compare/main...jpienaar:llvm-project:cleanout?expand=1
https://github.com/llvm/llvm-project/pull/149148
___
cfe-commits mailing list
cfe-commits@l
https://github.com/jpienaar created
https://github.com/llvm/llvm-project/pull/149306
Move over change post 21.x branch cut.
>From 8606cc1decb335c92f187ef5eb058f0bee5584ed Mon Sep 17 00:00:00 2001
From: Jacques Pienaar
Date: Thu, 17 Jul 2025 13:13:31 +
Subject: [PATCH] Cleanout clang-tools-
https://github.com/jpienaar edited
https://github.com/llvm/llvm-project/pull/149148
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
vbvictor wrote:
> Something like
> https://github.com/llvm/llvm-project/compare/main...jpienaar:llvm-project:cleanout?expand=1
Looks good, that must be the patch needed.
https://github.com/llvm/llvm-project/pull/149148
@@ -107,3 +110,294 @@ void Cygwin::AddClangSystemIncludeArgs(const ArgList
&DriverArgs,
addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include");
addExternCSystemInclude(DriverArgs, CC1Args, SysRoot +
"/usr/include/w32api");
}
+
+static bool getStaticPIE(con
@@ -107,3 +110,294 @@ void Cygwin::AddClangSystemIncludeArgs(const ArgList
&DriverArgs,
addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include");
addExternCSystemInclude(DriverArgs, CC1Args, SysRoot +
"/usr/include/w32api");
}
+
+static bool getStaticPIE(con
@@ -107,3 +110,294 @@ void Cygwin::AddClangSystemIncludeArgs(const ArgList
&DriverArgs,
addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include");
addExternCSystemInclude(DriverArgs, CC1Args, SysRoot +
"/usr/include/w32api");
}
+
+static bool getStaticPIE(con
https://github.com/vhscampos approved this pull request.
https://github.com/llvm/llvm-project/pull/149132
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -107,3 +110,294 @@ void Cygwin::AddClangSystemIncludeArgs(const ArgList
&DriverArgs,
addExternCSystemInclude(DriverArgs, CC1Args, SysRoot + "/usr/include");
addExternCSystemInclude(DriverArgs, CC1Args, SysRoot +
"/usr/include/w32api");
}
+
+static bool getStaticPIE(con
https://github.com/compnerd approved this pull request.
https://github.com/llvm/llvm-project/pull/148818
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
cor3ntin wrote:
/cherry-pick 28e1e7e
https://github.com/llvm/llvm-project/pull/149272
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Meinersbur edited
https://github.com/llvm/llvm-project/pull/137828
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin milestoned
https://github.com/llvm/llvm-project/pull/149272
___
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/149039
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3122,6 +3122,9 @@ class AnnotatingParser {
}
}
+if (PrevToken->isTypeName(LangOpts))
HazardyKnusperkeks wrote:
Thanks.
https://github.com/llvm/llvm-project/pull/149039
___
cfe-commits mailing list
https://github.com/AaronBallman created
https://github.com/llvm/llvm-project/pull/149314
The previous text was "implicitly declaring library function 'exp' with
type 'double (double)'" which helpfully mentioned the type. However, it
was also confusing because an implicit function declaration in
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
Author: Aaron Ballman (AaronBallman)
Changes
The previous text was "implicitly declaring library function 'exp' with
type 'double (double)'" which helpfully mentioned the type. However, it
was also confusing because an implicit fu
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Aaron Ballman (AaronBallman)
Changes
The previous text was "implicitly declaring library function 'exp' with
type 'double (double)'" which helpfully mentioned the type. However, it
was also confusing because an implicit function declaration
@@ -22,7 +22,7 @@ void_typedef f2_helper(void);
static void f2(void *buf) {
F12_typedef* x;
x = f2_helper();
- memcpy((&x[1]), (buf), 1); // expected-warning{{call to undeclared library
function 'memcpy' with type 'void *(void *, const void *}} \
+ memcpy((&x[1]), (buf),
@@ -1,7 +1,7 @@
// RUN: %clang_cc1 -fsyntax-only -Wno-strict-prototypes -verify %s
void f() {
- int *ptr = malloc(sizeof(int) * 10); // expected-error{{call to undeclared
library function 'malloc' with type}} \
+ int *ptr = malloc(sizeof(int) * 10); // expected-error{{call
https://github.com/vbvictor approved this pull request.
LGTM,
Maybe better commit name will be "[clang-tools-extra] Bump ReleaseNotes to
22.0.0git"
https://github.com/llvm/llvm-project/pull/149306
___
cfe-commits mailing list
cfe-commits@lists.llvm.or
https://github.com/jdenny-ornl edited
https://github.com/llvm/llvm-project/pull/149003
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -22,15 +24,97 @@ struct LoweringPreparePass : public
LoweringPrepareBase {
void runOnOperation() override;
void runOnOp(Operation *op);
+ void lowerArrayCtor(ArrayCtor op);
};
} // namespace
-void LoweringPreparePass::runOnOp(Operation *op) {}
+void LoweringPrep
@@ -0,0 +1,70 @@
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -Wno-unused-value
-fclangir -emit-cir %s -o %t.cir
+// RUN: FileCheck --input-file=%t.cir %s -check-prefix=CIR
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -Wno-unused-value
-fclangir -emit-llvm %s -o
llvmbot wrote:
/pull-request llvm/llvm-project#149328
https://github.com/llvm/llvm-project/pull/149272
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
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/Amichaxx created
https://github.com/llvm/llvm-project/pull/149329
Issue originally raised in
https://github.com/llvm/llvm-project/issues/71362#issuecomment-3028515618.
Certain NEON intrinsics that operate on poly types (e.g. poly8x8_t) failed to
compile with the -fno-lax-ve
llvmbot wrote:
@llvm/pr-subscribers-backend-aarch64
Author: Amina Chabane (Amichaxx)
Changes
Issue originally raised in
https://github.com/llvm/llvm-project/issues/71362#issuecomment-3028515618.
Certain NEON intrinsics that operate on poly types (e.g. poly8x8_t) failed to
compile with t
https://github.com/Amichaxx edited
https://github.com/llvm/llvm-project/pull/149329
___
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/149330
None
>From ccea1fcbd2a848e679bca4d75a67b51795b468c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 17 Jul 2025 17:04:18 +0200
Subject: [PATCH] [clang][bytecode] Diagnose dereferencing
https://github.com/Meinersbur updated
https://github.com/llvm/llvm-project/pull/137828
>From 839198d61f9937b5504d5e036c67266b4b84da8e Mon Sep 17 00:00:00 2001
From: Michael Kruse
Date: Thu, 17 Jul 2025 14:09:57 +0200
Subject: [PATCH 1/4] [Flang][Flang-RT][OpenMP] Move builtin .mod generation
i
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/149330.diff
7 Files Affected:
- (modified) clang/lib/AST/ByteCode/Compiler.cpp (+3)
- (modified) clang/lib/AST/ByteCode/Interp.h (+11)
- (modifie
https://github.com/Keenuts created
https://github.com/llvm/llvm-project/pull/149363
WIP PR for the WG-HLSL semantic proposal
TODO: validate DXIL packing and SPIR-V location assignment.
From 8eb96a452cacee0e2284b6466351758db2bf3a80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nathan=20Gau=C3=ABr?=
https://github.com/zGoldthorpe updated
https://github.com/llvm/llvm-project/pull/149216
>From c82bff38f45c65d8fbac77bd4ef3369a16b768d9 Mon Sep 17 00:00:00 2001
From: Zach Goldthorpe
Date: Wed, 16 Jul 2025 17:45:04 -0500
Subject: [PATCH 1/2] Exposed some AMDGCN raw buffer atomic intrinsics to
c
@@ -4114,3 +4124,35 @@ void
*ProgramStateTrait::GDMIndex() {
}
void ExprEngine::anchor() { }
+
+void ExprEngine::ConstructInitList(const Expr *E, ArrayRef Args,
+ bool IsTransparent, ExplodedNode *Pred,
+ Exp
https://github.com/steakhal edited
https://github.com/llvm/llvm-project/pull/148988
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
101 - 200 of 386 matches
Mail list logo