https://github.com/dev-priyanshu15 updated
https://github.com/llvm/llvm-project/pull/172116
>From 4d15af1f63bf72dcedd4ff18b9c9a63cf3e7c7e6 Mon Sep 17 00:00:00 2001
From: spriyanshucoder
Date: Sat, 13 Dec 2025 03:50:18 +0530
Subject: [PATCH 1/2] [LLVM][LoopVectorize] Fix SIGFPE crash in
getPred
@@ -153,9 +153,13 @@ bool X86TargetInfo::initFeatureMap(
llvm::StringMap &Features, DiagnosticsEngine &Diags, StringRef CPU,
const std::vector &FeaturesVec) const {
// FIXME: This *really* should not be here.
- // X86_64 always has SSE2.
- if (getTriple().getArch()
https://github.com/dev-priyanshu15 updated
https://github.com/llvm/llvm-project/pull/172116
504 Gateway Time-out
The server didn't respond in time.
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinf
ian-twilightcoder wrote:
I'm tempted to make the system prefix finding a little more generous.
1. Don't match on arch, call it a match if the triple matches vendor-os-env
2. Fall back on the default SupportedTarget's `SystemPrefix` if there isn't a
match
Any opinions?
https://github.com/llvm/ll
https://github.com/ojhunt requested changes to this pull request.
LGTM, just some super minor nits on style, and I'd just like a few more tests -
you've added logic to be safe against `using partial_ordering = int`, etc so we
should make sure that's tested.
https://github.com/llvm/llvm-project
@@ -67,3 +67,28 @@ struct comparable_t {
expected-note {{defaulted 'operator<=>' is implicitly deleted because defaulted
comparison of vector types is not supported}}
};
} // namespace GH137452
+
+namespace GH1
@@ -83,7 +83,14 @@ ComparisonCategoryInfo::ValueInfo
*ComparisonCategoryInfo::lookupValueInfo(
&Ctx.Idents.get(ComparisonCategories::getResultString(ValueKind)));
if (Lookup.empty() || !isa(Lookup.front()))
return nullptr;
- Objects.emplace_back(ValueKind, cast(Lo
https://github.com/ojhunt edited
https://github.com/llvm/llvm-project/pull/172001
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -67,3 +67,28 @@ struct comparable_t {
expected-note {{defaulted 'operator<=>' is implicitly deleted because defaulted
comparison of vector types is not supported}}
};
} // namespace GH137452
+
+namespace GH1
llvmbot wrote:
@llvm/pr-subscribers-backend-risc-v
Author: Brandon Wu (4vtomat)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/172135.diff
1 Files Affected:
- (modified) clang/lib/Sema/SemaRISCV.cpp (+10)
``diff
diff --git a/clang/lib/Sema/SemaRISCV.cpp b/
https://github.com/4vtomat created
https://github.com/llvm/llvm-project/pull/172135
None
>From 3e4c3c13eba70ff8b347bcc8c40cdb4ad0b80e75 Mon Sep 17 00:00:00 2001
From: Brandon Wu
Date: Fri, 12 Dec 2025 23:08:16 -0800
Subject: [PATCH] [llvm][RISCV] Add frm range check for xsfvfnrclipxfqf
---
c
github-actions[bot] wrote:
# :penguin: Linux x64 Test Results
* 3050 tests passed
* 7 tests skipped
All executed tests passed, but another part of the build **failed**. Click on a
failure below to see the details.
tools/clang/lib/CIR/Lowering/DirectToLLVM/CMakeFiles/obj.clangCIRLoweringDire
https://github.com/topperc approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/172130
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/topperc approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/171981
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/andykaylor edited
https://github.com/llvm/llvm-project/pull/172133
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -108,4 +112,12 @@ mlir::Operation *LowerItaniumCXXABI::lowerGetRuntimeMember(
cir::CastKind::bitcast, memberBytesPtr);
}
+mlir::Value
+LowerItaniumCXXABI::lowerDataMemberCmp(cir::CmpOp op, mlir::Value loweredLhs,
+
vitalybuka wrote:
CC @fmayer
After this patch we have a change in Ubsan:
before: https://godbolt.org/z/E1rG51cc1
after: https://godbolt.org/z/rj47nMbno
gcc: https://godbolt.org/z/hxbaPhTrM
https://github.com/llvm/llvm-project/pull/152575
___
cfe-com
llvmbot wrote:
@llvm/pr-subscribers-clangir
Author: Andy Kaylor (andykaylor)
Changes
This moves the code that handles CXXABI-specific lowering in
ConvertCIRToLLVMPass into a standlone CIR-to-CIR transform pass. The handling
of these operations was already performing a CIR-to-CIR transfor
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Andy Kaylor (andykaylor)
Changes
This moves the code that handles CXXABI-specific lowering in
ConvertCIRToLLVMPass into a standlone CIR-to-CIR transform pass. The handling
of these operations was already performing a CIR-to-CIR transforma
https://github.com/andykaylor created
https://github.com/llvm/llvm-project/pull/172133
This moves the code that handles CXXABI-specific lowering in
ConvertCIRToLLVMPass into a standlone CIR-to-CIR transform pass. The handling
of these operations was already performing a CIR-to-CIR transformati
https://github.com/YGGkk updated
https://github.com/llvm/llvm-project/pull/172132
>From 7bb370ddc58d5364fa1c636f3c29a40e54a943e5 Mon Sep 17 00:00:00 2001
From: Zhihui Yang
Date: Fri, 12 Dec 2025 22:21:52 -0800
Subject: [PATCH 1/3] [CIR][X86] Add support for permd builtins
---
clang/lib/CIR/Co
https://github.com/YGGkk updated
https://github.com/llvm/llvm-project/pull/172132
>From 7bb370ddc58d5364fa1c636f3c29a40e54a943e5 Mon Sep 17 00:00:00 2001
From: Zhihui Yang
Date: Fri, 12 Dec 2025 22:21:52 -0800
Subject: [PATCH 1/2] [CIR][X86] Add support for permd builtins
---
clang/lib/CIR/Co
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Zhihui Yang (YGGkk)
Changes
Part of https://github.com/llvm/llvm-project/issues/167765
---
Full diff: https://github.com/llvm/llvm-project/pull/172132.diff
2 Files Affected:
- (modified) clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp (+16-1
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/YGGkk created
https://github.com/llvm/llvm-project/pull/172132
Part of https://github.com/llvm/llvm-project/issues/167765
>From 7bb370ddc58d5364fa1c636f3c29a40e54a943e5 Mon Sep 17 00:00:00 2001
From: Zhihui Yang
Date: Fri, 12 Dec 2025 22:21:52 -0800
Subject: [PATCH] [CIR][X8
https://github.com/YGGkk updated
https://github.com/llvm/llvm-project/pull/171621
>From b2a8864d269f727ae4e85188d68a3a1230f43d0b Mon Sep 17 00:00:00 2001
From: Zhihui Yang
Date: Wed, 10 Dec 2025 05:46:30 -0800
Subject: [PATCH 1/5] [CIR][X86] Add support for alignd builtins
---
clang/lib/CIR/C
github-actions[bot] wrote:
# :penguin: Linux x64 Test Results
* 85089 tests passed
* 1174 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
Clang.PCH/riscv-rvv-vectors.c
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
rm -rf
/ho
https://github.com/YGGkk updated
https://github.com/llvm/llvm-project/pull/171621
>From b2a8864d269f727ae4e85188d68a3a1230f43d0b Mon Sep 17 00:00:00 2001
From: Zhihui Yang
Date: Wed, 10 Dec 2025 05:46:30 -0800
Subject: [PATCH 1/5] [CIR][X86] Add support for alignd builtins
---
clang/lib/CIR/C
llvmbot wrote:
@llvm/pr-subscribers-backend-risc-v
Author: Brandon Wu (4vtomat)
Changes
These are pseudoinstruction aliases for vfsgnjx and vfsgnjn.
---
Patch is 108.72 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/172130.diff
9 Files Affe
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Brandon Wu (4vtomat)
Changes
These are pseudoinstruction aliases for vfsgnjx and vfsgnjn.
---
Patch is 108.72 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/172130.diff
9 Files Affected:
-
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 origin/main HEAD --extensions c,h,cpp --
clang/test/PCH/riscv-rvv-vectors.c clang/inc
https://github.com/4vtomat updated
https://github.com/llvm/llvm-project/pull/171981
>From 959b7f73fc6a7c542640256927571f767a3a4f68 Mon Sep 17 00:00:00 2001
From: Brandon Wu
Date: Fri, 12 Dec 2025 01:15:38 -0800
Subject: [PATCH 1/3] [AST][RISCV] Preserve RISC-V intrinsic pragma in AST
RISC-V ve
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-m68k-linux-cross`
running on `suse-gary-m68k-cross` while building `clang-tools-extra` at step 5
"ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/27/builds/20287
Here is the rel
@@ -45,7 +45,15 @@ class DiskBackedIndexStorage : public BackgroundIndexStorage
{
if (EC != OK) {
elog("Failed to create directory {0} for index storage: {1}",
DiskShardRoot, EC.message());
+ return;
}
+// Create a .gitignore file in the dire
https://github.com/lukel97 edited
https://github.com/llvm/llvm-project/pull/172094
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lukel97 edited
https://github.com/llvm/llvm-project/pull/172094
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/lukel97 edited
https://github.com/llvm/llvm-project/pull/172094
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2907,6 +2907,10 @@ uint64_t
LoopVectorizationCostModel::getPredBlockCostDivisor(
uint64_t BBFreq = getBFI().getBlockFreq(BB).getFrequency();
assert(HeaderFreq >= BBFreq &&
"Header has smaller block freq than dominated BB?");
+ // Guard against division by zer
https://github.com/lukel97 requested changes to this pull request.
Hi thanks for submitting a PR for this. Unfortunately I think the issue that
was filed for this may be slightly out of date. Were you definitely able to
recreate the crash after 0fbb45e7d6dcccf88248d6be5e4f167ddb3e3fa8?
https:/
https://github.com/zeyi2 closed https://github.com/llvm/llvm-project/pull/171565
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Bala_Bhuvan_Varma
Date: 2025-12-13T12:04:54+08:00
New Revision: e0379b8f91e52e978208887e2f74ea9efda3180d
URL:
https://github.com/llvm/llvm-project/commit/e0379b8f91e52e978208887e2f74ea9efda3180d
DIFF:
https://github.com/llvm/llvm-project/commit/e0379b8f91e52e978208887e2f74ea9efda3180d.d
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,llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/95/build
Bhuvan1527 wrote:
@zeyi2 , please trigger the pr merge. I don't have permission to merge.
Thank you
https://github.com/llvm/llvm-project/pull/171565
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listin
https://github.com/brad0 updated
https://github.com/llvm/llvm-project/pull/156143
>From 27c75631d0197603aa5faaadb227e0310874d014 Mon Sep 17 00:00:00 2001
From: Brad Smith
Date: Sat, 30 Aug 2025 00:34:30 -0400
Subject: [PATCH] [Driver] Enable outline atomics for NetBSD/aarch64
---
clang/lib/Dr
https://github.com/mpark updated
https://github.com/llvm/llvm-project/pull/171769
>From 2be205229095de49af648763ad47f65641e0731f Mon Sep 17 00:00:00 2001
From: Michael Park
Date: Wed, 10 Dec 2025 17:58:04 -0800
Subject: [PATCH] [C++20][Modules] Improve namespace handling performance for
module
mpark wrote:
I've added a `TODO` to try to generalize this optimization to other
redeclarable decls.
https://github.com/llvm/llvm-project/pull/171769
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listin
https://github.com/zeyi2 approved this pull request.
https://github.com/llvm/llvm-project/pull/172120
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mrexodia updated
https://github.com/llvm/llvm-project/pull/170003
>From 1d0f1896d717bbd206f5adda36a5428ae65666b2 Mon Sep 17 00:00:00 2001
From: Duncan Ogilvie
Date: Sat, 29 Nov 2025 17:07:37 +0100
Subject: [PATCH] Add .gitignore file in .cache/clangd/index
---
clang-tools-e
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: Victor Chernyakin (localspook)
Changes
This comment was written 12 years ago. It's no longer correct to say that
diagnostic reporting is under heavy development, and we seem to be doing just
fine without tablegenned IDs, so I think w
https://github.com/localspook created
https://github.com/llvm/llvm-project/pull/172120
This comment was written 12 years ago. It's no longer correct to say that
diagnostic reporting is under heavy development, and we seem to be doing just
fine without tablegenned IDs, so I think we can simply
@@ -153,9 +153,13 @@ bool X86TargetInfo::initFeatureMap(
llvm::StringMap &Features, DiagnosticsEngine &Diags, StringRef CPU,
const std::vector &FeaturesVec) const {
// FIXME: This *really* should not be here.
- // X86_64 always has SSE2.
- if (getTriple().getArch()
https://github.com/mrexodia updated
https://github.com/llvm/llvm-project/pull/170003
>From 9429f24e4b7a703e0f898cfe555ec5ef448c69f2 Mon Sep 17 00:00:00 2001
From: Duncan Ogilvie
Date: Sat, 29 Nov 2025 17:07:37 +0100
Subject: [PATCH] Add .gitignore file in .cache/clangd/index
---
clang-tools-e
https://github.com/clementval requested changes to this pull request.
Flang changes are out of scope of this PR.
https://github.com/llvm/llvm-project/pull/172116
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/ma
@@ -0,0 +1,32 @@
+//===-- Implementation of fputc for baremetal ---*- C++
-*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apa
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-armv7-global-isel`
running on `linaro-clang-armv7-global-isel` while building `clang` at step 7
"ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/39/builds/9085
Here is the relev
@@ -279,9 +279,31 @@ static void runNewPMPasses(const Config &Conf, Module
&Mod, TargetMachine *TM,
RegisterPassPlugins(Conf.PassPlugins, PB);
std::unique_ptr TLII(
- new TargetLibraryInfoImpl(TM->getTargetTriple(), TM->Options.VecLib));
+ new TargetLibraryInfoI
@@ -365,7 +387,8 @@ static bool isEmptyModule(const Module &Mod) {
bool lto::opt(const Config &Conf, TargetMachine *TM, unsigned Task, Module
&Mod,
bool IsThinLTO, ModuleSummaryIndex *ExportSummary,
const ModuleSummaryIndex *ImportSummary,
-
@@ -2701,14 +2701,30 @@ static void markBuffersAsDontNeed(Ctx &ctx, bool
skipLinkedOutput) {
template
void LinkerDriver::compileBitcodeFiles(bool skipLinkedOutput) {
llvm::TimeTraceScope timeScope("LTO");
+ // Capture the triple before moving the bitcode into the bitcode c
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `openmp-s390x-linux`
running on `systemz-1` while building `clang` at step 6 "test-openmp".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/88/builds/18979
Here is the relevant piece of the build log f
https://github.com/mrexodia updated
https://github.com/llvm/llvm-project/pull/170003
>From cfcbfbafda0e37a4cb54456024cec1035d071c6c Mon Sep 17 00:00:00 2001
From: Duncan Ogilvie
Date: Sat, 29 Nov 2025 17:07:37 +0100
Subject: [PATCH] Add .gitignore file in .cache/clangd/index
---
.../clangd/in
@@ -16412,28 +16438,53 @@ Decl *Sema::ActOnFinishFunctionBody(Decl *dcl, Stmt
*Body, bool IsInstantiation,
FD->getAttr();
if (FD->isDefaulted()) {
Diag(SKEPAttr->getLocation(), diag::err_sycl_entry_point_invalid)
- << SKEPAttr << /*defaulted function
@@ -467,6 +468,58 @@ hasAnyOverloadedOperatorNameFunc(ArrayRef NameRefs) {
return HasOverloadOpNameMatcher(vectorFromRefs(NameRefs));
}
+static std::vector>
+vectorFromMatcherRefs(ArrayRef *> MatcherRefs) {
+ std::vector> Matchers;
+ Matchers.reserve(MatcherRefs.size());
+
@@ -467,6 +468,58 @@ hasAnyOverloadedOperatorNameFunc(ArrayRef NameRefs) {
return HasOverloadOpNameMatcher(vectorFromRefs(NameRefs));
}
+static std::vector>
+vectorFromMatcherRefs(ArrayRef *> MatcherRefs) {
+ std::vector> Matchers;
+ Matchers.reserve(MatcherRefs.size());
+
@@ -467,6 +468,58 @@ hasAnyOverloadedOperatorNameFunc(ArrayRef NameRefs) {
return HasOverloadOpNameMatcher(vectorFromRefs(NameRefs));
}
+static std::vector>
+vectorFromMatcherRefs(ArrayRef *> MatcherRefs) {
+ std::vector> Matchers;
+ Matchers.reserve(MatcherRefs.size());
+
https://github.com/erichkeane edited
https://github.com/llvm/llvm-project/pull/152403
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -16412,28 +16438,53 @@ Decl *Sema::ActOnFinishFunctionBody(Decl *dcl, Stmt
*Body, bool IsInstantiation,
FD->getAttr();
if (FD->isDefaulted()) {
Diag(SKEPAttr->getLocation(), diag::err_sycl_entry_point_invalid)
- << SKEPAttr << /*defaulted function
https://github.com/tstellar approved this pull request.
The builds pass, so this is fine with me.
https://github.com/llvm/llvm-project/pull/160581
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/c
Author: Ryosuke Niwa
Date: 2025-12-12T14:58:38-08:00
New Revision: e23e5705e69aa7c6e4f35394b673977cca97308a
URL:
https://github.com/llvm/llvm-project/commit/e23e5705e69aa7c6e4f35394b673977cca97308a
DIFF:
https://github.com/llvm/llvm-project/commit/e23e5705e69aa7c6e4f35394b673977cca97308a.diff
https://github.com/shiltian requested changes to this pull request.
I think using a string for a user-facing interface is a bad design. The Sema
check also doesn't check whether the scope string is valid or not. This should
be something like a memory order value for those GCC atomic builtins.
https://github.com/dpaoliello updated
https://github.com/llvm/llvm-project/pull/160604
>From 78a7bf052fa49eaf9a566aa5b109754300c77a51 Mon Sep 17 00:00:00 2001
From: Daniel Paoliello
Date: Fri, 12 Dec 2025 09:45:37 -0800
Subject: [PATCH] [win][x64] Fix import call optimization for calls to
dlli
dschuff wrote:
> I would like to avoid defining two new personality functions for ObjC and
> ObjCXX on WASM. Can't we just differentiate and emit code based on the target
> triple?
If objc follows exactly the same ABI and runtime as C++ then maybe it can just
use the same personality function
@@ -16412,28 +16438,53 @@ Decl *Sema::ActOnFinishFunctionBody(Decl *dcl, Stmt
*Body, bool IsInstantiation,
FD->getAttr();
if (FD->isDefaulted()) {
Diag(SKEPAttr->getLocation(), diag::err_sycl_entry_point_invalid)
- << SKEPAttr << /*defaulted function
https://github.com/dev-priyanshu15 updated
https://github.com/llvm/llvm-project/pull/172094
>From 5bc0f4afb423c085addebd009aaff9c8733b3931 Mon Sep 17 00:00:00 2001
From: spriyanshucoder
Date: Sat, 13 Dec 2025 02:50:35 +0530
Subject: [PATCH 1/3] [flang][OpenMP] Fix regression in OpenMP master re
@@ -161,43 +164,107 @@ DependencyScanningTool::getModuleDependencies(
StringRef ModuleName, ArrayRef CommandLine, StringRef CWD,
const llvm::DenseSet &AlreadySeen,
LookupModuleOutputCallback LookupModuleOutput) {
- FullDependencyConsumer Consumer(AlreadySeen);
- C
@@ -713,38 +714,31 @@ bool DependencyScanningAction::runInvocation(
return Result;
}
-bool CompilerInstanceWithContext::initialize(DiagnosticConsumer *DC) {
- if (DC) {
-DiagConsumer = DC;
- } else {
-DiagPrinterWithOS =
-std::make_unique(CommandLine);
-
github-actions[bot] wrote:
# :window: Windows x64 Test Results
* 51520 tests passed
* 871 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
Clang.CodeGen/allow-ubsan-check.c
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 5
c:\_wor
https://github.com/dev-priyanshu15 updated
https://github.com/llvm/llvm-project/pull/172092
>From 5bc0f4afb423c085addebd009aaff9c8733b3931 Mon Sep 17 00:00:00 2001
From: spriyanshucoder
Date: Sat, 13 Dec 2025 02:50:35 +0530
Subject: [PATCH 1/2] [flang][OpenMP] Fix regression in OpenMP master re
llvmbot wrote:
@llvm/pr-subscribers-flang-fir-hlfir
Author: Priyanshu Singh (dev-priyanshu15)
Changes
[clang][libclang] Fix auto function parameter type reporting
When auto is used as a function parameter type, clang-c API was
incorrectly reporting it as TypeRef with kind unexposed instea
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
github-actions[bot] wrote:
# :penguin: Linux x64 Test Results
* 85092 tests passed
* 1170 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### Clang
Clang.CodeGen/allow-ubsan-check.c
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 5
/home/g
https://github.com/dev-priyanshu15 created
https://github.com/llvm/llvm-project/pull/172092
[clang][libclang] Fix auto function parameter type reporting
When auto is used as a function parameter type, clang-c API was
incorrectly reporting it as TypeRef with kind unexposed instead of
reporting i
@@ -156,6 +156,8 @@ void safe_examples(std::string s1, int *p) {
snprintf(a, 10, "%s%d%s%p%s", __PRETTY_FUNCTION__, *p, "hello", s1.c_str());
// no warn
snprintf(&c, 1, "%s%d%s%p%s", __PRETTY_FUNCTION__, *p, "hello", s1.c_str());
// no warn
@@ -2106,6 +2108,10 @@ class UnsafeLibcFunctionCallGadget : public
WarningGadget {
// function that is not in any namespace:
if (!FD->isInStdNamespace() && !IsGlobalAndNotInAnyNamespace)
return false;
+// If the call has a sole null-terminated argument, e.g.,
@@ -781,40 +817,6 @@ struct LibcFunNamePrefixSuffixParser {
}
};
-// Constant fold a conditional expression 'cond ? A : B' to
ziqingluo-90 wrote:
Pulled the two functions out of the `libc_func_matchers ` namespace since they
are more general.
https://gith
https://github.com/vitalybuka edited
https://github.com/llvm/llvm-project/pull/171929
___
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang-analysis
Author: Ziqing Luo (ziqingluo-90)
Changes
The function `EvaluateAsBooleanCondition` assumes (asserts) that the input
`Expr` is not in a dependent context. So it is caller's responsibility to check
the condition before the call. This com
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Ziqing Luo (ziqingluo-90)
Changes
The function `EvaluateAsBooleanCondition` assumes (asserts) that the input
`Expr` is not in a dependent context. So it is caller's responsibility to check
the condition before the call. This commit fixes
https://github.com/ziqingluo-90 updated
https://github.com/llvm/llvm-project/pull/172091
>From 00349cc36ead6258c94499f8b7702deb5f0ff7c8 Mon Sep 17 00:00:00 2001
From: Ziqing Luo
Date: Fri, 12 Dec 2025 13:45:07 -0800
Subject: [PATCH] [-Wunsafe-buffer-usage] Check isValueDependent before
Evaluat
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: None (macurtis-amd)
Changes
Add clang builtins and associated llvm intrinsics for scoped load/store of
128bits
New builtins:
1. `__builtin_amdgcn_global_load_b128`
([documentation](https://github.com/macurtis-amd/llvm-project/blo
llvmbot wrote:
@llvm/pr-subscribers-tablegen
Author: None (macurtis-amd)
Changes
Add clang builtins and associated llvm intrinsics for scoped load/store of
128bits
New builtins:
1. `__builtin_amdgcn_global_load_b128`
([documentation](https://github.com/macurtis-amd/llvm-project/blob/glo
llvmbot wrote:
@llvm/pr-subscribers-llvm-ir
Author: None (macurtis-amd)
Changes
Add clang builtins and associated llvm intrinsics for scoped load/store of
128bits
New builtins:
1. `__builtin_amdgcn_global_load_b128`
([documentation](https://github.com/macurtis-amd/llvm-project/blob/glob
llvmbot wrote:
@llvm/pr-subscribers-llvm-globalisel
Author: None (macurtis-amd)
Changes
Add clang builtins and associated llvm intrinsics for scoped load/store of
128bits
New builtins:
1. `__builtin_amdgcn_global_load_b128`
([documentation](https://github.com/macurtis-amd/llvm-project/b
@@ -1706,7 +1706,12 @@ CIRGenFunction::emitX86BuiltinExpr(unsigned builtinID,
const CallExpr *expr) {
cir::SyncScopeKind::SingleThread));
return mlir::Value{};
}
- case X86::BI_AddressOfReturnAddress:
+ case X86::BI_AddressOfReturnAd
https://github.com/ziqingluo-90 created
https://github.com/llvm/llvm-project/pull/172091
The function `EvaluateAsBooleanCondition` assumes (asserts) that the input
`Expr` is not in a dependent context. So it is caller's responsibility to check
the condition before the call. This commit fixes
@@ -102,6 +102,10 @@ Hover
Code completion
^^^
+- Added a new ``MacroFilter`` configuration option to ``Completion`` to
vbvictor wrote:
nit: it's probably better to keep empty lines for separations.
```suggestion
^^^
- Added a new `
https://github.com/vbvictor approved this pull request.
Thank you for raising this once again.
Would be good to add release notes here:
https://github.com/llvm/llvm-project/blob/333ee931df888c7e0c62249290b20c17cb33d10b/clang-tools-extra/docs/ReleaseNotes.rst?plain=1#L89-L90
https://github.com/l
@@ -263,8 +263,14 @@ class ScalarExprEmitter : public
StmtVisitor {
return {};
}
mlir::Value VisitEmbedExpr(EmbedExpr *e) {
-cgf.cgm.errorNYI(e->getSourceRange(), "ScalarExprEmitter: embed");
-return {};
+assert(e->getDataElementCount() == 1);
+auto it
https://github.com/rniwa updated
https://github.com/llvm/llvm-project/pull/171764
>From ef9a5c9e9593fdb1fc0f414ba8f73be108f46c1a Mon Sep 17 00:00:00 2001
From: Ryosuke Niwa
Date: Wed, 10 Dec 2025 21:21:11 -0800
Subject: [PATCH 1/7] [alpha.webkit.UncountedLocalVarsChecker] Ignore a VarDecl
in "
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Amr Hesham (AmrDeveloper)
Changes
Add support for the EmbedExpr for ScalarExpr
---
Full diff: https://github.com/llvm/llvm-project/pull/172088.diff
2 Files Affected:
- (modified) clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp (+8-2)
- (add
https://github.com/AmrDeveloper created
https://github.com/llvm/llvm-project/pull/172088
Add support for the EmbedExpr for ScalarExpr
>From 66572f01651b5c4fbaa01710918f36bddd9668a0 Mon Sep 17 00:00:00 2001
From: Amr Hesham
Date: Fri, 12 Dec 2025 22:34:24 +0100
Subject: [PATCH] [CIR] Add suppor
1 - 100 of 429 matches
Mail list logo