https://github.com/karka228 edited
https://github.com/llvm/llvm-project/pull/102073
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/delcypher approved this pull request.
LGTM. Please fix the commit message when squashing.
https://github.com/llvm/llvm-project/pull/102076
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman
karka228 wrote:
When rebasing the patch I removed the fix in avx10_2_512minmax-error.c as it
was already fixed in:
```
commit 1b9d7dd9eb31974077b64d66404193bd7c4ad65e
Author: Augie Fackler
Date: Mon Aug 5 17:08:06 2024 -0400
tests: fix clang flags in avx10_2_512minmax-error test
https://github.com/karka228 updated
https://github.com/llvm/llvm-project/pull/102073
>From a9401265f397108dbbb8c99cb4478801c39448e9 Mon Sep 17 00:00:00 2001
From: Karl-Johan Karlsson
Date: Mon, 5 Aug 2024 23:43:39 +0200
Subject: [PATCH] [test] Avoid writing to a potentially write-protected dir
https://github.com/karka228 edited
https://github.com/llvm/llvm-project/pull/102073
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/karka228 updated
https://github.com/llvm/llvm-project/pull/102073
>From e2c9089537bfa0fad10f7873ca5cb4191eed7fa5 Mon Sep 17 00:00:00 2001
From: Karl-Johan Karlsson
Date: Mon, 5 Aug 2024 23:43:39 +0200
Subject: [PATCH 1/4] [test] Avoid writing to a potentially write-protected
https://github.com/karka228 updated
https://github.com/llvm/llvm-project/pull/102073
>From e2c9089537bfa0fad10f7873ca5cb4191eed7fa5 Mon Sep 17 00:00:00 2001
From: Karl-Johan Karlsson
Date: Mon, 5 Aug 2024 23:43:39 +0200
Subject: [PATCH 1/3] [test] Avoid writing to a potentially write-protected
vbe-sc wrote:
@topperc, ping
https://github.com/llvm/llvm-project/pull/100110
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -417,3 +417,168 @@ defm VMINMAXSH : avx10_minmax_scalar<"vminmaxsh",
v8f16x_info, X86vminmaxs, X86v
AVX512PSIi8Base, VEX_LIG, EVEX, , EVEX_CD8<16, CD8VT1>,
TA;
defm VMINMAXSS : avx10_minmax_scalar<"vminmaxss", v4f32x_info, X86vminmaxs,
X86vminmaxsSae>,
https://github.com/phoebewang edited
https://github.com/llvm/llvm-project/pull/101599
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -417,3 +417,168 @@ defm VMINMAXSH : avx10_minmax_scalar<"vminmaxsh",
v8f16x_info, X86vminmaxs, X86v
AVX512PSIi8Base, VEX_LIG, EVEX, , EVEX_CD8<16, CD8VT1>,
TA;
defm VMINMAXSS : avx10_minmax_scalar<"vminmaxss", v4f32x_info, X86vminmaxs,
X86vminmaxsSae>,
https://github.com/phoebewang approved this pull request.
LGTM with one nit.
https://github.com/llvm/llvm-project/pull/101599
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,198 @@
+// RUN: %clang_cc1 %s -flax-vector-conversions=none -ffreestanding
-triple=x86_64 -target-feature +avx10.2-512 \
+// RUN: -emit-llvm -Wall -Werror -verify
+// RUN: %clang_cc1 %s -flax-vector-conversions=none -ffreestanding
-triple=i386 -target-feature +avx10.2
https://github.com/kovdan01 closed
https://github.com/llvm/llvm-project/pull/96478
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Daniil Kovalev
Date: 2024-08-06T08:02:13+03:00
New Revision: 6e45fa95be9db5318ac7037c673c9b18a48ac5b1
URL:
https://github.com/llvm/llvm-project/commit/6e45fa95be9db5318ac7037c673c9b18a48ac5b1
DIFF:
https://github.com/llvm/llvm-project/commit/6e45fa95be9db5318ac7037c673c9b18a48ac5b1.diff
petrhosek wrote:
This breaks the build with the following error:
```
CMake Error at cmake/modules/AddLLVM.cmake:970 (add_library):
Cannot find source file:
EXPORT_SYMBOLS_FOR_PLUGINS
Call Stack (most recent call first):
/b/s/w/ir/x/w/llvm-llvm-project/lld/cmake/modules/AddLLD.cmake:48
(
zyn0217 wrote:
Thanks for the review! I've just merged it.
> We should probably backport that
SGTM but given that this bug persists in so many versions, I think it is also
fine to leave the fix just on trunk - especially since this is actually a
partial fix.
We could issue a backport to 19 a
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/102031
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2024-08-06T06:11:06+02:00
New Revision: 421c3fe54b56608bc6b23716d1cac96c8b3c38c5
URL:
https://github.com/llvm/llvm-project/commit/421c3fe54b56608bc6b23716d1cac96c8b3c38c5
DIFF:
https://github.com/llvm/llvm-project/commit/421c3fe54b56608bc6b23716d1cac96c8b3c38c5.diff
L
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/99732
>From 1ddc3ba30a0aadf69e66082c1edc434c6e9bd6d5 Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Fri, 19 Jul 2024 22:07:06 -0400
Subject: [PATCH] [Clang][OpenMP] Allow `num_teams` to accept multiple
expressions
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/99732
>From c983a11e3d317714e4fe7abbcaf46efeda4a7516 Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Fri, 19 Jul 2024 22:07:06 -0400
Subject: [PATCH] [Clang][OpenMP] Allow `num_teams` to accept multiple
expressions
@@ -0,0 +1,198 @@
+// RUN: %clang_cc1 %s -flax-vector-conversions=none -ffreestanding
-triple=x86_64 -target-feature +avx10.2-512 \
+// RUN: -emit-llvm -Wall -Werror -verify
+// RUN: %clang_cc1 %s -flax-vector-conversions=none -ffreestanding
-triple=i386 -target-feature +avx10.2
@@ -0,0 +1,327 @@
+/*===-- avx10_2_512satcvtintrin.h - AVX10_2_512SATCVT intrinsics ---===
+ *
+ * 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: Apac
https://github.com/ahmedbougacha closed
https://github.com/llvm/llvm-project/pull/102072
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Ahmed Bougacha
Date: 2024-08-05T20:28:45-07:00
New Revision: 265fbfa063d0b31b57e7945f5be061b2a4f5baff
URL:
https://github.com/llvm/llvm-project/commit/265fbfa063d0b31b57e7945f5be061b2a4f5baff
DIFF:
https://github.com/llvm/llvm-project/commit/265fbfa063d0b31b57e7945f5be061b2a4f5baff.diff
llvmbot wrote:
@llvm/pr-subscribers-llvm-ir
Author: Freddy Ye (FreddyLeaf)
Changes
Ref.: https://cdrdv2.intel.com/v1/dl/getContent/828965
---
Patch is 613.01 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/101600.diff
23 Files Affected:
- (m
https://github.com/FreddyLeaf ready_for_review
https://github.com/llvm/llvm-project/pull/101600
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -304,6 +304,16 @@
// MCPU-SIFIVE-P450-SAME: "-target-feature" "+zbs"
// MCPU-SIFIVE-P450-SAME: "-target-abi" "lp64d"
+// RUN: %clang -target riscv64 -### -c %s 2>&1 -mcpu=sifive-p470 | FileCheck
-check-prefix=MCPU-SIFIVE-P470 %s
+// MCPU-SIFIVE-P470: "-target-cpu" "sifive-
@@ -1371,7 +1371,6 @@ def NoConditionalMoveFusion :
Predicate<"!Subtarget->hasConditionalMoveFusion()
def TuneSiFive7 : SubtargetFeature<"sifive7", "RISCVProcFamily", "SiFive7",
"SiFive 7-Series processors">;
-
wangpc-pp wr
owenca wrote:
We should rename the option and its values to e.g. `BreakParameters` and
`Never`/`OnePerLine`/`Always`. See also
https://github.com/llvm/llvm-project/pull/95013#discussion_r1703578003.
https://github.com/llvm/llvm-project/pull/101882
__
efriedma-quic wrote:
Would it do any harm to just unconditionally compute the type and pass it into
getExtend()?
https://github.com/llvm/llvm-project/pull/101738
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/ma
@@ -104,6 +104,7 @@ FEATURE(thread_sanitizer,
LangOpts.Sanitize.has(SanitizerKind::Thread))
FEATURE(dataflow_sanitizer, LangOpts.Sanitize.has(SanitizerKind::DataFlow))
FEATURE(scudo, LangOpts.Sanitize.hasOneOf(SanitizerKind::Scudo))
FEATURE(ptrauth_intrinsics, LangOpts.Pointer
https://github.com/zyn0217 closed
https://github.com/llvm/llvm-project/pull/86265
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Younan Zhang
Date: 2024-08-06T10:54:45+08:00
New Revision: 874067a22f0f483dbe210d8547c06d564bfa7848
URL:
https://github.com/llvm/llvm-project/commit/874067a22f0f483dbe210d8547c06d564bfa7848
DIFF:
https://github.com/llvm/llvm-project/commit/874067a22f0f483dbe210d8547c06d564bfa7848.diff
@@ -2123,17 +2123,18 @@ class Preprocessor {
char
getSpellingOfSingleCharacterNumericConstant(const Token &Tok,
bnbarham wrote:
Both the documentation and name of this function is incorrect now that the
underlying functionality has changed - would you mind
https://github.com/HenryZ16 updated
https://github.com/llvm/llvm-project/pull/101812
>From 217b910739f6bbc392cbb98f34fdd785bca2f57e Mon Sep 17 00:00:00 2001
From: HenryZ16 <1546169...@qq.com>
Date: Sat, 3 Aug 2024 05:03:15 -0600
Subject: [PATCH 1/2] fix issue: [Clang][OpenMP] Implicit conversion
https://github.com/zyn0217 updated
https://github.com/llvm/llvm-project/pull/86265
>From 6e7b38b3e3f781e11db2fa5d552fdfb6123609df Mon Sep 17 00:00:00 2001
From: Younan Zhang
Date: Fri, 22 Mar 2024 17:34:08 +0800
Subject: [PATCH 01/27] [Sema] Preserve ContainsUnexpandedParameterPack in
Transfor
https://github.com/KanRobert commented:
LGTM for the fold table change
https://github.com/llvm/llvm-project/pull/101599
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cachemeifyoucan closed
https://github.com/llvm/llvm-project/pull/101741
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ChuanqiXu9 wrote:
@sharadhr it looks like the commit author is not correct. By default it is
`3754080+shara...@users.noreply.github.com`, but we don't like such fake mail
account. Please update it with your real mail.
https://github.com/llvm/llvm-project/pull/98761
ChuanqiXu9 wrote:
It looks like the CI failure is not related.
https://github.com/llvm/llvm-project/pull/98761
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ChuanqiXu9 approved this pull request.
LGTM. I'll merge this after the CI finished.
https://github.com/llvm/llvm-project/pull/98761
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listin
https://github.com/lhames approved this pull request.
https://github.com/llvm/llvm-project/pull/101741
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -14,5 +14,3 @@ set(LLVM_LINK_COMPONENTS
add_kaleidoscope_chapter(BuildingAJIT-Ch1
toy.cpp
)
-
-export_executable_symbols(BuildingAJIT-Ch1)
lhames wrote:
> The expert symbols are pushed to the add_llvm_example by default
Totally missed that. Thanks for
@@ -14,5 +14,3 @@ set(LLVM_LINK_COMPONENTS
add_kaleidoscope_chapter(BuildingAJIT-Ch1
toy.cpp
)
-
-export_executable_symbols(BuildingAJIT-Ch1)
cachemeifyoucan wrote:
The expert symbols are pushed to the add_llvm_example by default
https://github.com/llvm/l
@@ -14,5 +14,3 @@ set(LLVM_LINK_COMPONENTS
add_kaleidoscope_chapter(BuildingAJIT-Ch1
toy.cpp
)
-
-export_executable_symbols(BuildingAJIT-Ch1)
lhames wrote:
All tutorial exercises and examples that currently use
`export_executable_symbols` will now need `E
https://github.com/lhames requested changes to this pull request.
https://github.com/llvm/llvm-project/pull/101741
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -821,6 +821,88 @@ def X86vpdpbuuds : SDNode<"X86ISD::VPDPBUUDS", SDTVnni>;
def X86Vmpsadbw : SDNode<"X86ISD::MPSADBW", SDTX86PSADBW>;
+def SDTAVX10SATCVT_BF162I : SDTypeProfile<1, 1, [
+ SDTCVecEltisVT<0, i16>, SDTCVecEltisVT<1, bf16>
+]>;
+
+def SDTAVX10SATCVT_PH2I : SDT
@@ -821,6 +821,88 @@ def X86vpdpbuuds : SDNode<"X86ISD::VPDPBUUDS", SDTVnni>;
def X86Vmpsadbw : SDNode<"X86ISD::MPSADBW", SDTX86PSADBW>;
+def SDTAVX10SATCVT_BF162I : SDTypeProfile<1, 1, [
+ SDTCVecEltisVT<0, i16>, SDTCVecEltisVT<1, bf16>
+]>;
+
+def SDTAVX10SATCVT_PH2I : SDT
@@ -821,6 +821,88 @@ def X86vpdpbuuds : SDNode<"X86ISD::VPDPBUUDS", SDTVnni>;
def X86Vmpsadbw : SDNode<"X86ISD::MPSADBW", SDTX86PSADBW>;
+def SDTAVX10SATCVT_BF162I : SDTypeProfile<1, 1, [
+ SDTCVecEltisVT<0, i16>, SDTCVecEltisVT<1, bf16>
+]>;
+
+def SDTAVX10SATCVT_PH2I : SDT
@@ -313,7 +313,7 @@ def v32i16_info : X86VectorVTInfo<32, i16, VR512, "w">;
def v16i32_info : X86VectorVTInfo<16, i32, VR512, "d">;
def v8i64_info : X86VectorVTInfo<8, i64, VR512, "q">;
def v32f16_info : X86VectorVTInfo<32, f16, VR512, "ph">;
-def v32bf16_info: X86VectorVTInf
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Yeoul Na (rapidsna)
Changes
…heckCountedByAttrOnField'
llvm::SmallVectorImpl &Decls is a vector of
declarations referred to by the argument of 'counted_by' attributes and
frields. Since 'BuildCountAttributedArrayO
https://github.com/rapidsna created
https://github.com/llvm/llvm-project/pull/102076
…heckCountedByAttrOnField'
llvm::SmallVectorImpl &Decls is a vector of
declarations referred to by the argument of 'counted_by' attributes and
frields. Since 'BuildCountAttributedArrayOrPointerType' has been
efriedma-quic wrote:
/cherry-pick 1762e01cca0186f1862db561cfd9019164b8c654
https://github.com/llvm/llvm-project/pull/93115
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Artem-B wrote:
Given that the prevalent compilation for CUDA has no standard library
whatsoever, preserving libcalls may break some existing users that may be
relying on library call lowering to an intrinsic that *is* implemented by the
back-end.
Perhaps this "no library call to intrinsic con
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/101738
>From f25e4ab65ed16a1e1a3bde91efe24bd0d52e0e74 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 2 Aug 2024 13:58:37 -0400
Subject: [PATCH 1/7] [PowerPC] Fix codegen for transparent_union function
params
Upda
efriedma-quic wrote:
transparent_union generally means that the value is passed using the convention
of the first member of the union. Why do you need to check for whether the
value was originally a transparent union? Shouldn't the resulting convention
be the same either way?
https://github
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/101738
>From f25e4ab65ed16a1e1a3bde91efe24bd0d52e0e74 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 2 Aug 2024 13:58:37 -0400
Subject: [PATCH 1/6] [PowerPC] Fix codegen for transparent_union function
params
Upda
https://github.com/MaskRay approved this pull request.
https://github.com/llvm/llvm-project/pull/101983
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/higher-performance edited
https://github.com/llvm/llvm-project/pull/102040
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/higher-performance edited
https://github.com/llvm/llvm-project/pull/102040
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
MitalAshok wrote:
This doesn't make sense to backport to C++98's `_Static_assert` extension (no
`constexpr` member functions)
CC @cor3ntin @AaronBallman
Re: affects on libc++/any downstream:
Other than the feature test macro, this extension should not affect any valid
C++11/20 program, since
https://github.com/lei137 updated
https://github.com/llvm/llvm-project/pull/101738
>From f25e4ab65ed16a1e1a3bde91efe24bd0d52e0e74 Mon Sep 17 00:00:00 2001
From: Lei Huang
Date: Fri, 2 Aug 2024 13:58:37 -0400
Subject: [PATCH 1/5] [PowerPC] Fix codegen for transparent_union function
params
Upda
cor3ntin wrote:
@AaronBallman I think this is worth of an RFC, WDYT?
https://github.com/llvm/llvm-project/pull/102040
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -7842,6 +7853,61 @@ VPValue *VPRecipeBuilder::createEdgeMask(BasicBlock
*Src, BasicBlock *Dst) {
VPValue *SrcMask = getBlockInMask(Src);
+ if (auto *SI = dyn_cast(Src->getTerminator())) {
+assert(!OrigLoop->isLoopExiting(Src) &&
+ all_of(successors(Src),
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Mital Ashok (MitalAshok)
Changes
Added a new `-Wpre-c++26-compat` warning for when this feature is used in C++26
and a `-Wc++26-extensions` warning for when this is used in C++11 through C++23.
---
Full diff: https://github.com/llvm/llvm-
https://github.com/MitalAshok ready_for_review
https://github.com/llvm/llvm-project/pull/102044
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MitalAshok updated
https://github.com/llvm/llvm-project/pull/102044
>From 90441c251c1ec5a3b8be923ca9678c8d3d586bee Mon Sep 17 00:00:00 2001
From: Mital Ashok
Date: Mon, 5 Aug 2024 20:29:12 +0100
Subject: [PATCH] [Clang][Sema] Backport P2741R3 (static_assert with
user-generat
https://github.com/MitalAshok edited
https://github.com/llvm/llvm-project/pull/102044
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
eddyz87 wrote:
@AaronBallman,
> > ```c
> > void (*ptr1)(void) __bpf_fastcall;
> > void (*ptr2)(void);
> > void foo(void) {
> > ptr2 = ptr1; // is this an error?
> > }
> > ```
> ...
> Doesn't that kind of defeat the purpose of the calling convention? (A
> function designato
https://github.com/MitalAshok created
https://github.com/llvm/llvm-project/pull/102044
Added a new `-Wpre-c++26-compat` warning for when this feature is used in
C++26, and a different warning for when this is used in C++11 through C++20.
>From 65f4c93a54888338ab5fe3e5b9f9f1228651eb3c Mon Sep 1
@@ -8052,15 +8061,13 @@ NamedDecl *Sema::ActOnVariableDeclarator(
}
// Special handling of variable named 'main'.
- if (Name.getAsIdentifierInfo() && Name.getAsIdentifierInfo()->isStr("main")
&&
- NewVD->getDeclContext()->getRedeclContext()->isTranslationUnit() &&
-
@@ -7353,6 +7353,15 @@ void emitReadOnlyPlacementAttrWarning(Sema &S, const
VarDecl *VD) {
}
}
+static bool isMainVar(DeclarationName Name, VarDecl *VD) {
+ if (Name.getAsIdentifierInfo() && Name.getAsIdentifierInfo()->isStr("main")
&&
+ !VD->getDescribedVarTemplate(
@@ -12370,6 +12379,17 @@ void Sema::CheckMain(FunctionDecl* FD, const DeclSpec&
DS) {
}
}
+bool Sema::CheckLinkageSpecification(DeclContext *DC, Decl *D) {
+ // [basic.start.main] p2
+ // The main function shall not be declared with a linkage-specification.
+ if (DC->i
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/101853
>From a8d0a654c520508131aeaedcf9b16e0b1f527582 Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Sun, 4 Aug 2024 00:45:49 +0300
Subject: [PATCH] [Clang] strengthen checks for 'main' function to meet
[basic.st
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/101853
>From befd46e0c2d3244941e4c4d48dd03d4edb3d4c04 Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Sun, 4 Aug 2024 00:45:49 +0300
Subject: [PATCH] [Clang] strengthen checks for 'main' function to meet
[basic.st
https://github.com/a-tarasyuk edited
https://github.com/llvm/llvm-project/pull/101853
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/higher-performance edited
https://github.com/llvm/llvm-project/pull/102040
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/higher-performance edited
https://github.com/llvm/llvm-project/pull/102040
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/higher-performance edited
https://github.com/llvm/llvm-project/pull/102040
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/DataCorrupted updated
https://github.com/llvm/llvm-project/pull/101114
>From 1aaa05fe132bd2742e971df1a81186d6f1fe8a61 Mon Sep 17 00:00:00 2001
From: Peter Rong
Date: Mon, 29 Jul 2024 16:05:54 -0700
Subject: [PATCH 1/4] Reapply "Run ObjCContractPass in Default Codegen Pipeline
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (higher-performance)
Changes
This is a new Clang-specific attribute to ensure that field initializations are
performed explicitly.
For example, if we have
```
struct B {
[[clang::explicit]] int f1;
};
---
Full diff: https://
https://github.com/higher-performance created
https://github.com/llvm/llvm-project/pull/102040
This is a new Clang-specific attribute to ensure that field initializations are
performed explicitly.
For example, if we have
```
struct B {
[[clang::explicit]] int f1;
};
>From e141508349c1
nikic wrote:
> > The pipeline test changes here still look problematic. Can you make the
> > ObjCARCContract pass preserve the DT?
>
> ObjCARCContractPass can't preserve the DT at static time, it may alter CFG
> (See more in [this patch](https://reviews.llvm.org/D92808)). Unfortunately,
> leg
@@ -0,0 +1,75 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
UTC_ARGS: --version 5
+// REQUIRES: powerpc-registered-target
+// RUN: %clang_cc1 -triple powerpc64le-unknown-linux -O2 -target-cpu pwr7 \
+// RUN: -emit-llvm %s -o - | FileCheck %s
DataCorrupted wrote:
> The pipeline test changes here still look problematic. Can you make the
> ObjCARCContract pass preserve the DT?
ObjCARCContractPass can't preserve the DT at static time, it may alter CFG (See
more in [this patch](https://reviews.llvm.org/D92808)). Unfortunately, legacy
@@ -0,0 +1,39 @@
+#===
ldionne wrote:
For now, can't you include `libcxx/cmake/Modules/HandleLibC.cmake` instead?
https://github.com/llvm/llvm-project/pull/101688
___
@@ -0,0 +1,58 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
UTC_ARGS: --version 5
+// REQUIRES: powerpc-registered-target
+// RUN: %clang_cc1 -triple powerpc64le-unknown-linux -O2 -target-cpu pwr7 \
+// RUN: -emit-llvm %s -o - | FileCheck %s
ldionne wrote:
> @ldionne I'm starting to think that we should have a generic module in
> https://github.com/llvm/llvm-project/tree/main/cmake/Modules that would be
> controlled by `LLVM_USE_LIBC` and define `libc-headers`, `libc-static` and
> `libc-shared`. That way we could avoid duplicating
@@ -393,6 +401,18 @@ CharUnits
PPC32_SVR4_ABIInfo::getParamTypeAlignment(QualType Ty) const {
return CharUnits::fromQuantity(4);
}
+ABIArgInfo PPC32_SVR4_ABIInfo::classifyArgumentType(QualType Ty) const {
+ bool IsTransparentUnion;
+ Ty = useFirstFieldIfTransparentUnion(T
@@ -65,6 +65,10 @@ CGCXXABI::RecordArgABI getRecordArgABI(QualType T, CGCXXABI
&CXXABI);
bool classifyReturnType(const CGCXXABI &CXXABI, CGFunctionInfo &FI,
const ABIInfo &Info);
+// For transparent union types, return the type of the first element.
+/
llvm-beanz wrote:
@rjmccall curious if you have some time to look at this PR. I've made some
small changes to extend parameter ABI annotations and write back arguments
(used by ObjC) to cover HLSL's odd parameter behaviors.
https://github.com/llvm/llvm-project/pull/101083
_
https://github.com/zygoloid approved this pull request.
LGTM too, thanks
https://github.com/llvm/llvm-project/pull/101721
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/llvm-beanz updated
https://github.com/llvm/llvm-project/pull/101083
>From e8ec3e24e0061714b5dc440b1b92086965809483 Mon Sep 17 00:00:00 2001
From: Chris Bieneman
Date: Mon, 29 Jul 2024 16:05:11 -0500
Subject: [PATCH 1/9] [HLSL] Implement output parameter
HLSL output parameter
https://github.com/ziqingluo-90 updated
https://github.com/llvm/llvm-project/pull/101583
>From 979619ea3ac0b52944468160f582d82fce3cee7d Mon Sep 17 00:00:00 2001
From: Ziqing Luo
Date: Thu, 1 Aug 2024 16:36:27 -0700
Subject: [PATCH] [-Wunsafe-buffer-usage] Add warn on unsafe calls to libc
funct
https://github.com/higher-performance updated
https://github.com/llvm/llvm-project/pull/90634
>From f981f44824d9387fde221e2aa0e260802f3d67f2 Mon Sep 17 00:00:00 2001
From: higher-performance
Date: Tue, 30 Apr 2024 14:40:59 -0600
Subject: [PATCH] Add isTrivial() and isTriviallyCopyable() AST mat
https://github.com/higher-performance updated
https://github.com/llvm/llvm-project/pull/90634
>From a58dbe94dde39b44065321fd2d3444332536c778 Mon Sep 17 00:00:00 2001
From: higher-performance
Date: Tue, 30 Apr 2024 14:40:59 -0600
Subject: [PATCH] Add isTrivial() and isTriviallyCopyable() AST mat
@@ -0,0 +1,113 @@
+// RUN: %clang_cc1 -std=c++20 -Wunsafe-buffer-usage \
+// RUN:-fsafe-buffer-usage-suggestions -verify %s
+
+using size_t = __typeof(sizeof(int));
+
+namespace std {
+ class type_info;
+ class bad_cast;
+ class bad_typeid;
+
+ template class span
@@ -0,0 +1,113 @@
+// RUN: %clang_cc1 -std=c++20 -Wunsafe-buffer-usage \
+// RUN:-fsafe-buffer-usage-suggestions -verify %s
+
+using size_t = __typeof(sizeof(int));
+
+namespace std {
+ class type_info;
+ class bad_cast;
+ class bad_typeid;
+
+ template class span
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/102031.diff
2 Files Affected:
- (modified) clang/lib/AST/Interp/Interp.cpp (+6-1)
- (modified) clang/test/AST/Interp/cxx20.cpp (+17)
``
1 - 100 of 378 matches
Mail list logo