https://github.com/xlauko updated
https://github.com/llvm/llvm-project/pull/151217
>From 320cabcdefda70ba4f3af33f633cf43b834bc1d4 Mon Sep 17 00:00:00 2001
From: xlauko
Date: Tue, 29 Jul 2025 21:49:22 +0200
Subject: [PATCH] [CIR] Use getDefiningOp() instead of
dyn_cast(getDefiningOp()) (NFC)
T
https://github.com/nathanchance closed
https://github.com/llvm/llvm-project/pull/151259
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Nathan Chancellor
Date: 2025-08-01T23:53:17-07:00
New Revision: a1c3c6554f0fe2a0404268c07017c315f52b5415
URL:
https://github.com/llvm/llvm-project/commit/a1c3c6554f0fe2a0404268c07017c315f52b5415
DIFF:
https://github.com/llvm/llvm-project/commit/a1c3c6554f0fe2a0404268c07017c315f52b5415.d
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/151802.diff
1 Files Affected:
- (modified) clang/docs/LanguageExtensions.rst (+12-12)
``diff
diff --git a/clang/docs/LanguageExten
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/151802
None
>From fbc1226debd167bd6aab94e00e549251996de8d7 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Thu, 31 Jul 2025 15:27:43 -0700
Subject: [PATCH] [clang] Proofread LanguageExtensions.rst
---
clang/
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Kazu Hirata (kazutakahirata)
Changes
We can pass a range to llvm::none_if.
---
Full diff: https://github.com/llvm/llvm-project/pull/151801.diff
2 Files Affected:
- (modified)
clang-tools-extra/clang-tidy/bugprone/InvalidEn
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kazu Hirata (kazutakahirata)
Changes
With empty, we don't have to repeat the whole expression.
---
Full diff: https://github.com/llvm/llvm-project/pull/151800.diff
1 Files Affected:
- (modified) clang/lib/AST/MicrosoftMangle.cpp (+1-2)
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/151801
We can pass a range to llvm::none_if.
>From 97eaab273c441f8e64702a89e9f9b71bd6b1b1cc Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Thu, 31 Jul 2025 19:51:08 -0700
Subject: [PATCH] [clang-tidy] Use ll
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/151800
With empty, we don't have to repeat the whole expression.
>From 1b1616dacce8fa504baa05d14616d1654130c59b Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Thu, 31 Jul 2025 19:56:52 -0700
Subject: [PATCH]
https://github.com/JVApen requested changes to this pull request.
Looks good, can you extend the testing as indicated in a comment?
https://github.com/llvm/llvm-project/pull/151624
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.l
JVApen wrote:
I like the test cases you wrote. I do think we should add at least one extra
where we already had some includes in the source code. Such that we know this
works in such case as well. (I don't expect failure based on your code)
https://github.com
https://github.com/JVApen edited
https://github.com/llvm/llvm-project/pull/151624
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
JVApen wrote:
Checking the example of
https://clang.llvm.org/docs/StandardCPlusPlusModules.html#abi-breaking-style,
there is not really and end where to put the include.
It might be advised to put the headers all together after the global module
fragment, though restricting the range to that
https://github.com/xlauko updated
https://github.com/llvm/llvm-project/pull/151217
>From 4d76a80344df0e4543c86613e5c36c02d230b962 Mon Sep 17 00:00:00 2001
From: xlauko
Date: Tue, 29 Jul 2025 21:49:22 +0200
Subject: [PATCH] [CIR] Use getDefiningOp() instead of
dyn_cast(getDefiningOp()) (NFC)
T
llvmbot wrote:
/pull-request llvm/llvm-project#151797
https://github.com/llvm/llvm-project/pull/149602
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
owenca wrote:
/cherry-pick 9281797a577b7954521fb9192d41e457ca2ca42e
https://github.com/llvm/llvm-project/pull/149602
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/owenca milestoned
https://github.com/llvm/llvm-project/pull/149602
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -14723,9 +14723,10 @@ void Sema::CheckCompleteVariableDeclaration(VarDecl
*var) {
type->isIntegralOrEnumerationType()) {
// In C++98, in-class initialization for a static data member must
// be an integer constant expression.
- Sourc
https://github.com/michael-jabbour-sonarsource commented:
LGTM. Thank you.
https://github.com/llvm/llvm-project/pull/151259
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,13 @@
+// RUN: %clang_cc1 -verify -std=c++17 -pedantic-errors %s
+// RUN: cp %s %t
+// RUN: not %clang_cc1 -x c++ -std=c++17 -fixit %t
+// RUN: %clang_cc1 -Wall -pedantic-errors -x c++ -std=c++17 %t
+
+/* This is a test of the various code modification hints that only
+
https://github.com/MythreyaK updated
https://github.com/llvm/llvm-project/pull/151624
>From f7e79ed934bcb05548b6a4d303d6ed6284648f35 Mon Sep 17 00:00:00 2001
From: Mythreya Kuricheti
Date: Fri, 1 Aug 2025 01:19:18 -0700
Subject: [PATCH] [libtooling] Insert headers in global module fragment
---
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`sanitizer-x86_64-linux-fast` running on `sanitizer-buildbot4` while building
`clang-tools-extra,clang,lldb` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/169/builds/13549
Here
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Iris Shi (el-ev)
Changes
- Closes #151787
Insert the right parenthesis one token later to correctly enclose the
expression.
---
Full diff: https://github.com/llvm/llvm-project/pull/151790.diff
3 Files Affected:
- (modified) clang/docs
https://github.com/el-ev created
https://github.com/llvm/llvm-project/pull/151790
- Closes #151787
Insert the right parenthesis one token later to correctly enclose the
expression.
>From 12e745a621a7fbd30c0991bf52598455b886f37e Mon Sep 17 00:00:00 2001
From: Iris Shi <0...@owo.li>
Date: Sat,
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while
building `clang,llvm` at step 5 "build-unified-tree".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/144/builds/31865
Here is t
https://github.com/rampitec closed
https://github.com/llvm/llvm-project/pull/151773
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Stanislav Mekhanoshin
Date: 2025-08-01T20:12:35-07:00
New Revision: 0988510ad436e3fc9e9526dda505c02a53d497a1
URL:
https://github.com/llvm/llvm-project/commit/0988510ad436e3fc9e9526dda505c02a53d497a1
DIFF:
https://github.com/llvm/llvm-project/commit/0988510ad436e3fc9e9526dda505c02a53d497
arsenm wrote:
> My literal reading of this is already that it's always undefined behaviour
> for all targets (as you're requesting),
That's not what I'm requesting, it would be an undefined *value*. It is not
instant undefined behavior, you would get UB on use of that value
https://github.co
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,clang,lldb`
at step 5 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/27/builds/13997
Here
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while
building `clang,llvm` at step 5 "build-unified-tree".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/144/builds/31862
Here is t
https://github.com/rampitec updated
https://github.com/llvm/llvm-project/pull/151773
>From 17f230e2b5c82ce47a3954f5478813ef113e9928 Mon Sep 17 00:00:00 2001
From: Stanislav Mekhanoshin
Date: Fri, 1 Aug 2025 14:09:42 -0700
Subject: [PATCH] [AMDGPU] gfx1250 v_perm_pk16_* instructions
---
clang/
https://github.com/rampitec edited
https://github.com/llvm/llvm-project/pull/151773
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rampitec closed
https://github.com/llvm/llvm-project/pull/151765
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Stanislav Mekhanoshin
Date: 2025-08-01T19:25:57-07:00
New Revision: cc3932bf290fce1ba13102fbe1af9e1758323f55
URL:
https://github.com/llvm/llvm-project/commit/cc3932bf290fce1ba13102fbe1af9e1758323f55
DIFF:
https://github.com/llvm/llvm-project/commit/cc3932bf290fce1ba13102fbe1af9e1758323f
https://github.com/jyknight closed
https://github.com/llvm/llvm-project/pull/151782
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: James Y Knight
Date: 2025-08-01T22:23:30-04:00
New Revision: 4205da0f130cf86ae6b89bfc36723e7ddba9b0b7
URL:
https://github.com/llvm/llvm-project/commit/4205da0f130cf86ae6b89bfc36723e7ddba9b0b7
DIFF:
https://github.com/llvm/llvm-project/commit/4205da0f130cf86ae6b89bfc36723e7ddba9b0b7.diff
HighCommander4 wrote:
@MythreyaK thanks for the patch!
@JVApen I'll let you take a first crack at reviewing this :) Feel free to flag
me if you think it needs an additional pair of eyes.
https://github.com/llvm/llvm-project/pull/151624
___
cfe-commit
@@ -0,0 +1,7 @@
+// RUN: %clang_cc1 -triple amdgcn-unknown-unknown -S -verify=expected -o - %s
+// REQUIRES: amdgpu-registered-target
+
+void test_raw_ptr_atomics(__amdgpu_buffer_rsrc_t rsrc, float f32, double f64,
int offset, int soffset) {
+ f32 = __builtin_amdgcn_raw_ptr_buff
@@ -459,6 +459,8 @@ void AMDGPU::fillAMDGPUFeatureMap(StringRef GPU, const
Triple &T,
Features["atomic-global-pk-add-bf16-inst"] = true;
Features["atomic-ds-pk-add-16-insts"] = true;
Features["setprio-inc-wg-inst"] = true;
+ Features["atomic-fmin-fmax-gl
@@ -163,6 +163,13 @@ BUILTIN(__builtin_amdgcn_raw_buffer_load_b64,
"V2UiQbiiIi", "n")
BUILTIN(__builtin_amdgcn_raw_buffer_load_b96, "V3UiQbiiIi", "n")
BUILTIN(__builtin_amdgcn_raw_buffer_load_b128, "V4UiQbiiIi", "n")
+BUILTIN(__builtin_amdgcn_raw_ptr_buffer_atomic_add_i32, "i
@@ -0,0 +1,9 @@
+// RUN: %clang_cc1 -triple amdgcn-unknown-unknown -target-cpu gfx90a
-target-feature +atomic-fmin-fmax-global-f32 -target-feature
+atomic-fmin-fmax-global-f64 -S -verify=expected -o - %s
+// RUN: %clang_cc1 -triple amdgcn-unknown-unknown -target-cpu gfx942
-tar
fmayer wrote:
> Also, I just learned that non-standard features are meant to be under
> `__has_extension` (`EXTENSION` macro) instead of `__has_feature`. See
>
> https://github.com/llvm/llvm-project/blob/154354e60e46debb68716cde867cb4e325ce5eb7/clang/include/clang/Basic/Features.def#L20
Given
pcc wrote:
Also, I just learned that non-standard features are meant to be under
`__has_extension` (`EXTENSION` macro) instead of `__has_feature`. See
https://github.com/llvm/llvm-project/blob/154354e60e46debb68716cde867cb4e325ce5eb7/clang/include/clang/Basic/Features.def#L20
https://github.co
@@ -71,6 +71,19 @@ RValue CIRGenFunction::emitRotate(const CallExpr *e, bool
isRotateLeft) {
return RValue::get(r);
}
+template
+static RValue emitUnaryMaybeConstrainedFPBuiltin(CIRGenFunction &cgf,
+ const CallExpr &e) {
+
@@ -25,6 +25,7 @@ using namespace clang;
enum ActionType {
PrintRecords,
DumpJSON,
+ GenCIRBuiltinsLowering,
andykaylor wrote:
All of the changes in this directory need to be guarded by a `CLANG_ENABLE_CIR`
preprocessor check, and we'll need approval fro
@@ -3199,4 +3199,22 @@ def CIR_ExpectOp : CIR_Op<"expect", [
}];
}
+//===--===//
+// Floating Point Ops
+//===--===//
+
+class CIR_UnaryFPT
@@ -3199,4 +3199,22 @@ def CIR_ExpectOp : CIR_Op<"expect", [
}];
}
+//===--===//
+// Floating Point Ops
+//===--===//
+
+class CIR_UnaryFPT
@@ -0,0 +1,108 @@
+//===- CIRLoweringEmitter.cpp - Generate lowering of builtins --=-*- 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: Ap
https://github.com/shafik commented:
Do we get a frontend diagnostic in this case?
https://github.com/llvm/llvm-project/pull/151515
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rampitec updated
https://github.com/llvm/llvm-project/pull/151758
>From fb0ab28cd513d327611134d55e7652b3be2789d3 Mon Sep 17 00:00:00 2001
From: Stanislav Mekhanoshin
Date: Fri, 1 Aug 2025 12:38:04 -0700
Subject: [PATCH] [AMDGPU] gfx1250 v_cvt_scalef32_pk8_* instructions
---
https://github.com/rampitec edited
https://github.com/llvm/llvm-project/pull/151758
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rampitec closed
https://github.com/llvm/llvm-project/pull/151749
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Stanislav Mekhanoshin
Date: 2025-08-01T16:14:19-07:00
New Revision: 33abf05af4f8f7f80856bd018d117c98f8807e87
URL:
https://github.com/llvm/llvm-project/commit/33abf05af4f8f7f80856bd018d117c98f8807e87
DIFF:
https://github.com/llvm/llvm-project/commit/33abf05af4f8f7f80856bd018d117c98f8807e
https://github.com/Artem-B updated
https://github.com/llvm/llvm-project/pull/151766
>From 7ad34288652d0f236e87f0c348275bcff5469432 Mon Sep 17 00:00:00 2001
From: Artem Belevich
Date: Fri, 1 Aug 2025 13:09:11 -0700
Subject: [PATCH 1/2] [CUDA] Do not include obsolete texture_fetch_functions.h
--
https://github.com/Artem-B updated
https://github.com/llvm/llvm-project/pull/151766
>From 7ad34288652d0f236e87f0c348275bcff5469432 Mon Sep 17 00:00:00 2001
From: Artem Belevich
Date: Fri, 1 Aug 2025 13:09:11 -0700
Subject: [PATCH 1/2] [CUDA] Do not include obsolete texture_fetch_functions.h
--
https://github.com/pcc requested changes to this pull request.
cc @fmayer
We have been trying to break `__has_feature(undefined_behavior_sanitizer)` into
fine grained checks (#148310). If we have `__has_feature(cfi)`mean CFI || KCFI
that is sort of going in the opposite direction. Let's take
@@ -860,3 +860,41 @@ static_assert(__builtin_elementwise_sub_sat(0U, 1U) == 0U);
static_assert(__builtin_bit_cast(unsigned,
__builtin_elementwise_sub_sat((vector4char){5, 4, 3, 2}, (vector4char){1, 1, 1,
1})) == (LITTLE_END ? 0x01020304 : 0x04030201));
static_assert(__builtin_
https://github.com/andykaylor approved this pull request.
lgtm
https://github.com/llvm/llvm-project/pull/151741
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rampitec updated
https://github.com/llvm/llvm-project/pull/151749
>From 856e3530e0c3f3fb5358ab1baa7c96a7efc0b4d5 Mon Sep 17 00:00:00 2001
From: Stanislav Mekhanoshin
Date: Fri, 1 Aug 2025 11:48:38 -0700
Subject: [PATCH] [AMDGPU] gfx1250 v_permlane_* instructions
---
clang/i
@@ -471,3 +471,80 @@ size_t test9(struct annotated_sized_ptr *p, int index) {
size_t test10(struct annotated_sized_ptr *p, int index) {
return __bdos(&((unsigned int *) p->buf)[index]);
}
+
+struct pr151236_struct {
+int *a __counted_by(a_count);
+short a_coun
https://github.com/rnk approved this pull request.
Thanks for the updates!
https://github.com/llvm/llvm-project/pull/151702
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/PiJoules approved this pull request.
https://github.com/llvm/llvm-project/pull/151348
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
frayien wrote:
Nice ! It is the first time I contribute to the LLVM/clang/clangd, and I am not
familiar with Github's PR interface anyway, so I don't really know what to do
nor what you mean exactly by "landing"...
I clicked on "update" as it is the only thing it proposed me but I may have
me
https://github.com/5chmidti approved this pull request.
https://github.com/llvm/llvm-project/pull/151772
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -471,3 +471,80 @@ size_t test9(struct annotated_sized_ptr *p, int index) {
size_t test10(struct annotated_sized_ptr *p, int index) {
return __bdos(&((unsigned int *) p->buf)[index]);
}
+
+struct pr151236_struct {
+int *a __counted_by(a_count);
+short a_coun
https://github.com/rampitec updated
https://github.com/llvm/llvm-project/pull/151749
>From 856e3530e0c3f3fb5358ab1baa7c96a7efc0b4d5 Mon Sep 17 00:00:00 2001
From: Stanislav Mekhanoshin
Date: Fri, 1 Aug 2025 11:48:38 -0700
Subject: [PATCH] [AMDGPU] gfx1250 v_permlane_* instructions
---
clang/i
https://github.com/Michael137 updated
https://github.com/llvm/llvm-project/pull/149827
>From 9ec9eefb23b0676bcb89c195d96e5a2e1d6c615f Mon Sep 17 00:00:00 2001
From: Michael Buch
Date: Fri, 1 Aug 2025 11:04:47 +0100
Subject: [PATCH] Structors init
---
clang/include/clang/Basic/Attr.td
https://github.com/rampitec updated
https://github.com/llvm/llvm-project/pull/151749
>From 856e3530e0c3f3fb5358ab1baa7c96a7efc0b4d5 Mon Sep 17 00:00:00 2001
From: Stanislav Mekhanoshin
Date: Fri, 1 Aug 2025 11:48:38 -0700
Subject: [PATCH] [AMDGPU] gfx1250 v_permlane_* instructions
---
clang/i
https://github.com/carlosgalvezp edited
https://github.com/llvm/llvm-project/pull/151772
___
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: Carlos Galvez (carlosgalvezp)
Changes
…heck
One typically only wants to perform renaming operations in user code, not in
system headers (which are out of the user's control). Let's skip those
altogether.
This leads to perfor
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: Carlos Galvez (carlosgalvezp)
Changes
…heck
One typically only wants to perform renaming operations in user code, not in
system headers (which are out of the user's control). Let's skip those
altogether.
This leads to performance i
https://github.com/carlosgalvezp created
https://github.com/llvm/llvm-project/pull/151772
…heck
One typically only wants to perform renaming operations in user code, not in
system headers (which are out of the user's control). Let's skip those
altogether.
This leads to performance improvemen
https://github.com/jhuber6 approved this pull request.
https://github.com/llvm/llvm-project/pull/151766
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rampitec updated
https://github.com/llvm/llvm-project/pull/151749
>From 2488855dfd455a33353a99112c805b671f5ea244 Mon Sep 17 00:00:00 2001
From: Stanislav Mekhanoshin
Date: Fri, 1 Aug 2025 11:48:38 -0700
Subject: [PATCH] [AMDGPU] gfx1250 v_permlane_* instructions
---
clang/i
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 --
clang/lib/Headers/__clang_cuda_runtime_wrapper.h
``
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Artem Belevich (Artem-B)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/151766.diff
1 Files Affected:
- (modified) clang/lib/Headers/__clang_cuda_runtime_wrapper.h (+4)
``diff
diff --git a/clang/lib/Headers
https://github.com/rampitec updated
https://github.com/llvm/llvm-project/pull/151749
>From 3bf2cbc27a1cc325a634a2afdfe098c39fdbd248 Mon Sep 17 00:00:00 2001
From: Stanislav Mekhanoshin
Date: Fri, 1 Aug 2025 11:48:38 -0700
Subject: [PATCH] [AMDGPU] gfx1250 v_permlane_* instructions
---
clang/i
https://github.com/Artem-B created
https://github.com/llvm/llvm-project/pull/151766
None
>From 7ad34288652d0f236e87f0c348275bcff5469432 Mon Sep 17 00:00:00 2001
From: Artem Belevich
Date: Fri, 1 Aug 2025 13:09:11 -0700
Subject: [PATCH] [CUDA] Do not include obsolete texture_fetch_functions.h
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 01/17] [Clang][attr] Add cfi_salt attribute
The new 'cfi_salt'
https://github.com/Artem-B closed
https://github.com/llvm/llvm-project/pull/151760
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Artem Belevich
Date: 2025-08-01T13:14:14-07:00
New Revision: 12eab1a7b82d8db0e781862902b674332298162f
URL:
https://github.com/llvm/llvm-project/commit/12eab1a7b82d8db0e781862902b674332298162f
DIFF:
https://github.com/llvm/llvm-project/commit/12eab1a7b82d8db0e781862902b674332298162f.diff
https://github.com/rampitec updated
https://github.com/llvm/llvm-project/pull/151749
>From a94f0463e6f768c0321b66b7bcd9982242bb2c26 Mon Sep 17 00:00:00 2001
From: Stanislav Mekhanoshin
Date: Fri, 1 Aug 2025 11:48:38 -0700
Subject: [PATCH] [AMDGPU] gfx1250 v_permlane_* instructions
---
clang/i
https://github.com/aadanen updated
https://github.com/llvm/llvm-project/pull/150348
>From 4e24cb20efa22e364d41026ae40aec470ff786aa Mon Sep 17 00:00:00 2001
From: Aaron Danen
Date: Wed, 23 Jul 2025 18:01:14 -0700
Subject: [PATCH 01/17] added undo to docs in same format as %quit
---
clang/docs/
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 01/16] [Clang][attr] Add cfi_salt attribute
The new 'cfi_salt'
https://github.com/carlosgalvezp edited
https://github.com/llvm/llvm-project/pull/151035
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3929,6 +3929,14 @@ def CFICanonicalJumpTable : InheritableAttr {
let SimpleHandler = 1;
}
+def CFISalt : DeclOrTypeAttr {
+ let Spellings = [Clang<"cfi_salt">];
+ let Args = [StringArgument<"Salt">];
+ let Subjects = SubjectList<[Function, Field, Var, TypedefName], Er
@@ -0,0 +1,38 @@
+// RUN: %clang_cc1 -fsyntax-only -fsanitize=kcfi -verify %s
+
+#define __cfi_salt(S) __attribute__((cfi_salt(S)))
+
+int foo(int a, int b) __cfi_salt("pepper"); // ok
+int foo(int a, int b) __cfi_salt("pepper"); // ok
+
+typedef int (*bar_t)(void) __cfi_salt("pep
https://github.com/Artem-B updated
https://github.com/llvm/llvm-project/pull/151760
>From a3359f2959d2f161be88c49e5fece6d6fc73bf6b Mon Sep 17 00:00:00 2001
From: Artem Belevich
Date: Fri, 1 Aug 2025 12:23:06 -0700
Subject: [PATCH] [CUDA] Use --image3 to construct fat binary
CUDA-12.9 has remov
@@ -3643,6 +3643,64 @@ make the function's CFI jump table canonical. See
:ref:`the CFI documentation
}];
}
+def KCFISaltDocs : Documentation {
+ let Category = DocCatFunction;
+ let Content = [{
+Use ``__attribute__((kcfi_salt("")))`` on a function declaration,
function
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 01/15] [Clang][attr] Add cfi_salt attribute
The new 'cfi_salt'
https://github.com/jhuber6 approved this pull request.
https://github.com/llvm/llvm-project/pull/151760
___
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
@llvm/pr-subscribers-clang-driver
Author: Artem Belevich (Artem-B)
Changes
CUDA-12.9 has removed fatbinary tool's `--image` argument we've been using till
now.
--image3 has been supported since cuda-9, so we do not need CUDA SDK version
checks.
https://github.com/Artem-B created
https://github.com/llvm/llvm-project/pull/151760
CUDA-12.9 has removed fatbinary tool's `--image` argument we've been using till
now.
--image3 has been supported since cuda-9, so we do not need CUDA SDK version
checks.
>From 098ea946feb9d2f95d1a0913bd7d24cb
https://github.com/rampitec updated
https://github.com/llvm/llvm-project/pull/151749
>From 004783894769d831e3dc1c14d9acf6cc3e80a508 Mon Sep 17 00:00:00 2001
From: Stanislav Mekhanoshin
Date: Fri, 1 Aug 2025 11:48:38 -0700
Subject: [PATCH] [AMDGPU] gfx1250 v_permlane_* instructions
---
clang/i
https://github.com/bwendling edited
https://github.com/llvm/llvm-project/pull/141846
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
moorabbit wrote:
There's also a problem that caused a driver test to fail. I fixed it in
[b6a7ce7](https://github.com/llvm/llvm-project/pull/151348/commits/b6a7ce7e3f4f51ca71f813d931362a710abd7d87).
The issue was that the driver was not expecting `-fsanitize=cfi` to also
enable the `cfi-cast-s
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 01/14] [Clang][attr] Add cfi_salt attribute
The new 'cfi_salt'
llvmbot wrote:
/pull-request llvm/llvm-project#151752
https://github.com/llvm/llvm-project/pull/150003
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
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 01/13] [Clang][attr] Add cfi_salt attribute
The new 'cfi_salt'
Varnike wrote:
Hi,
I added the processing of remaining strict fp ops for VFP and adjusted the
tests. Could you please review these changes and tell what else needs to be
done? I also have a question about whether it's necessary to change the
instruction selection patterns for MVE and NEON (as
1 - 100 of 468 matches
Mail list logo