https://github.com/bob80905 edited
https://github.com/llvm/llvm-project/pull/115971
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bob80905 updated
https://github.com/llvm/llvm-project/pull/115971
>From 7413ceb21a6e0ac9212ef6317763ee0eff559612 Mon Sep 17 00:00:00 2001
From: Joshua Batista
Date: Tue, 12 Nov 2024 16:44:00 -0800
Subject: [PATCH 01/12] print struct body within target ext ty context
---
...
@@ -0,0 +1,21 @@
+; RUN: llc -verify-machineinstrs -O0 -mtriple=spirv-unknown-unknown %s -o - |
FileCheck %s
+; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o -
-filetype=obj | spirv-val %}
+
+; CHECK-DAG: %[[#bool:]] = OpTypeBool
+; CHECK-DAG: %[[#uint:]]
@@ -524,9 +524,7 @@ define i64 @utest_f64i64(double %x) {
; CHECK-NEXT:local.get 0
; CHECK-NEXT:call __fixunsdfti
; CHECK-NEXT:local.get 1
-; CHECK-NEXT:i32.const 8
-; CHECK-NEXT:i32.add
-; CHECK-NEXT:i64.load 0
+; CHECK-NEXT:i64.load 8
-
https://github.com/bogner approved this pull request.
https://github.com/llvm/llvm-project/pull/115971
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/joaosaffran edited
https://github.com/llvm/llvm-project/pull/119041
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bogner approved this pull request.
https://github.com/llvm/llvm-project/pull/118536
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/inbelic commented:
We also decided to use a different naming convention (`reduce` instead of
`active`) for the intrinsics since my pr, following
[here](https://github.com/llvm/wg-hlsl/pull/99)
https://github.com/llvm/llvm-project/pull/118580
___
https://github.com/inbelic edited
https://github.com/llvm/llvm-project/pull/118580
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1843,6 +1843,23 @@ static bool CheckAnyScalarOrVector(Sema *S, CallExpr
*TheCall,
return false;
}
+static bool CheckNotBoolType(Sema *S, CallExpr *TheCall, unsigned ArgIndex) {
inbelic wrote:
Just forwarding this review comment here:
https://github.co
https://github.com/pawosm-arm approved this pull request.
Gosh, sorry for the confusion it caused. LGTM.
https://github.com/llvm/llvm-project/pull/119249
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/li
dwblaikie wrote:
No idea if this sufficiently overlaps with, or is orthogonal to the following,
but:
Currently we don't scope function-local types into the appropriate scope inside
a function. It seems like associating types with their declaration may make
this harder to address - how would w
dyung wrote:
> > I've pulled out the entire tools\clang\lib\Basic directory from a failing
> > build, what would you like me to do with it?
>
> Can you put it in a zip somewhere? It would be interesting to check if
> there's some major difference compared to using a different MSVC version.
I'
https://github.com/joaosaffran edited
https://github.com/llvm/llvm-project/pull/119041
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bob80905 updated
https://github.com/llvm/llvm-project/pull/115971
>From 7413ceb21a6e0ac9212ef6317763ee0eff559612 Mon Sep 17 00:00:00 2001
From: Joshua Batista
Date: Tue, 12 Nov 2024 16:44:00 -0800
Subject: [PATCH 01/13] print struct body within target ext ty context
---
...
https://github.com/joaosaffran updated
https://github.com/llvm/llvm-project/pull/119041
>From f6a7af10669d71251c2235bef5b2625d88fa1d90 Mon Sep 17 00:00:00 2001
From: Joao Saffran
Date: Fri, 6 Dec 2024 01:27:24 +
Subject: [PATCH 1/5] Apply DXC fix and add tests
---
clang/lib/CodeGen/CGDebu
https://github.com/joaosaffran ready_for_review
https://github.com/llvm/llvm-project/pull/119041
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-debuginfo
@llvm/pr-subscribers-clang-codegen
Author: None (joaosaffran)
Changes
This PR fix the debug infor generation for RWBuffer types.
- This implements the [same fix as
DXC](https://github.com/microsoft/DirectXShaderCompiler/pull/6296).
- Adds the
ckandeler wrote:
> In the expression-statement case, the expression isn't moving to a new
> location, and the variable name is only mentioned in
> one place. In essence, the refactoring amounts to prepending `auto
> placeholder = ` to the expression. Given that you're
> going to be (very like
Alejandro =?utf-8?q?Álvarez_Ayllón?Message-ID:
In-Reply-To:
https://github.com/erichkeane approved this pull request.
This seems like a reasonable solution for this, though I'd very much like to
see the compile-time perf results for this before committing.
@nikic , is this something we can d
https://github.com/Discookie edited
https://github.com/llvm/llvm-project/pull/117165
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -43,7 +43,10 @@ class UnsafeFunctionsCheck : public ClangTidyCheck {
private:
const std::vector CustomFunctions;
- // If true, the default set of functions are reported.
+ /// If true, the fully qualified name of custom functions will be shown in a
+ /// note tag.
+ c
https://github.com/16bit-ykiko updated
https://github.com/llvm/llvm-project/pull/119212
>From 64dcfdfd0a87d6ca5bfcfe5f5a8e5204c24a26d2 Mon Sep 17 00:00:00 2001
From: ykiko
Date: Mon, 9 Dec 2024 21:56:58 +0800
Subject: [PATCH 1/2] Fix call location of `DefaultArgExpr`.
---
clang/lib/Sema/SemaE
https://github.com/cor3ntin edited
https://github.com/llvm/llvm-project/pull/119212
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin approved this pull request.
LGTM modulo nit
https://github.com/llvm/llvm-project/pull/119212
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/momchil-velikov edited
https://github.com/llvm/llvm-project/pull/118125
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2024-12-09T16:17:39+01:00
New Revision: d17e51f306cb3522af7587bf1f3a2f4956ab3a19
URL:
https://github.com/llvm/llvm-project/commit/d17e51f306cb3522af7587bf1f3a2f4956ab3a19
DIFF:
https://github.com/llvm/llvm-project/commit/d17e51f306cb3522af7587bf1f3a2f4956ab3a19.diff
L
https://github.com/16bit-ykiko updated
https://github.com/llvm/llvm-project/pull/119212
>From 64dcfdfd0a87d6ca5bfcfe5f5a8e5204c24a26d2 Mon Sep 17 00:00:00 2001
From: ykiko
Date: Mon, 9 Dec 2024 21:56:58 +0800
Subject: [PATCH 1/3] Fix call location of `DefaultArgExpr`.
---
clang/lib/Sema/SemaE
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/119208
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jroelofs updated
https://github.com/llvm/llvm-project/pull/118581
>From 46775c380244e47ddd9a3188651f37c3a3b33d23 Mon Sep 17 00:00:00 2001
From: Jon Roelofs
Date: Tue, 3 Dec 2024 18:04:49 -0800
Subject: [PATCH 1/6] Add processor aliases back to -print-supported-cpus and
-mcpu
https://github.com/16bit-ykiko updated
https://github.com/llvm/llvm-project/pull/119212
>From 64dcfdfd0a87d6ca5bfcfe5f5a8e5204c24a26d2 Mon Sep 17 00:00:00 2001
From: ykiko
Date: Mon, 9 Dec 2024 21:56:58 +0800
Subject: [PATCH 1/4] Fix call location of `DefaultArgExpr`.
---
clang/lib/Sema/SemaE
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/119209
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2024-12-09T16:57:49+01:00
New Revision: 6168739f00616f34354e0b34852398aeced98f53
URL:
https://github.com/llvm/llvm-project/commit/6168739f00616f34354e0b34852398aeced98f53
DIFF:
https://github.com/llvm/llvm-project/commit/6168739f00616f34354e0b34852398aeced98f53.diff
L
danilaml wrote:
@nikic also, another situation the current impl doesn't seem to account for is
IR like
```llvm
bb1:
%p1 = load dereferenceable(N)
...
bb2:
%p2 = load dereferenceable(M)
...
common:
%p = phi ptr [%p1, %bb1], [%p2, %bb2]
%res = load i32 %p ; <-- dereferenceable(min(N,M)) at
@@ -32,3 +36,39 @@ vint32m1_t test_no_vector_cc_attr(vint32m1_t input, int32_t
*base, size_t vl) {
__riscv_vse32_v_i32m1(base, val, vl);
return ret;
}
+
+// CHECK-LLVM: define dso_local void @test_vls_no_cc(i128 noundef %arg.coerce)
+// CHECK-LLVM-ABI-VLEN: define dso_loca
Author: Jon Roelofs
Date: 2024-12-09T09:18:31-08:00
New Revision: b6c22a4e58f9dd38644368dd5d5de237703a360d
URL:
https://github.com/llvm/llvm-project/commit/b6c22a4e58f9dd38644368dd5d5de237703a360d
DIFF:
https://github.com/llvm/llvm-project/commit/b6c22a4e58f9dd38644368dd5d5de237703a360d.diff
L
@@ -0,0 +1,179 @@
+//===--- SYCL.cpp - SYCL Tool and ToolChain Implementations -*- 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
@@ -6591,6 +6681,18 @@ const ToolChain &Driver::getOffloadingDeviceToolChain(
HostTC, Args);
break;
}
+case Action::OFK_SYCL:
+ switch (Target.getArch()) {
+ case llvm::Triple::spir:
+ case
https://github.com/tahonermann requested changes to this pull request.
https://github.com/llvm/llvm-project/pull/117268
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ilovepi edited
https://github.com/llvm/llvm-project/pull/112277
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/112277
>From 1dafa521d5a1e10e3f79f63a661b2e14acff5a4a Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Mon, 14 Oct 2024 15:06:38 -0700
Subject: [PATCH 1/5] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?=
=?UTF-
https://github.com/jroelofs closed
https://github.com/llvm/llvm-project/pull/118581
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -473,7 +473,7 @@ class LLVM_LIBRARY_VISIBILITY PS3PPUTargetInfo : public
OSTargetInfo {
this->IntMaxType = TargetInfo::SignedLongLong;
this->Int64Type = TargetInfo::SignedLongLong;
this->SizeType = TargetInfo::UnsignedInt;
-this->resetDataLayout("E-m:e-p:32:
bgra8 wrote:
No reproducer yet. The dependency to `x264` from the tests is several levels
deep ...
https://github.com/llvm/llvm-project/pull/117244
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo
@@ -226,3 +226,26 @@
//
// RUN: HOME=%S/Inputs/config %clang -### --config-user-dir=~ -v 2>&1 |
FileCheck %s --check-prefix=CHECK-TILDE
// CHECK-TILDE: User configuration file directory: {{.*}}/Inputs/config
+
+//--- Fallback to stripping OS versions
+//
+// RUN: touch %t/test
fhahn wrote:
> @fhahn we have identified a bunch of tests at google that fail somewhere in
> the open source library https://code.videolan.org/videolan/x264. The `x264`
> is built with `-fstrict-aliasing`. All tests pass when removing
> `-fstrict-aliasing` or disabling Pointer-TBAA (`-fno-poin
https://github.com/16bit-ykiko updated
https://github.com/llvm/llvm-project/pull/119212
>From 64dcfdfd0a87d6ca5bfcfe5f5a8e5204c24a26d2 Mon Sep 17 00:00:00 2001
From: ykiko
Date: Mon, 9 Dec 2024 21:56:58 +0800
Subject: [PATCH 1/3] Fix call location of `DefaultArgExpr`.
---
clang/lib/Sema/SemaE
@@ -1012,3 +1012,21 @@ int h = Var;
}
+
+namespace GH119129 {
+struct X{
+ constexpr int foo(std::source_location loc =
std::source_location::current()) {
+return loc.line();
+ }
+};
+static_assert(X{}.foo() == __LINE__);
+static_assert(X{}.
+foo() ==__
https://github.com/momchil-velikov updated
https://github.com/llvm/llvm-project/pull/118125
>From cdd86588c639f818909964ab49b9972da6869cb3 Mon Sep 17 00:00:00 2001
From: Momchil Velikov
Date: Thu, 21 Nov 2024 11:21:29 +
Subject: [PATCH 1/3] [AArch64] Implement FP8 SVE intrinsics for widenin
https://github.com/momchil-velikov updated
https://github.com/llvm/llvm-project/pull/118123
>From cdd86588c639f818909964ab49b9972da6869cb3 Mon Sep 17 00:00:00 2001
From: Momchil Velikov
Date: Thu, 21 Nov 2024 11:21:29 +
Subject: [PATCH] [AArch64] Implement FP8 SVE intrinsics for widening
c
https://github.com/momchil-velikov updated
https://github.com/llvm/llvm-project/pull/118124
>From cdd86588c639f818909964ab49b9972da6869cb3 Mon Sep 17 00:00:00 2001
From: Momchil Velikov
Date: Thu, 21 Nov 2024 11:21:29 +
Subject: [PATCH 1/2] [AArch64] Implement FP8 SVE intrinsics for widenin
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/118566
>From 75da343b0bd6e3b0f3219b349f6be4c882947820 Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Wed, 4 Dec 2024 02:24:12 +0200
Subject: [PATCH 1/4] [clang-format] extend clang-format directive with options
t
Alejandro =?utf-8?q?Álvarez_Ayllón?Message-ID:
In-Reply-To:
nikic wrote:
@erichkeane I'm not seeing any significant compile-time impact:
https://llvm-compile-time-tracker.com/compare.php?from=e0ea9fd6dc36f585e364d4e569095ebe063e2573&to=7fb8c423fddd1a81287b54f48da4de1c81566fc1&stat=instructions
https://github.com/momchil-velikov updated
https://github.com/llvm/llvm-project/pull/118125
>From cdd86588c639f818909964ab49b9972da6869cb3 Mon Sep 17 00:00:00 2001
From: Momchil Velikov
Date: Thu, 21 Nov 2024 11:21:29 +
Subject: [PATCH 1/4] [AArch64] Implement FP8 SVE intrinsics for widenin
@@ -105,6 +105,7 @@ include "arm_immcheck_incl.td"
// N: svfloat64_t
// $: svbfloat16_t
// ~: svmfloat8_t
+// !: mfloat8_t (splat to svmfloat8_t)
momchil-velikov wrote:
Done
https://github.com/llvm/llvm-project/pull/118125
@@ -10877,24 +10923,37 @@ class sve_fp8_dot_indexed opc, ZPRRegOp
dst_ty, Operand iop_ty, string m
let DestructiveInstType = DestructiveOther;
let hasSideEffects = 0;
let mayRaiseFPException = 1;
+
+ let mayLoad = 1;
+ let mayStore = 0;
}
// FP8 Widening Dot-Produ
@@ -2447,3 +2447,39 @@ let SVETargetGuard = "sve2,faminmax", SMETargetGuard =
"sme2,faminmax" in {
defm SVAMIN : SInstZPZZ<"svamin", "hfd", "aarch64_sve_famin",
"aarch64_sve_famin_u">;
defm SVAMAX : SInstZPZZ<"svamax", "hfd", "aarch64_sve_famax",
"aarch64_sve_famax_u">;
Author: Oleksandr T.
Date: 2024-12-09T18:47:38+02:00
New Revision: 1094641bc029b7ca6ac9f18c5ff5b028037e1a6f
URL:
https://github.com/llvm/llvm-project/commit/1094641bc029b7ca6ac9f18c5ff5b028037e1a6f
DIFF:
https://github.com/llvm/llvm-project/commit/1094641bc029b7ca6ac9f18c5ff5b028037e1a6f.diff
https://github.com/a-tarasyuk closed
https://github.com/llvm/llvm-project/pull/119153
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/labrinea created
https://github.com/llvm/llvm-project/pull/119231
i8mm -> simd
fp16fml -> simd
frintts -> fp
bf16 -> simd
sme -> fp16
Approved in ACLE as https://github.com/ARM-software/acle/pull/368
>From f6f2fd6aac09a0f2c14545e1fbda9aec7eb2ed46 Mon Sep 17 00:00:00 2001
Fro
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-backend-aarch64
Author: Alexandros Lamprineas (labrinea)
Changes
i8mm -> simd
fp16fml -> simd
frintts -> fp
bf16 -> simd
sme -> fp16
Approved in ACLE as https://github.com/ARM-software/acle/pull/368
---
Patch is 63.25 KiB, t
labrinea wrote:
@sdesmalen-arm the dependencies were agreed internally with @paulwalker-arm.
Let us know if you have any reservations.
https://github.com/llvm/llvm-project/pull/119231
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lis
https://github.com/vitalybuka closed
https://github.com/llvm/llvm-project/pull/119178
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Vitaly Buka
Date: 2024-12-09T08:53:55-08:00
New Revision: d5fe6332c9f25590b9878ad31d6461ea581e0fa5
URL:
https://github.com/llvm/llvm-project/commit/d5fe6332c9f25590b9878ad31d6461ea581e0fa5
DIFF:
https://github.com/llvm/llvm-project/commit/d5fe6332c9f25590b9878ad31d6461ea581e0fa5.diff
L
bgra8 wrote:
@fhahn we have identified a bunch of tests at google that fail somewhere in the
open source library https://code.videolan.org/videolan/x264. The `x264` is
built with `-fstrict-aliasing`. All tests pass when removing
`-fstrict-aliasing` or disabling Pointer-TBAA (`-fno-pointer-tbaa
https://github.com/dtcxzyw approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/119214
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1012,3 +1012,21 @@ int h = Var;
}
+
+namespace GH119129 {
+struct X{
+ constexpr int foo(std::source_location loc =
std::source_location::current()) {
+return loc.line();
+ }
+};
+static_assert(X{}.foo() == __LINE__);
+static_assert(X{}.
+foo() ==__
dyung wrote:
> > Not sure what to do debug this... @zmodem maybe has some idea?
>
> Sorry, I don't have a lot to add. Things look good on my end so far (local
> builds and https://lab.llvm.org/buildbot/#/builders/63 +
> https://lab.llvm.org/buildbot/#/builders/107).
>
> Besides the particular
Alejandro =?utf-8?q?Álvarez_Ayllón?Message-ID:
In-Reply-To:
erichkeane wrote:
> @erichkeane I'm not seeing any significant compile-time impact:
> https://llvm-compile-time-tracker.com/compare.php?from=e0ea9fd6dc36f585e364d4e569095ebe063e2573&to=7fb8c423fddd1a81287b54f48da4de1c81566fc1&stat=ins
GeorgeKA wrote:
Any thoughts about this @frederick-vs-ja ?
> @frederick-vs-ja, were you looking for specific wording for
> source_location()::current().column(), or does this cover it?
https://github.com/llvm/llvm-project/pull/118360
___
cfe-commit
https://github.com/nikic closed https://github.com/llvm/llvm-project/pull/119214
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/momchil-velikov edited
https://github.com/llvm/llvm-project/pull/118126
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/nikic created
https://github.com/llvm/llvm-project/pull/119225
When we have a gep inbounds from the base of an object (e.g. alloca or global),
we know that the index cannot be negative, as this would go out of bounds. As
such, we can infer nuw as well.
The implementation is
@@ -1908,7 +1908,7 @@ void clang::EmitClangDiagDocs(const RecordKeeper
&Records, raw_ostream &OS) {
for (const Record *G : DiagGroups) {
bool IsRemarkGroup = isRemarkGroup(G, DiagsInGroup);
auto &GroupInfo =
-DiagsInGroup[std::string(G->getValueAsString("Grou
llvmbot wrote:
@llvm/pr-subscribers-backend-amdgpu
Author: Nikita Popov (nikic)
Changes
When we have a gep inbounds from the base of an object (e.g. alloca or global),
we know that the index cannot be negative, as this would go out of bounds. As
such, we can infer nuw as well.
The imple
llvmbot wrote:
@llvm/pr-subscribers-llvm-transforms
Author: Nikita Popov (nikic)
Changes
When we have a gep inbounds from the base of an object (e.g. alloca or global),
we know that the index cannot be negative, as this would go out of bounds. As
such, we can infer nuw as well.
The impl
@@ -1908,7 +1908,7 @@ void clang::EmitClangDiagDocs(const RecordKeeper
&Records, raw_ostream &OS) {
for (const Record *G : DiagGroups) {
bool IsRemarkGroup = isRemarkGroup(G, DiagsInGroup);
auto &GroupInfo =
-DiagsInGroup[std::string(G->getValueAsString("Grou
@@ -46,6 +46,9 @@ typedef struct {
/**
* Retrieve the character data associated with the given string.
+ *
+ * The caller shouldn't free the returned string data, and the returned string
+ * data shouldn't be accessed after the \c CXString disposed.
iseki0 wr
cor3ntin wrote:
@EricWF can you give that a look and see if it would help with your current
work?
https://github.com/llvm/llvm-project/pull/105953
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/
@@ -0,0 +1,47 @@
+//===--- UseIntegerSignComparisonCheck.h - clang-tidy ---*- 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: Apa
https://github.com/lenary approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/117612
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Nathan Ridge
Date: 2024-12-09T12:59:01-05:00
New Revision: 73adf26d504ba945251b87d78267e2bbfd34928f
URL:
https://github.com/llvm/llvm-project/commit/73adf26d504ba945251b87d78267e2bbfd34928f
DIFF:
https://github.com/llvm/llvm-project/commit/73adf26d504ba945251b87d78267e2bbfd34928f.diff
@@ -0,0 +1,53 @@
+// RUN: %clang_cl \
+// RUN: --config \
+// RUN: -fdiagnostics-color=auto \
+// RUN: -fno-record-command-line \
+// RUN: -frecord-command-line \
+// RUN: -nodefaultlibs \
+// RUN: -nostdlib
https://github.com/HighCommander4 closed
https://github.com/llvm/llvm-project/pull/119107
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
zmodem wrote:
> I've pulled out the entire tools\clang\lib\Basic directory from a failing
> build, what would you like me to do with it?
Can you put it in a zip somewhere? It would be interesting to check if there's
some major difference compared to using a different MSVC version.
https://git
https://github.com/mikolaj-pirog created
https://github.com/llvm/llvm-project/pull/119238
As in title
From 14ac4e104dd3adeb3c1d59d7c5ce3b0006391ffb Mon Sep 17 00:00:00 2001
From: "Pirog, Mikolaj Maciej"
Date: Mon, 9 Dec 2024 18:59:38 +0100
Subject: [PATCH] Add comments
---
clang/lib/Headers/
https://github.com/fahadnayyar updated
https://github.com/llvm/llvm-project/pull/118938
>From 781bb2a49fed8fa38059cfd23563b02c82f83eb0 Mon Sep 17 00:00:00 2001
From: Fahad Nayyar
Date: Thu, 5 Dec 2024 18:25:49 -0800
Subject: [PATCH] [APINotes] Add SWIFT_RETURNS_(UN)RETAINED support to APINotes
github-actions[bot] wrote:
Thank you for submitting a Pull Request (PR) to the LLVM Project!
This PR will be automatically labeled and the relevant teams will be notified.
If you wish to, you can add reviewers by using the "Reviewers" section on this
page.
If this is not working for you, it
4vtomat wrote:
> Is there discussion somewhere of why you need a command-line flag?
> ABI-modifying flags tend to be dangerous to work with. It's hard to ensure
> that all code is compiled with the same flags, and if the user messes up, the
> compiler silently generates broken code.
Yeah, it'
llvmbot wrote:
@llvm/pr-subscribers-backend-x86
Author: Mikołaj Piróg (mikolaj-pirog)
Changes
As in title
---
Full diff: https://github.com/llvm/llvm-project/pull/119238.diff
1 Files Affected:
- (modified) clang/lib/Headers/avx10_2copyintrin.h (+34)
``diff
diff --git a/clang
https://github.com/erichkeane approved this pull request.
https://github.com/llvm/llvm-project/pull/118420
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -8031,6 +8034,28 @@ static bool handleFunctionTypeAttr(TypeProcessingState
&state, ParsedAttr &attr,
CallingConv CCOld = fn->getCallConv();
Attr *CCAttr = getCCTypeAttr(S.Context, attr);
+ if (attr.getKind() == ParsedAttr::AT_RISCVVLSCC) {
+// If the riscv_abi_vle
Author: Paul Kirth
Date: 2024-12-09T09:26:17-08:00
New Revision: 57545dbbdbafc51d63873800a45cfd48a283d981
URL:
https://github.com/llvm/llvm-project/commit/57545dbbdbafc51d63873800a45cfd48a283d981
DIFF:
https://github.com/llvm/llvm-project/commit/57545dbbdbafc51d63873800a45cfd48a283d981.diff
LO
https://github.com/4vtomat updated
https://github.com/llvm/llvm-project/pull/100346
>From 1c8201daa6925cac510ff8751ffd79a6b95f2315 Mon Sep 17 00:00:00 2001
From: Brandon Wu
Date: Sun, 21 Jul 2024 09:49:11 -0700
Subject: [PATCH 1/4] [RISCV][VLS] Support RISCV VLS calling convention
This patch a
@@ -53,10 +53,8 @@ class OptTable {
public:
/// Entry for a single option instance in the option data table.
struct Info {
-/// A null terminated array of prefix strings to apply to name while
-/// matching.
-ArrayRef Prefixes;
-StringLiteral PrefixedName;
+
@@ -80,15 +78,56 @@ class OptTable {
const char *AliasArgs;
const char *Values;
-StringRef getName() const {
- unsigned PrefixLength = Prefixes.empty() ? 0 : Prefixes[0].size();
- return PrefixedName.drop_front(PrefixLength);
+bool hasNoPrefix() const
@@ -845,13 +845,14 @@ MemoryBufferRef
LinkerDriver::convertResToCOFF(ArrayRef mbs,
// Create OptTable
+#define OPTTABLE_STR_TABLE_CODE
rnk wrote:
Is it feasible to split out all the tool driver updates, like refactor all
these PREFIX definitions into the t
@@ -53,10 +53,8 @@ class OptTable {
public:
/// Entry for a single option instance in the option data table.
struct Info {
-/// A null terminated array of prefix strings to apply to name while
-/// matching.
-ArrayRef Prefixes;
-StringLiteral PrefixedName;
+
@@ -70,6 +70,13 @@ class FileEntryRef {
const FileEntry &getFileEntry() const {
return *getBaseMapEntry().second->V.get();
}
+
+ // This is a non const version of getFileEntry() which is used if the buffer
+ // size needs to be increased due to potential z/OS EBCDIC -
hekota wrote:
LGTM!
https://github.com/llvm/llvm-project/pull/115971
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
201 - 300 of 478 matches
Mail list logo