mikolaj-pirog wrote:
It's true that there isn't any compatibility argument for leaving
`-fprofile-sample/auto` (it was silently ignored afterall), but I think the
consistency argument is important. From a standpoint of a clang user, it's very
reasonable to expect that `fprofile-use` and `-fpro
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while
building `clang` at step 6 "Add check check-clang".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/140/builds/9464
Here is t
https://github.com/DavidSpickett updated
https://github.com/llvm/llvm-project/pull/113660
>From 7fa2d66f56af7b6ca6d6f36161825c1b71e8e29a Mon Sep 17 00:00:00 2001
From: David Spickett
Date: Wed, 23 Oct 2024 11:39:15 +0100
Subject: [PATCH 1/3] [ci] New script to generate test reports as Buildkite
@@ -477,6 +485,100 @@ void DiagnosticsEngine::setSeverityForAll(diag::Flavor
Flavor,
setSeverity(Diag, Map, Loc);
}
+namespace {
+class WarningsSpecialCaseList : public llvm::SpecialCaseList {
+public:
+ static std::unique_ptr
+ create(const llvm::MemoryBuffer &MB, st
@@ -477,6 +485,100 @@ void DiagnosticsEngine::setSeverityForAll(diag::Flavor
Flavor,
setSeverity(Diag, Map, Loc);
}
+namespace {
+class WarningsSpecialCaseList : public llvm::SpecialCaseList {
+public:
+ static std::unique_ptr
+ create(const llvm::MemoryBuffer &MB, st
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112049
>From c4327c96d09b37c66efe9cf74a4bfdd3b26a98b3 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 13:31:13 -0700
Subject: [PATCH 1/8] [WebAssembly] Enable nontrapping-fptoint and bulk-memory
b
https://github.com/z1nke created
https://github.com/llvm/llvm-project/pull/113688
Fixed #113652
When calling `Node.isAggregate()` and `Node.isPOD()`, if `Node` is declared but
not defined, it will result in null pointer dereference (and if assertions are
enabled, it will cause an assertion fai
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: None (z1nke)
Changes
Fixed #113652
When calling `Node.isAggregate()` and `Node.isPOD()`, if `Node` is declared but
not defined, it will result in null pointer dereference (and if assertions are
enabled, it will cause an assert
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` at step 6 "test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/144/builds/10108
jvoung wrote:
> AST_MATCHER_P_OVERLOAD
Ah, missed the part where the macro is generating the `internal` namespaces. I
don't think we want to move to the top of the file exactly (the instantiation
refers to some functions defined right above, so would need fwd decls?), but we
can change the na
@@ -477,6 +485,100 @@ void DiagnosticsEngine::setSeverityForAll(diag::Flavor
Flavor,
setSeverity(Diag, Map, Loc);
}
+namespace {
+class WarningsSpecialCaseList : public llvm::SpecialCaseList {
+public:
+ static std::unique_ptr
+ create(const llvm::MemoryBuffer &MB, st
@@ -477,6 +485,100 @@ void DiagnosticsEngine::setSeverityForAll(diag::Flavor
Flavor,
setSeverity(Diag, Map, Loc);
}
+namespace {
+class WarningsSpecialCaseList : public llvm::SpecialCaseList {
+public:
+ static std::unique_ptr
+ create(const llvm::MemoryBuffer &MB, st
@@ -477,6 +485,100 @@ void DiagnosticsEngine::setSeverityForAll(diag::Flavor
Flavor,
setSeverity(Diag, Map, Loc);
}
+namespace {
+class WarningsSpecialCaseList : public llvm::SpecialCaseList {
bricknerb wrote:
Consider moving this class to a separate f
https://github.com/MacDue updated
https://github.com/llvm/llvm-project/pull/113673
>From fa7576522c8dfc59365c6caa8407469a5a4d Mon Sep 17 00:00:00 2001
From: Benjamin Maxwell
Date: Fri, 25 Oct 2024 10:38:01 +
Subject: [PATCH 1/2] [clang][doc] Add release note for changes to
`-fveclib={A
https://github.com/paulwalker-arm approved this pull request.
https://github.com/llvm/llvm-project/pull/97277
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/DavidSpickett updated
https://github.com/llvm/llvm-project/pull/113660
>From 37886ec83bf246fb366ba2e1f14fa011891073df Mon Sep 17 00:00:00 2001
From: David Spickett
Date: Wed, 23 Oct 2024 11:39:15 +0100
Subject: [PATCH 1/3] [ci] New script to generate test reports as Buildkite
https://github.com/T-Tie edited https://github.com/llvm/llvm-project/pull/111837
___
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
`openmp-offload-amdgpu-runtime` running on `omp-vega20-0` while building
`clang` at step 7 "Add check check-offload".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/30/builds/8893
Here is the relevan
Author: Alex Bradbury
Date: 2024-10-25T12:24:50+01:00
New Revision: 2c0b34852af4dc9964f8bf6db303bd54a32856e7
URL:
https://github.com/llvm/llvm-project/commit/2c0b34852af4dc9964f8bf6db303bd54a32856e7
DIFF:
https://github.com/llvm/llvm-project/commit/2c0b34852af4dc9964f8bf6db303bd54a32856e7.diff
@@ -1612,6 +1642,18 @@ SDValue
SystemZTargetLowering::joinRegisterPartsIntoValue(
return SDValue();
}
+// F32Val holds a f16 value in f32, return it as an f16 (In-arg). The
+// CopyFromReg was made into an f32 as required as FP32 registers are used
+// for arguments, now co
@@ -711,6 +711,13 @@ SystemZTargetLowering::SystemZTargetLowering(const
TargetMachine &TM,
setOperationAction(ISD::BITCAST, MVT::f32, Custom);
}
+ // Expand FP16 <=> FP32 conversions to libcalls and handle FP16 loads and
+ // stores in GPRs.
+ setOperationAction(ISD:
@@ -1597,6 +1618,15 @@ bool SystemZTargetLowering::splitValueIntoRegisterParts(
return true;
}
+ // Convert f16 to f32 (Out-arg).
+ if (PartVT == MVT::f16) {
+assert(NumParts == 1 && "");
+SDValue I16Val = DAG.getBitcast(MVT::i16, Val);
+SDValue I32Val = DA
https://github.com/DavidSpickett updated
https://github.com/llvm/llvm-project/pull/113660
>From 37886ec83bf246fb366ba2e1f14fa011891073df Mon Sep 17 00:00:00 2001
From: David Spickett
Date: Wed, 23 Oct 2024 11:39:15 +0100
Subject: [PATCH 1/3] [ci] New script to generate test reports as Buildkite
JonPsson1 wrote:
It would be great if this new method also called TargetLibraryInfo and set the
extension attributes for any integer <=32 bits... Or are you maybe waiting with
that as a separate patch?
https://github.com/llvm/llvm-project/pull/113506
___
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building
`clang,llvm` at step 10 "Add check check-offload".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/73/builds/7555
Here is
JonPsson1 wrote:
> I looked to see how hard it would be to lower the clang type... seems like
> it's not hard. Pushed #113506. Let me know what you think.
>
> If there's some complication I'm not seeing, I think your suggested API in
> the current version of this patch makes sense... but using
@@ -0,0 +1,201 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
UTC_ARGS: --version 5
+; RUN: llc < %s -mtriple=s390x-linux-gnu -mcpu=z16 | FileCheck %s
+;
+; Tests for 16-bit floating point (half).
+
+; Incoming half arguments added together and
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Jan Voung (jvoung)
Changes
... in the unchecked optional access model.
---
Full diff: https://github.com/llvm/llvm-project/pull/113698.diff
2 Files Affected:
- (modified)
clang/lib/Analysis/FlowSensitive/Models/UncheckedOptionalAccess
https://github.com/jvoung created
https://github.com/llvm/llvm-project/pull/113698
... in the unchecked optional access model.
>From 8b955ead1e7445a7226f51078ba2d05e52f15c23 Mon Sep 17 00:00:00 2001
From: Jan Voung
Date: Fri, 25 Oct 2024 14:56:49 +
Subject: [PATCH] [clang][dataflow] Don't
llvmbot wrote:
@llvm/pr-subscribers-clang-analysis
Author: Jan Voung (jvoung)
Changes
... in the unchecked optional access model.
---
Full diff: https://github.com/llvm/llvm-project/pull/113698.diff
2 Files Affected:
- (modified)
clang/lib/Analysis/FlowSensitive/Models/UncheckedOptio
@@ -968,21 +968,41 @@ struct BinaryOp {};
fir::FirOpBuilder &builder,
\
const Op &, hlfir::Entity lhs,
\
hlfir::Entity rhs) {
@@ -400,6 +400,69 @@ constexpr TypeBuilderFunc getModel() {
return fir::ReferenceType::get(f(context));
};
}
+template <>
+constexpr TypeBuilderFunc getModel() {
+ return getModel();
klausler wrote:
I did try marking all of these explicitly unsigned whe
Author: Owen Pan
Date: 2024-10-25T19:29:21-07:00
New Revision: 801f3a5400ca2fbcfdeb73fd744e8cce0cebc722
URL:
https://github.com/llvm/llvm-project/commit/801f3a5400ca2fbcfdeb73fd744e8cce0cebc722
DIFF:
https://github.com/llvm/llvm-project/commit/801f3a5400ca2fbcfdeb73fd744e8cce0cebc722.diff
LOG:
@@ -703,6 +715,39 @@ SDValue BPFTargetLowering::LowerSELECT_CC(SDValue Op,
SelectionDAG &DAG) const {
return DAG.getNode(BPFISD::SELECT_CC, DL, VTs, Ops);
}
+SDValue BPFTargetLowering::LowerATOMIC_LOAD(SDValue Op,
+SelectionDAG &D
https://github.com/jhuber6 ready_for_review
https://github.com/llvm/llvm-project/pull/113715
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
MatzeB wrote:
> This idea here makes sense, I guess, but I'm a little worried about
> unexpected side-effects... not sure how reliably the backend handles commuted
> masks, and I don't think we have any testing infrastructure that would catch
> that sort of issue.
Was wondering about this too
https://github.com/jhuber6 closed
https://github.com/llvm/llvm-project/pull/113613
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,9 @@
+// RUN: %clang_cc1 -triple riscv64-linux-unknown -target-feature +zimop
-emit-llvm -o - %s -fcf-protection=return | FileCheck
-check-prefix=NOTIGNORELISTED %s
+// RUN: %clang_cc1 -triple riscv64-linux-unknown -target-feature +zimop
-emit-llvm -o - %s | FileChec
llvmbot wrote:
@llvm/pr-subscribers-clang-modules
Author: Jan Svoboda (jansvoboda11)
Changes
I noticed that some PCM files contain `HeaderFileInfo` for headers only
included in a dependent PCM file, which is wasteful.
This patch changes the logic to only write headers that are included l
https://github.com/cjappl updated
https://github.com/llvm/llvm-project/pull/112727
>From 1bdbc3baf8399c4571429cff727bfa9bb260e400 Mon Sep 17 00:00:00 2001
From: Chris Apple
Date: Thu, 17 Oct 2024 08:20:08 -0700
Subject: [PATCH 1/5] [rtsan][NFC] Documentation of suppression flag
---
clang/docs
@@ -51,14 +51,15 @@ DefaultTemplateArgumentContainsUnexpandedPack(const
TemplateParam &P) {
P.getDefaultArgument().getArgument().containsUnexpandedParameterPack();
}
-TemplateParameterList::TemplateParameterList(const ASTContext& C,
+TemplateParameterList::TemplateP
@@ -194,12 +198,43 @@ Some issues with flags can be debugged using the
``verbosity=$NUM`` flag:
misspelled_flag
...
-Disabling
--
+Disabling and suppressing
+-
-In some circumstances, you may want to suppress error reporting in a specif
@@ -703,6 +715,39 @@ SDValue BPFTargetLowering::LowerSELECT_CC(SDValue Op,
SelectionDAG &DAG) const {
return DAG.getNode(BPFISD::SELECT_CC, DL, VTs, Ops);
}
+SDValue BPFTargetLowering::LowerATOMIC_LOAD(SDValue Op,
+SelectionDAG &D
https://github.com/AlexVlx updated
https://github.com/llvm/llvm-project/pull/113509
>From 4a18bbc256051f30805620f65a4db037ea2fe96c Mon Sep 17 00:00:00 2001
From: Alex Voicu
Date: Thu, 24 Oct 2024 01:14:28 +0100
Subject: [PATCH 1/3] Add support for mixing AMDGCNSPIRV & concrete
`offload-arch`s.
https://github.com/jhuber6 updated
https://github.com/llvm/llvm-project/pull/110179
>From 014742418463fffa0b2d097fe668f02558addcc9 Mon Sep 17 00:00:00 2001
From: Joseph Huber
Date: Thu, 26 Sep 2024 16:47:14 -0500
Subject: [PATCH 1/5] [Clang] Implement resource directory headers for common
GPU
@@ -703,6 +715,39 @@ SDValue BPFTargetLowering::LowerSELECT_CC(SDValue Op,
SelectionDAG &DAG) const {
return DAG.getNode(BPFISD::SELECT_CC, DL, VTs, Ops);
}
+SDValue BPFTargetLowering::LowerATOMIC_LOAD(SDValue Op,
+SelectionDAG &D
@@ -330,3 +330,41 @@ void no_crash() {
}
} // namespace crash
+
+namespace array_subscript_initializer {
+struct S {
+ int x;
+};
+
+void no_crash() {
+ S arr[][2] = {{1, 2}};
+
+ const auto [a, b] = arr[0]; // no-crash
isuckatcs wrote:
@steakhal `// no-cr
@@ -0,0 +1,76 @@
+//===-- gpuintrin.h - Generic GPU intrinsic functions
-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apa
@@ -0,0 +1,9 @@
+// RUN: %clang_cc1 -triple riscv64-linux-unknown -target-feature +zimop
-emit-llvm -o - %s -fcf-protection=return | FileCheck
-check-prefix=NOTIGNORELISTED %s
+// RUN: %clang_cc1 -triple riscv64-linux-unknown -target-feature +zimop
-emit-llvm -o - %s | FileChec
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Jan Svoboda (jansvoboda11)
Changes
I noticed that some PCM files contain `HeaderFileInfo` for headers only
included in a dependent PCM file, which is wasteful.
This patch changes the logic to only write headers that are included locally.
https://github.com/jansvoboda11 created
https://github.com/llvm/llvm-project/pull/113718
I noticed that some PCM files contain `HeaderFileInfo` for headers only
included in a dependent PCM file, which is wasteful.
This patch changes the logic to only write headers that are included locally.
T
https://github.com/bob80905 created
https://github.com/llvm/llvm-project/pull/113730
This PR implements a new type trait as a builtin,
`__builtin_hlsl_is_line_vector_layout_compatible`
This type traits verifies that the given input type is suitable as a typed
resource element type.
It checks t
https://github.com/bob80905 updated
https://github.com/llvm/llvm-project/pull/113730
>From a915def0c7cb69d8c910c697aa610fa37278d032 Mon Sep 17 00:00:00 2001
From: Joshua Batista
Date: Fri, 25 Oct 2024 12:33:05 -0700
Subject: [PATCH] add type trait
---
.../clang/AST/CXXRecordDeclDefinitionBits
Author: Jan Svoboda
Date: 2024-10-25T12:40:59-07:00
New Revision: 75252e29ea6a0959f3c1670e641a03fc18fc65fa
URL:
https://github.com/llvm/llvm-project/commit/75252e29ea6a0959f3c1670e641a03fc18fc65fa
DIFF:
https://github.com/llvm/llvm-project/commit/75252e29ea6a0959f3c1670e641a03fc18fc65fa.diff
L
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 e724226da753f10fd36fbb0ea392f04ab0fdbdab
8d0039a56aa5152e5c5d8fa6e5f3e9eb4fc00eeb --e
jansvoboda11 wrote:
I just pushed a fix in 75252e2.
https://github.com/llvm/llvm-project/pull/113614
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jplehr wrote:
Hi,
This broke our OpenMP / Offload bots. It would be great if that can be easily
fixed or reverted if more time is required to inspect the issue.
Thanks!
https://github.com/llvm/llvm-project/pull/113614
___
cfe-commits mailing list
cfe-
jansvoboda11 wrote:
Already fixed in 75252e29ea6a0959f3c1670e641a03fc18fc65fa.
https://github.com/llvm/llvm-project/pull/113728
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/112081
>From 67c41612085489a2a17eec49f98dbfa0e5bb97cf Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Sat, 12 Oct 2024 08:27:51 +0300
Subject: [PATCH 1/4] [Clang] fix range calculation for conditionals with throw
jansvoboda11 wrote:
This PR did bump `NUM_PREDEF_TYPE_IDS`, but after the pre-merge tests
succeeded, #97277 that also bumps `NUM_PREDEF_TYPE_IDS ` landed in `main`.
https://github.com/llvm/llvm-project/pull/113614
___
cfe-commits mailing list
cfe-comm
https://github.com/cmc-rep created
https://github.com/llvm/llvm-project/pull/113728
Fix assertion problem
>From 1a67accc27c4bf69e91548cf552cbd69566cb42f Mon Sep 17 00:00:00 2001
From: gangc
Date: Fri, 25 Oct 2024 11:53:34 -0700
Subject: [PATCH] [CLANG] bump NUM_PREDEF_TYPE_IDS
Fix assertion p
https://github.com/abhina-sree approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/100142
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Chris Apple
Date: 2024-10-25T14:21:32-07:00
New Revision: a93c952bab3569c84ae0f9619533f7d7c2477a41
URL:
https://github.com/llvm/llvm-project/commit/a93c952bab3569c84ae0f9619533f7d7c2477a41
DIFF:
https://github.com/llvm/llvm-project/commit/a93c952bab3569c84ae0f9619533f7d7c2477a41.diff
L
@@ -31,16 +44,118 @@ typedef hipError_t (*hipGetDeviceCount_t)(int *);
typedef hipError_t (*hipDeviceGet_t)(int *, int);
typedef hipError_t (*hipGetDeviceProperties_t)(hipDeviceProp_t *, int);
-int printGPUsByHIP() {
+extern cl::opt Verbose;
+
#ifdef _WIN32
- constexpr const
@@ -31,16 +44,118 @@ typedef hipError_t (*hipGetDeviceCount_t)(int *);
typedef hipError_t (*hipDeviceGet_t)(int *, int);
typedef hipError_t (*hipGetDeviceProperties_t)(hipDeviceProp_t *, int);
-int printGPUsByHIP() {
+extern cl::opt Verbose;
+
#ifdef _WIN32
- constexpr const
@@ -31,16 +44,118 @@ typedef hipError_t (*hipGetDeviceCount_t)(int *);
typedef hipError_t (*hipDeviceGet_t)(int *, int);
typedef hipError_t (*hipGetDeviceProperties_t)(hipDeviceProp_t *, int);
-int printGPUsByHIP() {
+extern cl::opt Verbose;
+
#ifdef _WIN32
- constexpr const
https://github.com/cjappl closed
https://github.com/llvm/llvm-project/pull/112727
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -88,6 +88,7 @@ static bool DeprecatedDriverCommand;
static ResourceDirRecipeKind ResourceDirRecipe;
static bool Verbose;
static bool PrintTiming;
+static bool NoPrintTimingHeader;
benlangmuir wrote:
Nit: even if the command-line argument is "-no" I would ph
https://github.com/efriedma-quic approved this pull request.
https://github.com/llvm/llvm-project/pull/112747
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vvd170501 updated
https://github.com/llvm/llvm-project/pull/113612
>From 96662cb7f681e7158c05a0190894de70eee03d67 Mon Sep 17 00:00:00 2001
From: Vadim Dudkin
Date: Thu, 24 Oct 2024 23:18:52 +0300
Subject: [PATCH 1/5] Update std symbol mapping to v20230810; Move assertion to
https://github.com/spall updated
https://github.com/llvm/llvm-project/pull/113189
>From 12cac48dcc10ef9c5fccba2c22911f420298b98b Mon Sep 17 00:00:00 2001
From: Sarah Spall
Date: Wed, 16 Oct 2024 19:00:08 +
Subject: [PATCH 1/4] implement countbits correctly
---
clang/lib/Headers/hlsl/hlsl_
llvmbot wrote:
@llvm/pr-subscribers-backend-directx
@llvm/pr-subscribers-llvm-ir
Author: Finn Plummer (inbelic)
Changes
- create a clang built-in in Builtins.td
- link dot4add_i8packed in hlsl_intrinsics.h
- add lowering to spirv backend through expansion of operation as OPSDot
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Finn Plummer (inbelic)
Changes
- create a clang built-in in Builtins.td
- link dot4add_i8packed in hlsl_intrinsics.h
- add lowering to spirv backend through expansion of operation as OPSDot is
missing up to SPIRV 1.6 in
llvmbot wrote:
@llvm/pr-subscribers-backend-spir-v
Author: Finn Plummer (inbelic)
Changes
- create a clang built-in in Builtins.td
- link dot4add_i8packed in hlsl_intrinsics.h
- add lowering to spirv backend through expansion of operation as OPSDot is
missing up to SPIRV 1.6 i
llvmbot wrote:
@llvm/pr-subscribers-hlsl
Author: Finn Plummer (inbelic)
Changes
- create a clang built-in in Builtins.td
- link dot4add_i8packed in hlsl_intrinsics.h
- add lowering to spirv backend through expansion of operation as OPSDot is
missing up to SPIRV 1.6 in SPIRVIns
@@ -1,101 +1,230 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
UTC_ARGS: --version 5
efriedma-quic wrote:
I think it makes sense to leave this test as-is... it's serving as an
end-to-end test that the given C construct is a n
@@ -1,5 +1,6 @@
-// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -O3
-triple=x86_64-apple-darwin -target-feature +avx -emit-llvm -o - | FileCheck %s
-// RUN: %clang_cc1 -flax-vector-conversions=none -ffreestanding %s -O3
-triple=i386-apple-darwin -target-featu
sunfishcode wrote:
Thanks!
https://github.com/llvm/llvm-project/pull/112049
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Dan Gohman
Date: 2024-10-25T13:52:51-07:00
New Revision: 1bc2cd98c58a1059170dc38697c7a29a8e21160b
URL:
https://github.com/llvm/llvm-project/commit/1bc2cd98c58a1059170dc38697c7a29a8e21160b
DIFF:
https://github.com/llvm/llvm-project/commit/1bc2cd98c58a1059170dc38697c7a29a8e21160b.diff
LO
https://github.com/sunfishcode closed
https://github.com/llvm/llvm-project/pull/112049
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -8714,6 +8714,31 @@ void Sema::CheckVariableDeclarationType(VarDecl *NewVD) {
}
}
+ // zero sized static arrays are not allowed in HIP device functions
+ if (LangOpts.CUDAIsDevice && LangOpts.HIP) {
+if (FunctionDecl *FD = getCurFunctionDecl();
+FD &&
+
github-actions[bot] wrote:
:warning: Python code formatter, darker found issues in your code. :warning:
You can test this locally with the following command:
``bash
darker --check --diff -r
95e5a999ab8f2a8f163899c6ab445baf901c3c96...00022af56794b68e3f1adb2e0c3ffb87eae71571
clang
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Aiden Grossman (boomanaiden154)
Changes
This patch changes up the CMake configuration so that
ClangFormatStyleOptions.rst has the format style options section generated by
the dump_format_style.py python script during the build rather tha
https://github.com/cmc-rep edited
https://github.com/llvm/llvm-project/pull/113738
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vvd170501 updated
https://github.com/llvm/llvm-project/pull/113612
>From 96662cb7f681e7158c05a0190894de70eee03d67 Mon Sep 17 00:00:00 2001
From: Vadim Dudkin
Date: Thu, 24 Oct 2024 23:18:52 +0300
Subject: [PATCH 1/7] Update std symbol mapping to v20230810; Move assertion to
nicovank wrote:
I fixed a similar issue in 0aaac4fe194ae2249e1a01f9d6f5eac0d75c5bb2. There's an
argument to be made whether this should be in the matchers (`isPOD`,
`isAggregate` like here) versus an `hasDefinition` call in the parent before
calling those matchers. I am slightly leaning toward
Author: Jan Svoboda
Date: 2024-10-25T15:00:07-07:00
New Revision: 590b1e31546572b62040066f90a35893a1b64f29
URL:
https://github.com/llvm/llvm-project/commit/590b1e31546572b62040066f90a35893a1b64f29
DIFF:
https://github.com/llvm/llvm-project/commit/590b1e31546572b62040066f90a35893a1b64f29.diff
L
https://github.com/cmc-rep closed
https://github.com/llvm/llvm-project/pull/113738
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -34,6 +34,7 @@ def deprecated_driver_command :
F<"deprecated-driver-command", "use a single dri
defm resource_dir_recipe : Eq<"resource-dir-recipe", "How to produce missing
'-resource-dir' argument">;
def print_timing : F<"print-timing", "Print timing information">;
+def
bwendling wrote:
I think the calculation in
https://github.com/llvm/llvm-project/pull/112636#issuecomment-2436559387 is
correct. It's probably worthwhile to perform some analysis to see if using that
to calculate the new size results in allocation size changes in the kernel. If
not, then perh
@@ -648,6 +648,17 @@ void amdgpu::Linker::ConstructJob(Compilation &C, const
JobAction &JA,
Args.MakeArgString("-plugin-opt=-mattr=" + llvm::join(Features, ",")));
}
+ if (Args.hasArg(options::OPT_stdlib))
+CmdArgs.append({"-lc", "-lm"});
+ if (Args.hasArg(opt
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112035
>From 0c5970fd26c5d36a1eec986396d2a7192d5feb29 Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 1/8] [WebAssembly] Define a new "Trail1" CPU
First, define some
jroelofs wrote:
oh, right. nvm
https://github.com/llvm/llvm-project/pull/108658
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Gang Chen
Date: 2024-10-25T15:52:31-07:00
New Revision: 242ccd2eb1069c817d44545010dfe185a4c3d0b1
URL:
https://github.com/llvm/llvm-project/commit/242ccd2eb1069c817d44545010dfe185a4c3d0b1
DIFF:
https://github.com/llvm/llvm-project/commit/242ccd2eb1069c817d44545010dfe185a4c3d0b1.diff
LOG
@@ -152,6 +115,44 @@ bool SemaAMDGPU::CheckAMDGCNBuiltinFunctionCall(unsigned
BuiltinID,
return false;
}
+bool SemaAMDGPU::CheckMovDPPFunctionCall(CallExpr *TheCall, unsigned NumArgs,
rampitec wrote:
Done
https://github.com/llvm/llvm-project/pull/113610
_
https://github.com/vvd170501 updated
https://github.com/llvm/llvm-project/pull/113612
>From 96662cb7f681e7158c05a0190894de70eee03d67 Mon Sep 17 00:00:00 2001
From: Vadim Dudkin
Date: Thu, 24 Oct 2024 23:18:52 +0300
Subject: [PATCH 1/6] Update std symbol mapping to v20230810; Move assertion to
llvmbot wrote:
@llvm/pr-subscribers-hlsl
Author: Joshua Batista (bob80905)
Changes
This PR implements a new type trait as a builtin,
`__builtin_hlsl_is_line_vector_layout_compatible`
This type traits verifies that the given input type is suitable as a typed
resource element type.
It chec
@@ -31,16 +44,118 @@ typedef hipError_t (*hipGetDeviceCount_t)(int *);
typedef hipError_t (*hipDeviceGet_t)(int *, int);
typedef hipError_t (*hipGetDeviceProperties_t)(hipDeviceProp_t *, int);
-int printGPUsByHIP() {
+extern cl::opt Verbose;
+
#ifdef _WIN32
- constexpr const
https://github.com/inbelic ready_for_review
https://github.com/llvm/llvm-project/pull/113623
___
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/113610
>From edda0e600abeabff4d44e8b0b897104efacc8f98 Mon Sep 17 00:00:00 2001
From: Stanislav Mekhanoshin
Date: Thu, 24 Oct 2024 11:31:52 -0700
Subject: [PATCH 1/2] [AMDGPU] Allow overload of __builtin_amdgcn_mov_dpp
301 - 400 of 565 matches
Mail list logo