Author: Pravin Jagtap
Date: 2023-11-09T10:09:22+05:30
New Revision: 1f21e49870feebe6971be4db8d32eee646368cc4
URL:
https://github.com/llvm/llvm-project/commit/1f21e49870feebe6971be4db8d32eee646368cc4
DIFF:
https://github.com/llvm/llvm-project/commit/1f21e49870feebe6971be4db8d32eee646368cc4.diff
Author: Saiyedul Islam
Date: 2023-11-09T10:34:35+05:30
New Revision: 21861991e760e7e845dc1be5b804c950543d699a
URL:
https://github.com/llvm/llvm-project/commit/21861991e760e7e845dc1be5b804c950543d699a
DIFF:
https://github.com/llvm/llvm-project/commit/21861991e760e7e845dc1be5b804c950543d699a.diff
https://github.com/ZijunZhaoCCK created
https://github.com/llvm/llvm-project/pull/71771
None
>From 06c4cf02dfb4b20c8349c5f3c7209276f6d56edf Mon Sep 17 00:00:00 2001
From: zijunzhao
Date: Thu, 9 Nov 2023 02:21:46 +
Subject: [PATCH] Fix clang to recognize new C23 modifiers %w and %wf when
p
@@ -85,4 +86,31 @@ void z_test(void *p) {
scanf("%Z", p); // expected-warning{{invalid conversion specifier 'Z'}}
}
+void w_int_test(void) {
ZijunZhaoCCK wrote:
1. I can't find any tests to verify the print result is correct. Do I miss
something?
2. One mo
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 21861991e760e7e845dc1be5b804c950543d699a
06c4cf02dfb4b20c8349c5f3c7209276f6d56edf --
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 21861991e760e7e845dc1be5b804c950543d699a
6fa533ecaef0f75c87554fb646b0e5dca8ea7255 --
Author: Chuanqi Xu
Date: 2023-11-09T14:42:07+08:00
New Revision: b7b5907b56e98719b1dba8364ebcfb264fc09bfe
URL:
https://github.com/llvm/llvm-project/commit/b7b5907b56e98719b1dba8364ebcfb264fc09bfe
DIFF:
https://github.com/llvm/llvm-project/commit/b7b5907b56e98719b1dba8364ebcfb264fc09bfe.diff
LO
Author: Timm Baeder
Date: 2023-11-09T07:46:55+01:00
New Revision: 8feb0830cb5c731a34dc74ff6f0c1c4702bc4734
URL:
https://github.com/llvm/llvm-project/commit/8feb0830cb5c731a34dc74ff6f0c1c4702bc4734
DIFF:
https://github.com/llvm/llvm-project/commit/8feb0830cb5c731a34dc74ff6f0c1c4702bc4734.diff
L
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Michael Buch (Michael137)
Changes
This patch relands https://github.com/llvm/llvm-project/pull/70639
It was reverted because under certain conditions we triggered an assertion
in `DIBuilder`. Specifically, in the original patch we called
Author: martinboehme
Date: 2023-11-09T08:39:06+01:00
New Revision: ae743705113d5ec818517aefa94e704a1257ec95
URL:
https://github.com/llvm/llvm-project/commit/ae743705113d5ec818517aefa94e704a1257ec95
DIFF:
https://github.com/llvm/llvm-project/commit/ae743705113d5ec818517aefa94e704a1257ec95.diff
https://github.com/martinboehme closed
https://github.com/llvm/llvm-project/pull/71654
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mikaelholmen wrote:
I think this patch causes miscompiles. Reproduce with
```opt bbi-88690.ll -passes=instcombine -S -o -```
So with this patch instcombine turns
```
@v_936 = global i16 -3276, align 1
@v_937 = global i24 0, align 1
define i16 @main() {
entry:
%0 = load i16, ptr @v_936, align 1
dyung wrote:
We also have a couple of internal tests that seem to be failing after this
commit. Consider the following code:
```c++
char print_tmp[1];
void print(char *, void *data, unsigned size) {
unsigned char *bytes = (unsigned char *)data;
for (unsigned i = 0; i != size; ++i)
sprint
=?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?=
Message-ID:
In-Reply-To:
https://github.com/DonatNagyE approved this pull request.
Thanks for adding the missing TC!
https://github.com/llvm/llvm-project/pull/71373
___
cfe-commits mailing list
cfe-commits@lists.llv
mikaelholmen wrote:
> Should be fixed by
> [1b1c817](https://github.com/llvm/llvm-project/commit/1b1c81772fe50a1cb2b2adf8d8cf442c0b73602f).
I've confirmed that the instances of the problem that we saw are fixed by
1b1c81772fe50a.
Thanks!
https://github.com/llvm/llvm-project/pull/71534
___
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Matthew Devereau (MDevereau)
Changes
Adds the builtins:
void svldr_zt(uint64_t zt, const void *rn)
void svstr_zt(uint64_t zt, void *rn)
And the intrinsics:
call void @llvm.aarch64.sme.ldr.zt(i32, ptr)
tail call void @llvm.aarch64.sme.str.z
llvmbot wrote:
@llvm/pr-subscribers-llvm-ir
Author: Matthew Devereau (MDevereau)
Changes
Adds the builtins:
void svldr_zt(uint64_t zt, const void *rn)
void svstr_zt(uint64_t zt, void *rn)
And the intrinsics:
call void @llvm.aarch64.sme.ldr.zt(i32, ptr)
tail call void @llvm.aarch64.sme.str
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 18bb9725619569687bec2c013768511105266a5e
9846bc9efd79e6e3c2662ea42367c102df88799d --
https://github.com/mihailo-stojanovic created
https://github.com/llvm/llvm-project/pull/71803
Fix the issue where Baremetal toolchain is created instead of the
RISCVToolchain when GCC installation is explicitly passed via the
gcc-install-dir option.
>From cd5e6d82eb0eb0431f38c48a800c1951d8d4b
llvmbot wrote:
@llvm/pr-subscribers-backend-risc-v
Author: None (mihailo-stojanovic)
Changes
Fix the issue where Baremetal toolchain is created instead of the
RISCVToolchain when GCC installation is explicitly passed via the
gcc-install-dir option.
---
Full diff: https://github.com/llvm
https://github.com/mihailo-stojanovic closed
https://github.com/llvm/llvm-project/pull/71803
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mihailo-stojanovic reopened
https://github.com/llvm/llvm-project/pull/71803
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mihailo-stojanovic updated
https://github.com/llvm/llvm-project/pull/71803
>From 3c73fdf962c2e4fc8d993a34595f21a3926710d0 Mon Sep 17 00:00:00 2001
From: Mihailo Stojanovic
Date: Tue, 19 Sep 2023 14:30:00 +0300
Subject: [PATCH] [clang] Enable --gcc-install-dir for RISCV bareme
https://github.com/mihailo-stojanovic edited
https://github.com/llvm/llvm-project/pull/71803
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/CarolineConcatto edited
https://github.com/llvm/llvm-project/pull/71290
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -420,6 +452,38 @@ let TargetGuard = "sve,bf16" in {
def SVSTNT1_VNUM_BF : MInst<"svstnt1_vnum[_{d}]", "vPpld", "b", [IsStore],
MemEltTyDefault, "aarch64_sve_stnt1">;
}
+let TargetGuard = "sve2p1" in {
+ // Contiguous truncating store from quadword (single vector).
+ de
@@ -298,6 +298,38 @@ let TargetGuard = "sve,bf16" in {
def SVBFMLALT_LANE : SInst<"svbfmlalt_lane[_{0}]", "MMddi", "b", MergeNone,
"aarch64_sve_bfmlalt_lane_v2", [IsOverloadNone], [ImmCheck<3, ImmCheck0_7>]>;
}
+let TargetGuard = "sve2p1" in {
+ // Contiguous zero-extendin
@@ -9497,8 +9500,11 @@ Value *CodeGenFunction::EmitSVEScatterStore(const
SVETypeFlags &TypeFlags,
// mapped to . However, this might be incompatible with the
// actual type being stored. For example, when storing doubles (i64) the
// predicated should be instead. At the
@@ -298,6 +298,38 @@ let TargetGuard = "sve,bf16" in {
def SVBFMLALT_LANE : SInst<"svbfmlalt_lane[_{0}]", "MMddi", "b", MergeNone,
"aarch64_sve_bfmlalt_lane_v2", [IsOverloadNone], [ImmCheck<3, ImmCheck0_7>]>;
}
+let TargetGuard = "sve2p1" in {
+ // Contiguous zero-extendin
https://github.com/CarolineConcatto commented:
Hey Momchil,
Thank you for the work. I left some comments.
I did not finish it all. I still need to check the stores. But I will wait for
the answers in the load, so I can keep checking the store.
https://github.com/llvm/llvm-project/pull/71290
___
@@ -420,6 +452,38 @@ let TargetGuard = "sve,bf16" in {
def SVSTNT1_VNUM_BF : MInst<"svstnt1_vnum[_{d}]", "vPpld", "b", [IsStore],
MemEltTyDefault, "aarch64_sve_stnt1">;
}
+let TargetGuard = "sve2p1" in {
+ // Contiguous truncating store from quadword (single vector).
+ de
@@ -1457,6 +1457,24 @@ class AdvSIMD_GatherLoad_VS_Intrinsic
],
[IntrReadMem]>;
+class AdvSIMD_GatherLoadQ_VS_Intrinsic
+: DefaultAttrsIntrinsic<[llvm_anyvector_ty],
+[
+ llvm_nxv1i1_ty,
+ ll
@@ -420,6 +452,38 @@ let TargetGuard = "sve,bf16" in {
def SVSTNT1_VNUM_BF : MInst<"svstnt1_vnum[_{d}]", "vPpld", "b", [IsStore],
MemEltTyDefault, "aarch64_sve_stnt1">;
}
+let TargetGuard = "sve2p1" in {
+ // Contiguous truncating store from quadword (single vector).
+ de
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/71807.diff
2 Files Affected:
- (modified) clang/lib/AST/Interp/IntegralAP.h (+3-5)
- (modified) clang/test/AST/Interp/intap.cpp (+9)
``
https://github.com/EugeneZelenko requested changes to this pull request.
https://github.com/llvm/llvm-project/pull/71304
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/EugeneZelenko edited
https://github.com/llvm/llvm-project/pull/71304
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3,13 +3,9 @@
readability-container-data-pointer
==
-Finds cases where code could use ``data()`` rather than the address of the
-element at index 0 in a container. This pattern is commonly used to materialize
-a pointer to the backing data of
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Jake Egan (jakeegan)
Changes
We now have 64-bit XCOFF object file support, so these tests can be enabled
again. However, some tests still fail due to unsupported debug sections, so I
cleaned up their comments.
---
Patch is 24.37 KiB, t
jyu2-git wrote:
Hi @efriedma-quic,
Thanks for looking into this. First for test case:
We are having difficult to reproduce the problem with small test case, the
error come from very big application, which related various heuristics to
trigger in a specific way to get the symbol renaming to ha
@@ -0,0 +1,56 @@
+; REQUIRES: arm-registered-target
+; RUN: %clang --target=arm-none-eabi -mcpu=cortex-m85 -mfloat-abi=hard
-save-temps=obj -S -o - %s | FileCheck %s
+; RUN: %clang --target=arm-none-eabi -mcpu=cortex-m55 -mfloat-abi=hard
-save-temps=obj -S -o - %s | FileCheck %s
simpal01 wrote:
> I think the commit title would make more sense at a glance if it was saying
> what is being done instead of what's being fixed. How about:
>
> ```
> [llvm][ARM] Emit MVE .arch_extension after .fpu directive if it does not
> include MVE features
> ```
>
> Then the commit mess
simpal01 wrote:
> I think the commit title would make more sense at a glance if it was saying
> what is being done instead of what's being fixed. How about:
>
> ```
> [llvm][ARM] Emit MVE .arch_extension after .fpu directive if it does not
> include MVE features
> ```
>
> Then the commit mess
Author: Samira Bazuzi
Date: 2023-11-09T16:57:04+01:00
New Revision: 3001d6ddaa7809274e49b794cb7ec07d21da130e
URL:
https://github.com/llvm/llvm-project/commit/3001d6ddaa7809274e49b794cb7ec07d21da130e
DIFF:
https://github.com/llvm/llvm-project/commit/3001d6ddaa7809274e49b794cb7ec07d21da130e.diff
https://github.com/martinboehme closed
https://github.com/llvm/llvm-project/pull/71573
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
martinboehme wrote:
> Could you merge for me? I don't have write access.
Done!
https://github.com/llvm/llvm-project/pull/71573
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jeanPerier created
https://github.com/llvm/llvm-project/pull/71820
Patch 1/3 of the transition to use the HLFIR step by default in lowering as
described in
https://discourse.llvm.org/t/rfc-enabling-the-hlfir-lowering-by-default/72778/7
This option will allow to lower code w
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: None (jeanPerier)
Changes
Patch 1/3 of the transition to use the HLFIR step by default in lowering as
described in
https://discourse.llvm.org/t/rfc-enabling-the-hlfir-lowering-by-default/72778/7
This option will allow to lower cod
https://github.com/simpal01 updated
https://github.com/llvm/llvm-project/pull/71545
>From c7c02e2bea3cb6fb674a5e568b7d14998776c00f Mon Sep 17 00:00:00 2001
From: Simi Pallipurath
Date: Tue, 7 Nov 2023 13:05:08 +
Subject: [PATCH] [ARM] .fpu equals fpv5-d16 disables floating point MVE which
Author: nvartolomei
Date: 2023-11-09T18:18:40+01:00
New Revision: 6fdb1bfbc7846f9978fe98c658deb440534d2ca0
URL:
https://github.com/llvm/llvm-project/commit/6fdb1bfbc7846f9978fe98c658deb440534d2ca0
DIFF:
https://github.com/llvm/llvm-project/commit/6fdb1bfbc7846f9978fe98c658deb440534d2ca0.diff
L
https://github.com/simpal01 updated
https://github.com/llvm/llvm-project/pull/71545
>From c7c02e2bea3cb6fb674a5e568b7d14998776c00f Mon Sep 17 00:00:00 2001
From: Simi Pallipurath
Date: Tue, 7 Nov 2023 13:05:08 +
Subject: [PATCH 1/2] [ARM] .fpu equals fpv5-d16 disables floating point MVE
wh
https://github.com/simpal01 updated
https://github.com/llvm/llvm-project/pull/71545
>From e2b6fa1cb088f2c3cf05a38959a3f3d34eda92c5 Mon Sep 17 00:00:00 2001
From: Simi Pallipurath
Date: Tue, 7 Nov 2023 13:05:08 +
Subject: [PATCH 1/2] [ARM] .fpu equals fpv5-d16 disables floating point MVE
wh
@@ -0,0 +1,56 @@
+; REQUIRES: arm-registered-target
+; RUN: %clang --target=arm-none-eabi -mcpu=cortex-m85 -mfloat-abi=hard
-save-temps=obj -S -o - %s | FileCheck %s
+; RUN: %clang --target=arm-none-eabi -mcpu=cortex-m55 -mfloat-abi=hard
-save-temps=obj -S -o - %s | FileCheck %s
@@ -0,0 +1,56 @@
+; REQUIRES: arm-registered-target
+; RUN: %clang --target=arm-none-eabi -mcpu=cortex-m85 -mfloat-abi=hard
-save-temps=obj -S -o - %s | FileCheck %s
+; RUN: %clang --target=arm-none-eabi -mcpu=cortex-m55 -mfloat-abi=hard
-save-temps=obj -S -o - %s | FileCheck %s
https://github.com/diggerlin updated
https://github.com/llvm/llvm-project/pull/71738
>From 592e0de1d87ad5dbfc7a1fb80974546ce161c02f Mon Sep 17 00:00:00 2001
From: zhijian
Date: Wed, 8 Nov 2023 11:27:30 -0500
Subject: [PATCH 1/4] [Driver][LTO] Copy fix empty stats filename to AIX
---
clang/lib
Author: Bill Wendling
Date: 2023-11-09T10:18:17-08:00
New Revision: bc09ec696209b3aea74d49767b15c2f34e363933
URL:
https://github.com/llvm/llvm-project/commit/bc09ec696209b3aea74d49767b15c2f34e363933
DIFF:
https://github.com/llvm/llvm-project/commit/bc09ec696209b3aea74d49767b15c2f34e363933.diff
https://github.com/jeanPerier updated
https://github.com/llvm/llvm-project/pull/71820
>From bf7d4afdde4cae23f28bd8725f9a09b7141b7ed1 Mon Sep 17 00:00:00 2001
From: Jean Perier
Date: Thu, 9 Nov 2023 03:11:31 -0800
Subject: [PATCH 1/2] [flang][driver] add -flang-deprecated-no-hlfir hidden
option
jeanPerier wrote:
> Please could you also add testing in flang/Driver/frontend-forwarding.f90,
> flang/test/HLFIR/hlfir-flang.f90
Thanks for the review @tblah. I could not find flang/test/HLFIR/hlfir-flang.f90
test, did you mean flang/test/HLFIR/hlfir-**flags**.f90 (in which case it is
update
https://github.com/yonghong-song created
https://github.com/llvm/llvm-project/pull/71856
Sometimes bpf developer might want to develop different codes based on
particular cpu versioins. For example, cpu v1/v2/v3 branch target is 16bit
while cpu v4 branch target is 32bit, thus cpu v4 allows mor
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (yonghong-song)
Changes
Sometimes bpf developer might want to develop different codes based on
particular cpu versioins. For example, cpu v1/v2/v3 branch target is 16bit
while cpu v4 branch target is 32bit, thus cpu v4 allows more ag
yonghong-song wrote:
cc @4ast @anakryiko
https://github.com/llvm/llvm-project/pull/71856
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/yonghong-song edited
https://github.com/llvm/llvm-project/pull/71856
___
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: Rashmi Mudduluru (t-rasmud)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/71862.diff
3 Files Affected:
- (modified) clang/include/clang/Analysis/Analyses/UnsafeBufferUsageGadgets.def
(+1)
- (modified) clang/lib/Ana
https://github.com/eddyz87 approved this pull request.
Hi Yonghong,
Thank you for working on this.
https://github.com/llvm/llvm-project/pull/71856
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/
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 a2d9d2e1d96a3e81f4eed7f70e0a62cbc0e77cfd
ec71495b80e209e7c2dffaaadb1f05814cfafaed --
@@ -29,6 +29,14 @@ void BPFTargetInfo::getTargetDefines(const LangOptions &Opts,
MacroBuilder &Builder) const {
Builder.defineMacro("__bpf__");
Builder.defineMacro("__BPF__");
+
+ std::string CPU = getTargetOpts().CPU;
+ if (CPU == "pr
https://github.com/serge-sans-paille updated
https://github.com/llvm/llvm-project/pull/71677
>From d5934a4112166ce0375295b2347e7d5c43fdf5ed Mon Sep 17 00:00:00 2001
From: serge-sans-paille
Date: Wed, 8 Nov 2023 10:26:33 +0100
Subject: [PATCH 1/3] [clang] Avoid memcopy for small structure with p
@@ -1244,29 +1244,28 @@ static void emitStoresForConstant(CodeGenModule &CGM,
const VarDecl &D,
// If the initializer is small, use a handful of stores.
if (shouldSplitConstantStore(CGM, ConstantSize)) {
if (auto *STy = dyn_cast(Ty)) {
- // FIXME: handle the case
https://github.com/Maddobun updated
https://github.com/llvm/llvm-project/pull/70798
>From 0572afa42e4e6ca1d1de0e9df045828552cb4480 Mon Sep 17 00:00:00 2001
From: Leo Zhu
Date: Wed, 8 Nov 2023 11:10:13 -0500
Subject: [PATCH 1/2] Convert URI to uppercase drive letter during parsing
---
clang-to
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 7c7882fcffbfd204f95a3613ce076abf7da294e8
4784e02edb23b23a6e2cabfa3f7eb20c3ee441c4 --
@@ -29,6 +29,14 @@ void BPFTargetInfo::getTargetDefines(const LangOptions &Opts,
MacroBuilder &Builder) const {
Builder.defineMacro("__bpf__");
Builder.defineMacro("__BPF__");
+
+ std::string CPU = getTargetOpts().CPU;
+ if (CPU == "pr
https://github.com/yonghong-song edited
https://github.com/llvm/llvm-project/pull/71856
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1244,29 +1244,28 @@ static void emitStoresForConstant(CodeGenModule &CGM,
const VarDecl &D,
// If the initializer is small, use a handful of stores.
if (shouldSplitConstantStore(CGM, ConstantSize)) {
if (auto *STy = dyn_cast(Ty)) {
- // FIXME: handle the case
@@ -1506,8 +1497,16 @@ TEST_CUSTOM(unmatchedreverse, unmatchedreverse, { .c =
42 });
// CHECK-O0:call void @llvm.memcpy
// CHECK-NOT: !annotation
// CHECK-O0:call void @{{.*}}used{{.*}}%custom)
-// PATTERN-O1: store i32 -1431655894, ptr {{.*}}, align 4
-// ZERO-O1:
https://github.com/serge-sans-paille updated
https://github.com/llvm/llvm-project/pull/71677
>From d5934a4112166ce0375295b2347e7d5c43fdf5ed Mon Sep 17 00:00:00 2001
From: serge-sans-paille
Date: Wed, 8 Nov 2023 10:26:33 +0100
Subject: [PATCH 1/4] [clang] Avoid memcopy for small structure with p
@@ -29,6 +29,14 @@ void BPFTargetInfo::getTargetDefines(const LangOptions &Opts,
MacroBuilder &Builder) const {
Builder.defineMacro("__bpf__");
Builder.defineMacro("__BPF__");
+
+ std::string CPU = getTargetOpts().CPU;
+ if (CPU == "pr
https://github.com/yonghong-song deleted
https://github.com/llvm/llvm-project/pull/71856
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -29,6 +29,14 @@ void BPFTargetInfo::getTargetDefines(const LangOptions &Opts,
MacroBuilder &Builder) const {
Builder.defineMacro("__bpf__");
Builder.defineMacro("__BPF__");
+
+ std::string CPU = getTargetOpts().CPU;
+ if (CPU == "pr
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
@llvm/pr-subscribers-clang
Author: Bill Wendling (bwendling)
Changes
GCC returns 0 for a negative index on an array in a structure. It also
returns 0 for an array index that goes beyond the extent of the array.
In addition. a pointer to a s
https://github.com/yonghong-song updated
https://github.com/llvm/llvm-project/pull/71856
>From fd2b39e869cf3b8395113bac409486cc052ca749 Mon Sep 17 00:00:00 2001
From: Yonghong Song
Date: Thu, 9 Nov 2023 15:16:03 -0800
Subject: [PATCH] [Clang][BPF] Add __bpf_cpu_version__ macro
Sometimes bpf de
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Jan Svoboda (jansvoboda11)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/70874.diff
3 Files Affected:
- (modified) clang/include/clang/Lex/HeaderSearchOptions.h (+7-1)
- (modified) clang/lib/Serialization/ASTWriter.
https://github.com/PiJoules created
https://github.com/llvm/llvm-project/pull/71884
Prior to this, clang would always report
```
compile with '-ffixed-point' to enable fixed point types
```
whenever it sees `_Accum`, `_Fract`, or `_Sat` when fixed point arithmetic is
not enabled. This can bre
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (PiJoules)
Changes
Prior to this, clang would always report
```
compile with '-ffixed-point' to enable fixed point types
```
whenever it sees `_Accum`, `_Fract`, or `_Sat` when fixed point arithmetic is
not enabled. This can break e
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 ea89965b3cfcb00a08941780da45c663cb4a6cab
b1263d73347612acd2109a88c1188054e29e0082 --
Author: Yaxun (Sam) Liu
Date: 2023-11-09T20:36:38-05:00
New Revision: 9774d0ce5fbd70288514da77072313b4f45b34bb
URL:
https://github.com/llvm/llvm-project/commit/9774d0ce5fbd70288514da77072313b4f45b34bb
DIFF:
https://github.com/llvm/llvm-project/commit/9774d0ce5fbd70288514da77072313b4f45b34bb.dif
Author: Baodi
Date: 2023-11-09T20:42:59-05:00
New Revision: df2725f3d55ffdc8ca2f9580183956e376a30de7
URL:
https://github.com/llvm/llvm-project/commit/df2725f3d55ffdc8ca2f9580183956e376a30de7
DIFF:
https://github.com/llvm/llvm-project/commit/df2725f3d55ffdc8ca2f9580183956e376a30de7.diff
LOG: [C
https://github.com/heiher created
https://github.com/llvm/llvm-project/pull/71887
LoongArch does not and will not support copy relocation, so non-PIC code
defaults to -fno-direct-access-external-data.
Explicit `-fdirect-access-external-data` is acceptable, for example if the code
is writable.
heiher wrote:
Add @xry111 @xen0n
https://github.com/llvm/llvm-project/pull/71887
___
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-driver
Author: hev (heiher)
Changes
LoongArch does not and will not support copy relocation, so non-PIC code
defaults to -fno-direct-access-external-data.
Explicit `-fdirect-access-external-data` is acceptable, for example if the code
is writabl
=?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?= ,
=?utf-8?q?Bal=C3=A1zs_K=C3=A9ri?=
Message-ID:
In-Reply-To:
https://github.com/DonatNagyE approved this pull request.
LGTM, but let's wait a bit for other reviewers before merging.
https://github.com/llvm/llvm-project/pull/71392
_
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: William Moses (wsmoses)
Changes
As discussed in [this
RFC](https://discourse.llvm.org/t/rfc-attribute-no-sizeof/74695) this PR
implements a. new user-level sizeless attribute.
This prevents types or variables marked with this attribute f
Author: Owen Pan
Date: 2023-11-09T23:01:48-08:00
New Revision: 5c36f4332d93c6f9bd9b01a34149a635e07a00d3
URL:
https://github.com/llvm/llvm-project/commit/5c36f4332d93c6f9bd9b01a34149a635e07a00d3
DIFF:
https://github.com/llvm/llvm-project/commit/5c36f4332d93c6f9bd9b01a34149a635e07a00d3.diff
LOG:
Author: Phoebe Wang
Date: 2023-11-10T15:21:05+08:00
New Revision: f229ba4e8d6bb24622b2d41b3c89585cb9005d8d
URL:
https://github.com/llvm/llvm-project/commit/f229ba4e8d6bb24622b2d41b3c89585cb9005d8d
DIFF:
https://github.com/llvm/llvm-project/commit/f229ba4e8d6bb24622b2d41b3c89585cb9005d8d.diff
L
Author: ckandeler
Date: 2023-11-10T10:02:05+01:00
New Revision: 0255b217c3766ce0aa23bd4fb050b447be2a1d26
URL:
https://github.com/llvm/llvm-project/commit/0255b217c3766ce0aa23bd4fb050b447be2a1d26
DIFF:
https://github.com/llvm/llvm-project/commit/0255b217c3766ce0aa23bd4fb050b447be2a1d26.diff
LOG
https://github.com/ckandeler closed
https://github.com/llvm/llvm-project/pull/69481
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ckandeler wrote:
Merged as per the review here: https://github.com/llvm/llvm-project/pull/67645
https://github.com/llvm/llvm-project/pull/69481
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
Author: Endre Fülöp (gamesh411)
Changes
Thanks to recent improvements in #67663, InvalidPtr checker does not
emit any false positives on the following OS projects: memcached, tmux, curl,
twin, vim, openssl, sqlite, ffmpeg, postg
https://github.com/DonatNagyE approved this pull request.
LGTM. The test results sound convincing and this is just a checker-rename
commit that doesn't contain "actual" code changes that could've introduced bugs.
https://github.com/llvm/llvm-project/pull/71912
__
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 49fd28d9601dde429436655ec74234e895c60b89
31b7482ffabda61c005a4cd90a07bcfec65c232e --
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
This fixes a long-standing FIXME item.
Unfortunately it changes the diagnostic output of the tests added in
`cxx23.cpp`, but they were wrong before and are wrong after, so no big deal.
---
Full diff: https:
Author: jeanPerier
Date: 2023-11-10T11:54:10+01:00
New Revision: 9f265c38718ca5c6b2b2ba6a237db1ba5e2cac55
URL:
https://github.com/llvm/llvm-project/commit/9f265c38718ca5c6b2b2ba6a237db1ba5e2cac55
DIFF:
https://github.com/llvm/llvm-project/commit/9f265c38718ca5c6b2b2ba6a237db1ba5e2cac55.diff
LO
501 - 600 of 380853 matches
Mail list logo