https://github.com/tarunprabhu commented:
Thanks for the clarification. Just one suggestion
https://github.com/llvm/llvm-project/pull/158314
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-com
https://github.com/erichkeane closed
https://github.com/llvm/llvm-project/pull/158635
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Nathan =?utf-8?q?Gau=C3=ABr?=
Message-ID:
In-Reply-To:
https://github.com/erichkeane approved this pull request.
https://github.com/llvm/llvm-project/pull/158047
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/
@@ -44,8 +46,53 @@ def test_from_id(self):
def test_duplicate_ids(self):
"""Check that no two kinds have the same id"""
-# for enum in self.enums:
for enum in self.enums:
num_declared_variants = len(enum._member_map_.keys())
@@ -0,0 +1,27 @@
+// RUN: %flang -### -S %s -g -gdwarf-5 2>&1 \
+// RUN: | FileCheck --check-prefix=CHECK-WITH-G-DWARF5 %s
+// RUN: %flang -### -S %s -g1 -gdwarf-5 2>&1 \
+// RUN: | FileCheck --check-prefix=CHECK-WITH-G1-DWARF5 %s
+// RUN: %flang -### -S
https://github.com/DeinAlptraum edited
https://github.com/llvm/llvm-project/pull/143264
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/DeinAlptraum edited
https://github.com/llvm/llvm-project/pull/143264
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -126,6 +130,36 @@ _LIBUNWIND_HIDDEN int __unw_set_reg(unw_cursor_t *cursor,
unw_regnum_t regNum,
// First, get the FDE for the old location and then update it.
co->getInfo(&info);
co->setInfoBasedOnIPRegister(false);
+
+#if __has_feature(ptrauth_calls)
+
sarnex wrote:
Ah sorry, investigating now.
https://github.com/llvm/llvm-project/pull/144172
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Sirraide auto_merge_enabled
https://github.com/llvm/llvm-project/pull/157364
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
shafik wrote:
@avikivity https://lists.isocpp.org/core/2025/03/17665.php
https://github.com/llvm/llvm-project/pull/130866
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/itzexpoexpo updated
https://github.com/llvm/llvm-project/pull/154580
From 877d155b65a054a240490d3c7e2015673f964466 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Slanina?=
Date: Wed, 20 Aug 2025 19:28:23 +0200
Subject: [PATCH 01/19] [clang-format] Add option
Allo
@@ -1123,6 +1123,13 @@ UNALIASED_CUSTOM_MMA_BUILTIN(mma_xvbf16ger2, "vW512*VV",
UNALIASED_CUSTOM_MMA_BUILTIN(mma_pmxvbf16ger2, "vW512*VVi15i15i3",
"mma,paired-vector-memops")
+UNALIASED_CUSTOM_BUILTIN(mma_dmsha2hash, "vW1024*W1024*Ii", true,
+
https://github.com/lei137 commented:
I see a lot of tests to identify when this type is not valid I think it would
be good to add to the PR description where/how this new type can be used.
https://github.com/llvm/llvm-project/pull/157152
___
cfe-commi
https://github.com/lei137 edited
https://github.com/llvm/llvm-project/pull/157152
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/oontvoo closed
https://github.com/llvm/llvm-project/pull/158698
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,74 @@
+// RUN: %clang_cc1 -fsyntax-only -verify -Wnonnull -Wno-format-security %s
+
+#include
+#include
Sirraide wrote:
```suggestion
typedef __SIZE_TYPE__ size_t;
```
Clang tests should generally never include stdlib headers. If you need
definition
@@ -17097,6 +17097,15 @@ void Sema::AddKnownFunctionAttributes(FunctionDecl
*FD) {
}
}
+SmallVector Indxs;
+if (Context.BuiltinInfo.IsNonNull(BuiltinID, Indxs) &&
+!FD->hasAttr()) {
+ llvm::SmallVector ParamIndxs;
+ for (int I : Indxs)
+
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/158626
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -392,6 +392,10 @@ class Context {
bool performsCallback(unsigned ID,
llvm::SmallVectorImpl &Encoding) const;
+ /// Return true if this builtin has parameters at fixed positions
+ /// that must be non-null.
+ bool IsNonNull(unsigned ID, llvm::Sma
@@ -67,6 +67,7 @@
// The third value provided to the macro specifies information about attributes
// of the function. These must be kept in sync with the predicates in the
// Builtin::Context class. Currently we have:
+// N -> nonnull
Sirraide wrote:
This s
@@ -293,6 +293,34 @@ bool Builtin::Context::isScanfLike(unsigned ID, unsigned
&FormatIdx,
return isLike(ID, FormatIdx, HasVAListArg, "sS");
}
+bool Builtin::Context::IsNonNull(unsigned ID,
+ llvm::SmallVectorImpl &Indxs) const {
+
+ const ch
@@ -0,0 +1,74 @@
+// RUN: %clang_cc1 -fsyntax-only -verify -Wnonnull -Wno-format-security %s
+
+#include
+#include
+
+typedef struct _FILE FILE;
+
+int printf(char const* restrict, ...);
+int __builtin_printf(char const* restrict, ...);
+int fprintf(FILE* restrict, char const* r
@@ -2446,40 +2446,14 @@
TemplateInstantiator::TransformSubstNonTypeTemplateParmExpr(
SubstReplacement = TransformExpr(E->getReplacement());
if (SubstReplacement.isInvalid())
return true;
- QualType SubstType = TransformType(E->getParameterType(getSema().Context));
-
https://github.com/abidh updated
https://github.com/llvm/llvm-project/pull/158314
>From 520cecd2e77273d302432561eaa9dd5cfc6ee0bd Mon Sep 17 00:00:00 2001
From: Abid Qadeer
Date: Thu, 11 Sep 2025 18:02:26 +0100
Subject: [PATCH 1/3] [flang][driver] Support -gdwarf-N option.
This PR adds the supp
https://github.com/ritter-x2a created
https://github.com/llvm/llvm-project/pull/158566
Reverts llvm/llvm-project#157463
The PR breaks buildbots with old ROCm versions, so revert it and reapply when
buildbots are updated.
>From 31a757f2a38c493da868bf97f557c2e30bf24cca Mon Sep 17 00:00:00 2001
F
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/158541
>From 65d24f0b573f2250bf4f99759ecc33f5d6d9ac3a Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Mon, 15 Sep 2025 01:58:01 -0300
Subject: [PATCH] [clang] remove workaround for SubstNonTypeTemplateParmExpr
t
https://github.com/tangjj11 edited
https://github.com/llvm/llvm-project/pull/158688
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Vy Nguyen
Date: 2025-09-15T13:48:51-04:00
New Revision: 06f671e57a574ba1c5127038eff8e8773273790e
URL:
https://github.com/llvm/llvm-project/commit/06f671e57a574ba1c5127038eff8e8773273790e
DIFF:
https://github.com/llvm/llvm-project/commit/06f671e57a574ba1c5127038eff8e8773273790e.diff
LOG
oontvoo wrote:
P.S: Tested locally so merging now
https://github.com/llvm/llvm-project/pull/158698
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,32 @@
+.. title:: clang-tidy - performance-lost-std-move
+
+performance-lost-std-move
+=
+
+Warns if copy constructor is used instead of std::move() and suggests a fix.
+It honours cycles, lambdas, and unspecified call order in compound expressio
asb wrote:
> Looks like this is causing errors in llvm-testsuite, but I’m candidly not
> sure how this is usually handled:
> https://lab.llvm.org/buildbot/#/builders/210/builds/2746
I think we'll want to add `-Wno-incompatible-pointer-types` to the relevant
CMakeLists.txt. As an example, we c
Sirraide wrote:
> I think we'll want to add `-Wno-incompatible-pointer-types` to the relevant
> CMakeLists.txt.
Thanks; I’ll look into it.
https://github.com/llvm/llvm-project/pull/157364
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https:
https://github.com/oontvoo updated
https://github.com/llvm/llvm-project/pull/158698
>From f64b31960be277ba2633273c1f81d34d408ed852 Mon Sep 17 00:00:00 2001
From: Vy Nguyen
Date: Mon, 15 Sep 2025 13:43:12 -0400
Subject: [PATCH] [clang][nfc] Fix tests to avoid writing output to unreachable
locat
Author: camc
Date: 2025-09-15T21:04:45+08:00
New Revision: e0a33cb599f8614b3d897ad2bd2f9fa8e1acbac5
URL:
https://github.com/llvm/llvm-project/commit/e0a33cb599f8614b3d897ad2bd2f9fa8e1acbac5
DIFF:
https://github.com/llvm/llvm-project/commit/e0a33cb599f8614b3d897ad2bd2f9fa8e1acbac5.diff
LOG: [cl
https://github.com/oontvoo created
https://github.com/llvm/llvm-project/pull/158698
[clang][nfc] Fix tests to avoid writing output to unreachable location, which
might cause them to fail
>From f64b31960be277ba2633273c1f81d34d408ed852 Mon Sep 17 00:00:00 2001
From: Vy Nguyen
Date: Mon, 15 Sep
erichkeane wrote:
> I’m not sure it’s defined anywhere whether `nullptr` is a valid argument to
> `printf`, but if GCC diagnoses this then it should be fine for us to do so as
> well.
I agree with all you've said in the review.
Quite a few of the functions listed state that it is UB if they g
https://github.com/jhuber6 approved this pull request.
https://github.com/llvm/llvm-project/pull/158724
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Nathan Gauër
Date: 2025-09-15T15:52:27+02:00
New Revision: 64d5e6c4b35be1840bfffe57a24db2b9d18d65fe
URL:
https://github.com/llvm/llvm-project/commit/64d5e6c4b35be1840bfffe57a24db2b9d18d65fe
DIFF:
https://github.com/llvm/llvm-project/commit/64d5e6c4b35be1840bfffe57a24db2b9d18d65fe.diff
https://github.com/ahatanak created
https://github.com/llvm/llvm-project/pull/158744
This change fixes a crash in clang's CodeGen by ensuring that those arguments
are ignored.
rdar://139824423
>From 2100dca9ad30277bbdb53384358245fd1566a9cb Mon Sep 17 00:00:00 2001
From: Akira Hatanaka
Date:
@@ -0,0 +1,9 @@
+; RUN: not llc < %s -mtriple nvptx 2>&1 | FileCheck %s
+
+declare ptr @llvm.stackaddress.p0()
+
+define ptr @test() {
+; CHECK: STACKADDRESS is not supported on this target.
moorabbit wrote:
Ping.
https://github.com/llvm/llvm-project/pull/148281
medismailben wrote:
Thanks, feel free to merge whenever
https://github.com/llvm/llvm-project/pull/157364
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2903,6 +2903,55 @@ static bool interp__builtin_elementwise_triop(
return true;
}
+static bool interp__builtin_pternlog(InterpState &S, CodePtr OpPC,
+ const CallExpr *Call, bool MaskZ) {
+ assert(Call->getNumArgs() == 5);
+
+ const V
kikairoya wrote:
> To confirm my understanding, the test strategy here is checking that
> everything behaves just like linux-itanium, except for scenarios with
> optimisations which will cause the vtable to be external, and in those cases
> vtable-debug-locations shouldn't be emitted. (Am I ri
HighCommander4 wrote:
Review ping
https://github.com/llvm/llvm-project/pull/156282
___
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
Author: Timm Baeder
Date: 2025-09-16T04:55:20+02:00
New Revision: 6dde34969e108090d58a64ce0b25c78b42df6367
URL:
https://github.com/llvm/llvm-project/commit/6dde34969e108090d58a64ce0b25c78b42df6367
DIFF:
https://github.com/llvm/llvm-project/commit/6dde34969e108090d58a64ce0b25c78b42df6367.diff
L
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/158615
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2025-09-16T05:10:13+02:00
New Revision: c46cf1ea3bfaba58da7e046db7450d7dd6769100
URL:
https://github.com/llvm/llvm-project/commit/c46cf1ea3bfaba58da7e046db7450d7dd6769100
DIFF:
https://github.com/llvm/llvm-project/commit/c46cf1ea3bfaba58da7e046db7450d7dd6769100.diff
L
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/158656
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Sirraide wrote:
> > This seems to have broken several tests several tests in the LLDB test
> > suite:
> > https://green.lab.llvm.org/job/llvm.org/view/LLDB/job/as-lldb-cmake/33215/
>
> Weird, I’m pretty sure I ran the LLDB tests locally and didn’t observe any
> errors; I’m looking into it.
S
https://github.com/Prabhuk updated
https://github.com/llvm/llvm-project/pull/155706
>From eb26a3bdf9bfba33531d9c48f6080946b148f03a Mon Sep 17 00:00:00 2001
From: prabhukr
Date: Wed, 27 Aug 2025 22:11:28 +
Subject: [PATCH 1/9] [llvm][AsmPrinter] Add direct calls to callgraph section
Extend
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
Always take an `unsigned` for the argument index, pull some locals in the
closest scope and use `APInt::isPowerOf2()`.
---
Full diff: https://github.com/llvm/llvm-project/pull/158615.diff
2 Files Affected:
https://github.com/t-rasmud approved this pull request.
Can we have a test case for `plist-html` as well? Otherwise LGTM!
https://github.com/llvm/llvm-project/pull/158112
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cg
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (CatherineMoore)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/158724.diff
1 Files Affected:
- (modified) clang/docs/OpenMPSupport.rst (+3)
``diff
diff --git a/clang/docs/OpenMPSupport.rst b/clang/doc
CatherineMoore wrote:
@jhuber6: Please review and commit
https://github.com/llvm/llvm-project/pull/158724
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/CatherineMoore created
https://github.com/llvm/llvm-project/pull/158724
None
>From 0674046d492b56bcc967f79d04637f28fd71a8a3 Mon Sep 17 00:00:00 2001
From: Catherine Moore
Date: Mon, 15 Sep 2025 14:46:01 -0500
Subject: [PATCH] Fix Table Indentation.
---
clang/docs/OpenMPSup
https://github.com/jansvoboda11 updated
https://github.com/llvm/llvm-project/pull/158695
>From 827307ddefb5e25c41406e736574a230a396b9cc Mon Sep 17 00:00:00 2001
From: Jan Svoboda
Date: Mon, 15 Sep 2025 09:55:11 -0700
Subject: [PATCH 1/2] [clang] Don't fail `clang::ExecuteCompilerInvocation()`
samitolvanen wrote:
> I modified the `nocf_check` attribute handler to check for either
> `-cf-protection` or `-fsanitize=kcfi` being enabled.
Looking at this a bit closer, the `nocf_check` attribute also applies to
function pointers with `-fcf-protection`, and disables tracking for indirect
@@ -0,0 +1,47 @@
+.. title:: clang-tidy - performance-lost-std-move
+
+performance-lost-std-move
+=
+
+Warns if copy constructor is used instead of ``std::move()`` and suggests a
fix.
+It honours cycles, lambdas, and unspecified call order in compound expr
@@ -176,6 +176,12 @@ New checks
Finds uses of ``long double`` and suggests against their use due to lack of
portability.
+- New :doc:`performance-lost-std-move
EugeneZelenko wrote:
Please keep alphabetical order (by check name) in this section.
https://g
efriedma-quic wrote:
Try the following with -std=c++23 -Winvalid-constexpr:
```
constexpr int f(int &a) {
return 1 / (__builtin_object_size(&a, 0) - 4);
}
int a[2];
static_assert(f(a[0]) == 0);
```
https://github.com/llvm/llvm-project/pull/157778
__
zeule wrote:
Thanks you, @owenca, this code is of course much simpler, but it has little to
do with what I wanted to implement. Could, you, please, commit that with your
authorship? I guess the tests from this PR can be re-used.
https://github.com/llvm/llvm-project/pull/131605
___
https://github.com/jhuber6 auto_merge_enabled
https://github.com/llvm/llvm-project/pull/158724
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/asl approved this pull request.
I believe these are fine. The options are already here, this does not add new
ones, it just forwards the existing ones to the pauth on ELF logic (the other
existing uses were in Darwin part of the driver)
https://github.com/llvm/llvm-project/p
Keenuts wrote:
Adding Erich Keans, might be a more accurate reviewer since this touches
attributes
https://github.com/llvm/llvm-project/pull/157841
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo
https://github.com/kmpeng edited
https://github.com/llvm/llvm-project/pull/158361
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -99,7 +99,10 @@ void yamlize(IO &IO, ClangTidyOptions::OptionMap &Val, bool,
for (auto &Option : SortedOptions) {
bool UseDefault = false;
void *SaveInfo = nullptr;
+ // NOLINTBEGIN(bugprone-suspicious-stringview-data-usage): Requires
+ // 'llvm::ya
https://github.com/vbvictor edited
https://github.com/llvm/llvm-project/pull/158480
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
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 cpp --
clang-tools-extra/clang-tidy/bugprone/EasilySwap
vbvictor wrote:
We generally include "NFC" in the title if it is a non-functional change to
users.
So the full PR name should be
`[clang-tidy][NFC] Enable 'readability-simplify-boolean-expr' check`
https://github.com/llvm/llvm-project/pull/158706
___
@@ -348,6 +350,76 @@ entry:
ret i32 %call
}
+declare i32 @test_explicit_priority._Mmops() #18
+declare i32 @test_explicit_priority._Msve2() #19
+declare i32 @test_explicit_priority._Msve() #20
+declare i32 @test_explicit_priority.default() #0
+
+define weak_odr ptr @test_exp
https://github.com/jansvoboda11 edited
https://github.com/llvm/llvm-project/pull/158695
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kmpeng closed
https://github.com/llvm/llvm-project/pull/158361
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jansvoboda11 edited
https://github.com/llvm/llvm-project/pull/158695
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/donneypr updated
https://github.com/llvm/llvm-project/pull/157582
>From f0f99274e8b5d48ac12fafbc70b99cbf3b4fdf99 Mon Sep 17 00:00:00 2001
From: donneypr
Date: Mon, 8 Sep 2025 19:54:43 -0400
Subject: [PATCH 1/7] [clang][x86][headers] Make SSE2 add/sub intrinsics
constexpr
--
https://github.com/AmrDeveloper created
https://github.com/llvm/llvm-project/pull/158715
This change adds support for type promotion for VectorType
>From 042cb66c6b6dd177b0e2ba7f2e846dd24c9b13c8 Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Mon, 15 Sep 2025 20:52:56 +0200
Subject: [PATCH]
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lldb-arm-ubuntu` running
on `linaro-lldb-arm-ubuntu` while building `clang` at step 6 "test".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/18/builds/21179
Here is the relevant piece of the build lo
https://github.com/abidh updated
https://github.com/llvm/llvm-project/pull/158314
>From 520cecd2e77273d302432561eaa9dd5cfc6ee0bd Mon Sep 17 00:00:00 2001
From: Abid Qadeer
Date: Thu, 11 Sep 2025 18:02:26 +0100
Subject: [PATCH 1/4] [flang][driver] Support -gdwarf-N option.
This PR adds the supp
https://github.com/ravurvi20 updated
https://github.com/llvm/llvm-project/pull/157025
>From 1efc6c0d9418d5aa4299595b5008b4b580e556b1 Mon Sep 17 00:00:00 2001
From: urvi-rav
Date: Thu, 4 Sep 2025 04:47:06 -0500
Subject: [PATCH 1/6] Implement new syntax for uses_allocators clause
---
.../clang/
https://github.com/NagyDonat created
https://github.com/llvm/llvm-project/pull/158639
The underflow reports of checker security.ArrayBound already displayed the
(negative) byte offset of the accessed location; but those numbers were
sometimes a bit hard to decipher, so I'm extending the messag
@@ -0,0 +1,27 @@
+// RUN: %flang -### -S %s -g -gdwarf-5 2>&1 \
+// RUN: | FileCheck --check-prefix=CHECK-WITH-G-DWARF5 %s
+// RUN: %flang -### -S %s -g1 -gdwarf-5 2>&1 \
+// RUN: | FileCheck --check-prefix=CHECK-WITH-G1-DWARF5 %s
+// RUN: %flang -### -S
https://github.com/DeinAlptraum updated
https://github.com/llvm/llvm-project/pull/143264
>From be61f911f07e5c5a497f942e530bd0f86f19478f Mon Sep 17 00:00:00 2001
From: Jannick Kremer
Date: Sat, 7 Jun 2025 21:57:17 +0900
Subject: [PATCH 1/8] [libclang/python] Add missing enum variants
Add tests
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
Author: Donát Nagy (NagyDonat)
Changes
The underflow reports of checker security.ArrayBound already displayed the
(negative) byte offset of the accessed location; but those numbers were
sometimes a bit hard to decipher, so I'm e
Author: Erich Keane
Date: 2025-09-15T13:53:08Z
New Revision: 92dcbf4092059b0c61865a3eac9520d7b5440951
URL:
https://github.com/llvm/llvm-project/commit/92dcbf4092059b0c61865a3eac9520d7b5440951
DIFF:
https://github.com/llvm/llvm-project/commit/92dcbf4092059b0c61865a3eac9520d7b5440951.diff
LOG: [
@@ -2482,6 +2529,13 @@ def spelling(self):
FLOAT128 = 30
HALF = 31
FLOAT16 = 32
+SHORTACCUM = 33
+ACCUM = 34
+LONGACCUM = 35
+USHORTACCUM = 36
+UACCUM = 37
+ULONGACCUM = 38
+BFLOAT16 = 39
IBM128 = 40
DeinAlptraum wro
https://github.com/alexey-bataev approved this pull request.
https://github.com/llvm/llvm-project/pull/158336
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -937,6 +940,21 @@ bool AArch64DAGToDAGISel::SelectRDVLImm(SDValue N, SDValue
&Imm) {
return false;
}
+// Returns a suitable RDSVL multiplier from a left shift.
+template
+bool AArch64DAGToDAGISel::SelectRDSVLShiftImm(SDValue N, SDValue &Imm) {
+ if (!isa(N))
+retur
sarnex wrote:
Thanks Tom! In my case I'm never going through mlir yet, but it should work, so
I will make a separate PR quickly after this to fix MLIR and add you as a
reviewer.
https://github.com/llvm/llvm-project/pull/158152
___
cfe-commits mailing
https://github.com/DeinAlptraum updated
https://github.com/llvm/llvm-project/pull/143264
>From be61f911f07e5c5a497f942e530bd0f86f19478f Mon Sep 17 00:00:00 2001
From: Jannick Kremer
Date: Sat, 7 Jun 2025 21:57:17 +0900
Subject: [PATCH 1/8] [libclang/python] Add missing enum variants
Add tests
@@ -0,0 +1,27 @@
+// RUN: %flang -### -S %s -g -gdwarf-5 2>&1 \
+// RUN: | FileCheck --check-prefix=CHECK-WITH-G-DWARF5 %s
+// RUN: %flang -### -S %s -g1 -gdwarf-5 2>&1 \
+// RUN: | FileCheck --check-prefix=CHECK-WITH-G1-DWARF5 %s
+// RUN: %flang -### -S
https://github.com/Meinersbur approved this pull request.
https://github.com/llvm/llvm-project/pull/155849
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/itzexpoexpo updated
https://github.com/llvm/llvm-project/pull/154580
From 877d155b65a054a240490d3c7e2015673f964466 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Slanina?=
Date: Wed, 20 Aug 2025 19:28:23 +0200
Subject: [PATCH 01/18] [clang-format] Add option
Allo
anchuraj wrote:
> functionality
Sounds great. Please skip my warning suggestion.
https://github.com/llvm/llvm-project/pull/158314
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Aditya Chaudhary
Date: 2025-09-15T11:46:56-04:00
New Revision: 9f06b28f87bf170cde4000afac1e3221b0418f28
URL:
https://github.com/llvm/llvm-project/commit/9f06b28f87bf170cde4000afac1e3221b0418f28
DIFF:
https://github.com/llvm/llvm-project/commit/9f06b28f87bf170cde4000afac1e3221b0418f28.di
https://github.com/daltenty closed
https://github.com/llvm/llvm-project/pull/158199
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/DanilaZhebryakov updated
https://github.com/llvm/llvm-project/pull/154773
>From 542f85b55be08712622fd84c5b40de4fe24bcefb Mon Sep 17 00:00:00 2001
From: Danila Zhebryakov
Date: Fri, 8 Aug 2025 14:16:30 +0300
Subject: [PATCH] [PowerPC] fix float ABI selection on ppcle
---
cla
@@ -937,6 +940,21 @@ bool AArch64DAGToDAGISel::SelectRDVLImm(SDValue N, SDValue
&Imm) {
return false;
}
+// Returns a suitable RDSVL multiplier from a left shift.
+template
+bool AArch64DAGToDAGISel::SelectRDSVLShiftImm(SDValue N, SDValue &Imm) {
+ if (!isa(N))
+retur
Author: Brandon
Date: 2025-09-15T09:21:05Z
New Revision: 50bcf6818e045a39eb21201f7c512e514476385e
URL:
https://github.com/llvm/llvm-project/commit/50bcf6818e045a39eb21201f7c512e514476385e
DIFF:
https://github.com/llvm/llvm-project/commit/50bcf6818e045a39eb21201f7c512e514476385e.diff
LOG: [X86]
https://github.com/phoebewang approved this pull request.
LGTM.
https://github.com/llvm/llvm-project/pull/155194
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
1 - 100 of 410 matches
Mail list logo