ficol wrote:
> > > Are fp options (already) handled in constant evaluation?
> >
> >
> > I think they are, there are tests for it in
> > https://github.com/llvm/llvm-project/blob/main/clang/test/AST/const-fpfeatures.c
> > and
> > https://github.com/llvm/llvm-project/blob/main/clang/test/AST/c
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Alex MacLean (AlexMaclean)
Changes
Replace some more nvvm.annotations with function attributes, auto-upgrading the
annotations as needed. These new attributes will be more idiomatic and
compile-time efficient than the annotations.
- !"m
https://github.com/AlexMaclean created
https://github.com/llvm/llvm-project/pull/125908
Replace some more nvvm.annotations with function attributes, auto-upgrading the
annotations as needed. These new attributes will be more idiomatic and
compile-time efficient than the annotations.
- !"maxc
llvmbot wrote:
@llvm/pr-subscribers-mlir
Author: Alex MacLean (AlexMaclean)
Changes
Replace some more nvvm.annotations with function attributes, auto-upgrading the
annotations as needed. These new attributes will be more idiomatic and
compile-time efficient than the annotations.
- !"ma
@@ -82,7 +82,7 @@ define void @test_store(ptr %p) {
@G = external global ptr
define i8 @test_store_capture(ptr %p) {
-; FNATTRS: Function Attrs: mustprogress nofree norecurse nosync nounwind
willreturn memory(readwrite, argmem: read, inaccessiblemem: none)
+; FNATTRS: Functio
https://github.com/dpaoliello updated
https://github.com/llvm/llvm-project/pull/125320
>From dc48eeb8b8ae51a8ee5a5289de4d0b6eb8cd0b68 Mon Sep 17 00:00:00 2001
From: "Daniel Paoliello (HE/HIM)"
Date: Fri, 31 Jan 2025 16:47:23 -0800
Subject: [PATCH] [aarch64][x86][win] Add support for MSVC's /fun
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `arc-builder` running on
`arc-worker` while building `clang,libc` at step 6
"test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/3/builds/11336
Here is the relevant pie
@@ -10623,7 +10623,7 @@ def err_second_argument_to_cwsc_not_pointer : Error<
"second argument to __builtin_call_with_static_chain must be of pointer
type">;
def err_vector_incorrect_num_elements : Error<
- "%select{too many|too few}0 elements in vector
%select{initializat
@@ -4870,14 +4870,16 @@ def note_ovl_candidate_inconsistent_deduction_types :
Note<
"candidate template ignored: deduced values %diff{"
"of conflicting types for parameter %0 (%1 of type $ vs. %3 of type $)|"
"%1 and %3 of conflicting types for parameter %0}2,4">;
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`ppc64le-lld-multistage-test` running on `ppc64le-lld-multistage-test` while
building `clang,libc` at step 7 "test-build-stage1-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/1
@@ -4870,14 +4870,16 @@ def note_ovl_candidate_inconsistent_deduction_types :
Note<
"candidate template ignored: deduced values %diff{"
"of conflicting types for parameter %0 (%1 of type $ vs. %3 of type $)|"
"%1 and %3 of conflicting types for parameter %0}2,4">;
https://github.com/sarnex updated
https://github.com/llvm/llvm-project/pull/125920
>From 1ee97d674c707d4b07d1e39f943adc94bb16d205 Mon Sep 17 00:00:00 2001
From: "Sarnie, Nick"
Date: Tue, 4 Feb 2025 13:09:48 -0800
Subject: [PATCH 1/2] [OpenMP][OpenMPIRBuilder] Add initial changes for SPIR-V
tar
@@ -82,7 +82,7 @@ define void @test_store(ptr %p) {
@G = external global ptr
define i8 @test_store_capture(ptr %p) {
-; FNATTRS: Function Attrs: mustprogress nofree norecurse nosync nounwind
willreturn memory(readwrite, argmem: read, inaccessiblemem: none)
+; FNATTRS: Functio
@@ -359,18 +359,21 @@ class OpLowerer {
return lowerToBindAndAnnotateHandle(F);
}
- Error replaceSplitDoubleCallUsages(CallInst *Intrin, CallInst *Op) {
+ Error replaceExtractElementTypeOfCallUsages(CallInst *Intrin, CallInst *Op) {
for (Use &U : make_early_inc_ra
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-solaris11-sparcv9`
running on `solaris11-sparcv9` while building `clang,libc` at step 5 "ninja
check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/13/builds/5131
Here is the relevant piec
@@ -1909,7 +1909,19 @@ class Sema final : public SemaBase {
/// '\#pragma clang attribute push' directives to the given declaration.
void AddPragmaAttributes(Scope *S, Decl *D);
- void PrintPragmaAttributeInstantiationPoint();
+ using DiagFuncRef =
+ llvm::function_
https://github.com/andykaylor updated
https://github.com/llvm/llvm-project/pull/125619
>From dc7f71d511d2e13e527e0c8cd242a3ece82bcdfd Mon Sep 17 00:00:00 2001
From: Andy Kaylor
Date: Mon, 3 Feb 2025 13:20:51 -0800
Subject: [PATCH 1/4] [CIR] Lowering to LLVM for global pointers
Add support for
MacDue wrote:
/cherry-pick
https://github.com/llvm/llvm-project/commit/692c9b210728323ac499a402ee6eb901f35856f2
https://github.com/llvm/llvm-project/pull/125077
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mai
https://github.com/MacDue milestoned
https://github.com/llvm/llvm-project/pull/125077
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Saleem Abdulrasool
Date: 2025-02-05T15:15:36-08:00
New Revision: 1901f4ac8eb1ddd8df822841a48b818c496aa2ad
URL:
https://github.com/llvm/llvm-project/commit/1901f4ac8eb1ddd8df822841a48b818c496aa2ad
DIFF:
https://github.com/llvm/llvm-project/commit/1901f4ac8eb1ddd8df822841a48b818c496aa2ad.
https://github.com/compnerd closed
https://github.com/llvm/llvm-project/pull/125384
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
/pull-request llvm/llvm-project#125956
https://github.com/llvm/llvm-project/pull/125077
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1120,3 +1120,23 @@
// RUN:-c \
// RUN: | FileCheck --check-prefixes=CHECK-K-UNUSED %s
// CHECK-K-UNUSED: clang: warning: -K: 'linker' input unused
[-Wunused-command-line-argument]
+
+
+// This test verifies that the linker doesn't include '-latomic' when no
sani
https://github.com/jyknight approved this pull request.
https://github.com/llvm/llvm-project/pull/125714
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/yxsamliu approved this pull request.
https://github.com/llvm/llvm-project/pull/125646
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/alexey-bataev approved this pull request.
LG
https://github.com/llvm/llvm-project/pull/125621
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin`
running on `doug-worker-5` while building `clang` at step 6
"test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/190/builds/14157
Here is th
ilovepi wrote:
Hmm, build bot failure is unrelated, since it doesn't look like the test I
changed is failing.
https://github.com/llvm/llvm-project/pull/125944
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailm
@@ -82,7 +82,7 @@ define void @test_store(ptr %p) {
@G = external global ptr
define i8 @test_store_capture(ptr %p) {
-; FNATTRS: Function Attrs: mustprogress nofree norecurse nosync nounwind
willreturn memory(readwrite, argmem: read, inaccessiblemem: none)
+; FNATTRS: Functio
https://github.com/erichkeane approved this pull request.
Please improve the commit message to better explain what is going on, else LGTM.
https://github.com/llvm/llvm-project/pull/125943
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://
https://github.com/jhuber6 edited
https://github.com/llvm/llvm-project/pull/125796
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jhuber6 updated
https://github.com/llvm/llvm-project/pull/125796
>From 77ee45f25f03614dbb63369922e9722a79ec8518 Mon Sep 17 00:00:00 2001
From: Joseph Huber
Date: Tue, 4 Feb 2025 20:03:33 -0600
Subject: [PATCH 1/2] [Clang] Permit both `gnu` and `clang` prefixes on
attributes
https://github.com/s-perron edited
https://github.com/llvm/llvm-project/pull/125718
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -280,7 +280,8 @@ std::optional
CxxModuleHandler::tryInstantiateStdTemplate(Decl *d) {
new_class_template->getDeclContext(),
new_class_template->getTemplatedDecl()->getLocation(),
new_class_template->getLocation(), new_class_template, imported_args,
-
https://github.com/AaronBallman approved this pull request.
LGTM, but please be sure to add a release note to `clang/docs/ReleaseNotes.rst`
so users know about the changes as well. Also, before landing, please change
the summary -- this isn't allowing both `clang` and `gnu` on *all* attributes,
mizvekov wrote:
> Probably best to pass a constant `false`/`true` to preserve old behaviour. We
> can't even instantiate templates in the expression evaluator right now, so
> don't think we should be worrying about this at the moment
Please see
https://github.com/llvm/llvm-project/pull/125791
https://github.com/Ritanya-B-Bharadwaj closed
https://github.com/llvm/llvm-project/pull/118471
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Ritanya-B-Bharadwaj
Date: 2025-02-05T19:24:24+05:30
New Revision: 8c3666526794e011046fd3a837b623265afa471b
URL:
https://github.com/llvm/llvm-project/commit/8c3666526794e011046fd3a837b623265afa471b
DIFF:
https://github.com/llvm/llvm-project/commit/8c3666526794e011046fd3a837b623265afa471b
https://github.com/ampandey-1995 edited
https://github.com/llvm/llvm-project/pull/125857
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3117,11 +3120,20 @@ def PragmaClangTextSection : InheritableAttr {
let Documentation = [InternalOnly];
}
-def CodeModel : InheritableAttr, TargetSpecificAttr {
+// The code model attribute only applies to LoongArch and x86-64, but for NVPTX
AaronBallman
https://github.com/erichkeane approved this pull request.
https://github.com/llvm/llvm-project/pull/125791
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jhuber6 closed
https://github.com/llvm/llvm-project/pull/125796
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
aykevl wrote:
It might be worth adding a check for something like this?
```c
__attribute__((signal)) void foog() {} // expected-warning {{'signal' attribute
only applies to functions that have no parameters}}
```
(This is because C, at least in the past, trea
Author: Joseph Huber
Date: 2025-02-05T08:16:00-06:00
New Revision: cd754af55f5b7f6f5371852843bc3613866232c2
URL:
https://github.com/llvm/llvm-project/commit/cd754af55f5b7f6f5371852843bc3613866232c2
DIFF:
https://github.com/llvm/llvm-project/commit/cd754af55f5b7f6f5371852843bc3613866232c2.diff
https://github.com/jhuber6 approved this pull request.
https://github.com/llvm/llvm-project/pull/125857
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Joseph Huber
Date: 2025-02-05T08:18:16-06:00
New Revision: 455cedc805e7a42c6cfbe26a4ddd9e623cca6066
URL:
https://github.com/llvm/llvm-project/commit/455cedc805e7a42c6cfbe26a4ddd9e623cca6066
DIFF:
https://github.com/llvm/llvm-project/commit/455cedc805e7a42c6cfbe26a4ddd9e623cca6066.diff
https://github.com/jhuber6 closed
https://github.com/llvm/llvm-project/pull/125421
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2949,15 +2950,34 @@ static void handleSectionAttr(Sema &S, Decl *D, const
ParsedAttr &AL) {
}
}
+static bool isValidCodeModelAttr(Sema &S, StringRef Str) {
+ if (S.Context.getTargetInfo().getTriple().isLoongArch()) {
+return Str == "normal" || Str == "medium" || St
https://github.com/jhuber6 edited
https://github.com/llvm/llvm-project/pull/125796
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ampandey-1995 closed
https://github.com/llvm/llvm-project/pull/125857
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Amit Kumar Pandey
Date: 2025-02-05T20:16:39+05:30
New Revision: 56a49884ad158fde292d007a2139a77353b4faf7
URL:
https://github.com/llvm/llvm-project/commit/56a49884ad158fde292d007a2139a77353b4faf7
DIFF:
https://github.com/llvm/llvm-project/commit/56a49884ad158fde292d007a2139a77353b4faf7.d
https://github.com/jyknight approved this pull request.
https://github.com/llvm/llvm-project/pull/125722
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/farzonl edited
https://github.com/llvm/llvm-project/pull/125319
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jyknight wrote:
(Oh, all these suppression mappings fixes will need to be backported to the
20.x branch too.)
https://github.com/llvm/llvm-project/pull/125714
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailm
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/125418
___
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
Author: Nick Sarnie (sarnex)
Changes
Add manual ELF packaging for `spirv64-intel` images. This format will be
expected by the runtime plugin we will submit in the future.
---
Full diff: https://github.com/llvm/llvm-project/pull/125737.diff
8 Fi
Author: Kazu Hirata
Date: 2025-02-05T07:16:36-08:00
New Revision: c517edbd0cce53c8e1e0b9c7301be7eb678dae4b
URL:
https://github.com/llvm/llvm-project/commit/c517edbd0cce53c8e1e0b9c7301be7eb678dae4b
DIFF:
https://github.com/llvm/llvm-project/commit/c517edbd0cce53c8e1e0b9c7301be7eb678dae4b.diff
L
jhuber6 wrote:
Generally averse to checked-in binaries for tests. You should be able to
generate these from within the test ideally. Worst case you have `yaml2obj`.
https://github.com/llvm/llvm-project/pull/125737
__
https://github.com/nikic created
https://github.com/llvm/llvm-project/pull/125880
TODO: PR description, a few extra tests.
>From 5be3d8b312365ef8919792703d3fe71d1e39eb53 Mon Sep 17 00:00:00 2001
From: Nikita Popov
Date: Thu, 30 Jan 2025 12:08:01 +0100
Subject: [PATCH] wip
---
clang/test/Code
Author: Timm Baeder
Date: 2025-02-05T17:50:55+01:00
New Revision: 7ef636e1c4c49b175833dc91c44ed338b899c29b
URL:
https://github.com/llvm/llvm-project/commit/7ef636e1c4c49b175833dc91c44ed338b899c29b
DIFF:
https://github.com/llvm/llvm-project/commit/7ef636e1c4c49b175833dc91c44ed338b899c29b.diff
L
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/125869
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/david-xl approved this pull request.
https://github.com/llvm/llvm-project/pull/123963
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -605,6 +605,17 @@ Expected linkDevice(ArrayRef
InputFiles,
}
}
+Error containerizeRawImage(std::unique_ptr &Img, OffloadKind
Kind,
+ const ArgList &Args) {
+ llvm::Triple Triple(Args.getLastArgValue(OPT_triple_EQ));
+ if (Kind != OFK_OpenMP |
@@ -5404,6 +5404,151 @@ third argument, can only occur at file scope.
a = b[i] * c[i] + e;
}
+Extensions for controlling atomic code generation
+=
+
+The ``[[clang::atomic]]`` statement attribute enables users to control ho
@@ -5404,6 +5404,151 @@ third argument, can only occur at file scope.
a = b[i] * c[i] + e;
}
+Extensions for controlling atomic code generation
+=
+
+The ``[[clang::atomic]]`` statement attribute enables users to control ho
https://github.com/shiltian commented:
test?
https://github.com/llvm/llvm-project/pull/125896
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jhuber6 wrote:
> test?
I could add one in `libc`, otherwise I don't see great value in it. This is
directly lifted from existing implementations so I'm not too concerned about
its correctness and I did a sanity check on it.
https://github.com/llvm/llvm-project/pull/125896
@@ -1,49 +1,49 @@
// REQUIRES: x86-registered-target, amdgpu-registered-target
// Fail on invalid ROCm Path.
-// RUN: not %clang -### --target=x86_64-unknown-linux-gnu -fopenmp
--offload-arch=gfx908:xnack+ -fsanitize=address -fgpu-sanitize -nogpuinc
--rocm-path=%S/Inputs/r
@@ -6358,3 +6359,81 @@ RValue CodeGenFunction::EmitPseudoObjectRValue(const
PseudoObjectExpr *E,
LValue CodeGenFunction::EmitPseudoObjectLValue(const PseudoObjectExpr *E) {
return emitPseudoObjectExpr(*this, E, true, AggValueSlot::ignored()).LV;
}
+
+void CodeGenFunction::Fl
@@ -247,45 +240,134 @@ void StackAddrEscapeChecker::checkPreCall(const
CallEvent &Call,
}
}
-void StackAddrEscapeChecker::checkPreStmt(const ReturnStmt *RS,
- CheckerContext &C) const {
- if (!ChecksEnabled[CK_StackAddrEscapeChecker
tbaederr wrote:
> > Are fp options (already) handled in constant evaluation?
>
> I think they are, there are tests for it in
> https://github.com/llvm/llvm-project/blob/main/clang/test/AST/const-fpfeatures.c
> and
> https://github.com/llvm/llvm-project/blob/main/clang/test/AST/const-fpfeature
@@ -2949,15 +2950,34 @@ static void handleSectionAttr(Sema &S, Decl *D, const
ParsedAttr &AL) {
}
}
+static bool isValidCodeModelAttr(Sema &S, StringRef Str) {
+ if (S.Context.getTargetInfo().getTriple().isLoongArch()) {
+return Str == "normal" || Str == "medium" || St
@@ -2949,15 +2950,34 @@ static void handleSectionAttr(Sema &S, Decl *D, const
ParsedAttr &AL) {
}
}
+static bool isValidCodeModelAttr(Sema &S, StringRef Str) {
+ if (S.Context.getTargetInfo().getTriple().isLoongArch()) {
+return Str == "normal" || Str == "medium" || St
https://github.com/erichkeane edited
https://github.com/llvm/llvm-project/pull/124834
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cjappl commented:
(sorry meant to leave these comments the other day, these comments are separate
from the "should we enable it" discussion)
https://github.com/llvm/llvm-project/pull/125389
___
cfe-commits mailing list
cfe-commits@l
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-aarch64-global-isel`
running on `linaro-clang-aarch64-global-isel` while building `clang,libc` at
step 7 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/125/builds/5430
Here is
@@ -43,6 +44,21 @@ static __rtsan::Context &GetContextForThisThreadImpl() {
return *current_thread_context;
}
+#else
+
+// On FreeBSD, pthread api cannot be used as calloc is called under the hood
+// at library initialization time.
cjappl wrote:
Can you el
https://github.com/cjappl edited
https://github.com/llvm/llvm-project/pull/125389
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cjappl edited
https://github.com/llvm/llvm-project/pull/125389
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -43,6 +44,21 @@ static __rtsan::Context &GetContextForThisThreadImpl() {
return *current_thread_context;
}
+#else
+
+// On FreeBSD, pthread api cannot be used as calloc is called under the hood
+// at library initialization time.
+static __thread Context *ctx = nullptr;
+
cjappl wrote:
Thanks for the feedback @brooksdavis and @bsdimp - always hard to tell how
popular or unpopular a change would be, especially from "outside the community"
(aka me not knowing much about the BSD flavors :)
> Sure we can keep it open for a while, still a long road before 21.x anyw
georgthegreat wrote:
@MaskRay, we build libunwind using our own build system with the clang default
set of warnings enabled.
There is already a couple of `[[maybe_unused]]` attributes in this library, so
I do not bring anything new:
```
(dflt) thegeorg@jakku:~/contrib/llvm/libunwind@main$ rg u
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/125811
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/w2yehia deleted
https://github.com/llvm/llvm-project/pull/125388
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -431,6 +431,122 @@ AST_MATCHER(CXXConstructExpr,
isSafeSpanTwoParamConstruct) {
return false;
}
+class MaxValueEval : public ConstStmtVisitor {
+
+ ASTContext &Context;
+ llvm::APInt Max;
+ unsigned bit_width;
+
+public:
+ typedef ConstStmtVisitor VisitorBase;
+
+ e
https://github.com/sarnex created
https://github.com/llvm/llvm-project/pull/125920
I expect (many) other changes will be required, but let's get started with
something simple.
>From 1ee97d674c707d4b07d1e39f943adc94bb16d205 Mon Sep 17 00:00:00 2001
From: "Sarnie, Nick"
Date: Tue, 4 Feb 2025 13
bcardosolopes wrote:
> @lanza @bcardosolopes Do you want to look this over before I commit it? This
> change introduces some restructuring that I'll want to incorporate in the
> incubator, where it will have a somewhat bigger impact, so I'd like to get
> your buy-in or objections now before I
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-debian-cpp20`
running on `clang-debian-cpp20` while building `clang,libc` at step 6
"test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/108/builds/8975
Here is
@@ -431,6 +431,122 @@ AST_MATCHER(CXXConstructExpr,
isSafeSpanTwoParamConstruct) {
return false;
}
+class MaxValueEval : public ConstStmtVisitor {
+
+ ASTContext &Context;
+ llvm::APInt Max;
+ unsigned bit_width;
+
+public:
+ typedef ConstStmtVisitor VisitorBase;
+
+ e
@@ -149,22 +149,23 @@ _DEFAULT_FN_ATTRS static __inline__ void
__gpu_sync_lane(uint64_t __lane_mask) {
// Shuffles the the lanes inside the warp according to the given index.
_DEFAULT_FN_ATTRS static __inline__ uint32_t
-__gpu_shuffle_idx_u32(uint64_t __lane_mask, uint32_t __
@@ -0,0 +1,52 @@
+//===- TypeConverter.h - Convert builtin to LLVM dialect types --*- C++
-*-===//
bcardosolopes wrote:
TypeConverter.h -> CIRAttrVisitor.h
https://github.com/llvm/llvm-project/pull/125619
___
cfe-comm
https://github.com/AidanGoldfarb edited
https://github.com/llvm/llvm-project/pull/122754
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AidanGoldfarb edited
https://github.com/llvm/llvm-project/pull/122754
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
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,libc` at step 5 "ninja
check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/27/builds/5732
Here is the relevant pi
@@ -1,49 +1,49 @@
// REQUIRES: x86-registered-target, amdgpu-registered-target
// Fail on invalid ROCm Path.
-// RUN: not %clang -### --target=x86_64-unknown-linux-gnu -fopenmp
--offload-arch=gfx908:xnack+ -fsanitize=address -fgpu-sanitize -nogpuinc
--rocm-path=%S/Inputs/r
https://github.com/ilovepi created
https://github.com/llvm/llvm-project/pull/125911
When using FatLTO, it is common to want to enable certain types of whole
program optimizations (WPD) or security transforms (CFI), so that they
can be made available when performing LTO. However, these transforms
https://github.com/jhuber6 updated
https://github.com/llvm/llvm-project/pull/125744
>From 38857841cfd25c6faaa1448f6556060f2db364e1 Mon Sep 17 00:00:00 2001
From: Joseph Huber
Date: Tue, 4 Feb 2025 12:06:34 -0600
Subject: [PATCH] Reapply "[AMDGPU] Use the AMDGPUToolChain when targeting
C/C++ di
https://github.com/shiltian approved this pull request.
https://github.com/llvm/llvm-project/pull/125891
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1,49 +1,49 @@
// REQUIRES: x86-registered-target, amdgpu-registered-target
// Fail on invalid ROCm Path.
-// RUN: not %clang -### --target=x86_64-unknown-linux-gnu -fopenmp
--offload-arch=gfx908:xnack+ -fsanitize=address -fgpu-sanitize -nogpuinc
--rocm-path=%S/Inputs/r
andykaylor wrote:
@lanza @bcardosolopes Do you want to look this over before I commit it? This
change introduces some restructuring that I'll want to incorporate in the
incubator, where it will have a somewhat bigger impact, so I'd like to get your
buy-in or objections now before I start worki
201 - 300 of 426 matches
Mail list logo