llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-s390x-linux` running
on `systemz-1` while building `clang,llvm` at step 5 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/42/builds/2376
Here is the relevant piece of the build
https://github.com/cor3ntin commented:
Generally looks great.
Can you add
- a changelog entry
- a test with C arrays?
https://github.com/llvm/llvm-project/pull/120222
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cg
@@ -11786,6 +11786,49 @@ static bool checkForArray(const Expr *E) {
return D->getType()->isArrayType() && !D->isWeak();
}
+/// Detect patterns ptr + size >= ptr and ptr + size < ptr, where ptr is a
+/// pointer and size is an unsigned integer. Return whether the result is
+/
https://github.com/cor3ntin updated
https://github.com/llvm/llvm-project/pull/120223
>From e53dfbc9b2c6b7f30c1378731d7de284fa99d568 Mon Sep 17 00:00:00 2001
From: Mital Ashok
Date: Tue, 11 Jun 2024 14:26:38 +0100
Subject: [PATCH 01/12] [Clang] Implement CWG2813
---
clang/docs/ReleaseNotes.rst
https://github.com/nikic updated
https://github.com/llvm/llvm-project/pull/120222
>From 66b5b0d72b49539206794c4472ee6fb14f00c5a7 Mon Sep 17 00:00:00 2001
From: Nikita Popov
Date: Tue, 17 Dec 2024 13:10:30 +0100
Subject: [PATCH 1/4] [Sema] Diagnose tautological bounds checks
This diagnoses comp
https://github.com/nikic updated
https://github.com/llvm/llvm-project/pull/120222
>From 66b5b0d72b49539206794c4472ee6fb14f00c5a7 Mon Sep 17 00:00:00 2001
From: Nikita Popov
Date: Tue, 17 Dec 2024 13:10:30 +0100
Subject: [PATCH 1/5] [Sema] Diagnose tautological bounds checks
This diagnoses comp
@@ -391,16 +397,39 @@ void Sema::DiagnoseUnusedExprResult(const Stmt *S,
unsigned DiagID) {
// isn't an array.
if (E->isGLValue() && E->getType().isVolatileQualified() &&
!E->getType()->isArrayType()) {
-Diag(Loc, diag::warn_unused_volatile) << R1 << R2;
+S.D
@@ -1162,6 +1195,9 @@ Sema::BuildMemberReferenceExpr(Expr *BaseExpr, QualType
BaseExprType,
valueKind = VK_PRValue;
type = Context.BoundMemberTy;
Sirraide wrote:
Don’t we need to call `MakeGLValue()` in the then-clause here too?
https://github.com
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/119819
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1179,6 +1179,13 @@ def OMP_Tile : Directive<"tile"> {
let association = AS_Loop;
let category = CA_Executable;
}
+def OMP_Stripe : Directive<"stripe"> {
+ let allowedOnceClauses = [
+VersionedClause,
zahiraam wrote:
I have set it to `51` but I thi
https://github.com/zahiraam ready_for_review
https://github.com/llvm/llvm-project/pull/119891
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kovdan01 updated
https://github.com/llvm/llvm-project/pull/113150
>From 838b0d0ed5592b2a74560373252f17b49ae64ee7 Mon Sep 17 00:00:00 2001
From: Daniil Kovalev
Date: Mon, 21 Oct 2024 10:58:04 +0300
Subject: [PATCH] [PAC][clang] Add new features to pauthtest ABI
Enable init/fi
@@ -1229,8 +1248,15 @@ FunctionPass *llvm::createSPIRVStructurizerPass() {
PreservedAnalyses SPIRVStructurizerWrapper::run(Function &F,
FunctionAnalysisManager &AF) {
- FunctionPass *StructurizerPass = createSPIRVStructurizerPas
https://github.com/madanial0 closed
https://github.com/llvm/llvm-project/pull/120276
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/efriedma-quic created
https://github.com/llvm/llvm-project/pull/120300
The first API is clang_visitCXXBaseClasses: this allows visiting the base
classes without going through the generic child visitor (which is awkward, and
doesn't work for template instantiations).
The sec
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Eli Friedman (efriedma-quic)
Changes
The first API is clang_visitCXXBaseClasses: this allows visiting the base
classes without going through the generic child visitor (which is awkward, and
doesn't work for template instantiations).
The
Author: Mark Danial
Date: 2024-12-17T15:43:50-05:00
New Revision: 2a0091fb4abb5f89198d7e9c039da01921e2b7ee
URL:
https://github.com/llvm/llvm-project/commit/2a0091fb4abb5f89198d7e9c039da01921e2b7ee
DIFF:
https://github.com/llvm/llvm-project/commit/2a0091fb4abb5f89198d7e9c039da01921e2b7ee.diff
L
@@ -582,6 +582,15 @@ static void visitFunctionCallArguments(IndirectLocalPath
&Path, Expr *Call,
// Temp().ptr; // Here ptr might not dangle.
if (isa(Arg->IgnoreImpCasts()))
return;
+// Avoid false positives when the object is constructed from a conditional
https://github.com/shafik commented:
I guess there are no release notes or manual b/c this is not ready to be used
by general users on the command line and that will come via another PR?
https://github.com/llvm/llvm-project/pull/76261
___
cfe-commits
vzakhari wrote:
Okay, I do not see an easy way to allow this option for `clang` without
printing it in the `--help` output, so I guess I will let it behave same way as
the other Flang-only options.
https://github.com/llvm/llvm-project/pull/120320
___
https://github.com/vzakhari closed
https://github.com/llvm/llvm-project/pull/120320
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ilovepi wrote:
@PeterChou1 It's been a few weeks since we've seen progress here. Is this
something you're planning to finish out? or should @petrhosek or I should
dedicate some effort into getting landed? The Clang-Doc refactor to use the
templates is going to be hard to review until this is i
https://github.com/thurstond closed
https://github.com/llvm/llvm-project/pull/119819
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Mick235711 wrote:
> This was approved, do you need someone to merge this for you?
Yes, I do; I don't really have merge permissions. Thanks a lot for the helping
hand.
https://github.com/llvm/llvm-project/pull/118636
___
cfe-commits mailing list
cfe-c
https://github.com/vitalybuka closed
https://github.com/llvm/llvm-project/pull/119894
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -365,3 +365,20 @@ namespace call_with_explicit_temporary_obj {
RefPtr { provide() }->method();
}
}
+
+namespace call_with_adopt_ref {
+ class Obj {
+ public:
+void ref() const;
+void deref() const;
+void method();
+ };
+
+ struct dummy {
+RefPtr any
https://github.com/davemgreen created
https://github.com/llvm/llvm-project/pull/120363
This started out as trying to combine bf16 fpround to BFCVT2 instructions, but
ended up removing the aarch64.neon.nfcvt intrinsics in favour of generating
fpround instructions directly. This simplifies the p
HighCommander4 wrote:
Thanks. I haven't had a chance to look through the patch in detail yet, but the
general shape seems reasonable.
I also wanted to check, have you resolved the issue you described in [this
comment](https://github.com/clangd/clangd/issues/2252#issuecomment-2545141457)?
> no
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: David Green (davemgreen)
Changes
This started out as trying to combine bf16 fpround to BFCVT2 instructions, but
ended up removing the aarch64.neon.nfcvt intrinsics in favour of generating
fpround instructions directly. This simpli
llvmbot wrote:
@llvm/pr-subscribers-backend-aarch64
Author: David Green (davemgreen)
Changes
This started out as trying to combine bf16 fpround to BFCVT2 instructions, but
ended up removing the aarch64.neon.nfcvt intrinsics in favour of generating
fpround instructions directly. This simp
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 f6f4744176c8838a55fabd6f978ac08c3612aabc
4b31ec912a6482e85ca64b71482e3911fd2dbba6 --e
https://github.com/amane-ame updated
https://github.com/llvm/llvm-project/pull/119563
From 3e2e04fbf1978d657bb6968c16f68ef7c4adfbdb Mon Sep 17 00:00:00 2001
From: amane-ame
Date: Wed, 11 Dec 2024 22:17:51 +0800
Subject: [PATCH 01/10] [clang] Fix crashes when passing VLA to va_arg
---
clang/li
https://github.com/amane-ame updated
https://github.com/llvm/llvm-project/pull/119563
From 659eda3ec76b63418f8b621b004728d9d7bf26ad Mon Sep 17 00:00:00 2001
From: amane-ame
Date: Wed, 11 Dec 2024 22:17:51 +0800
Subject: [PATCH 01/10] [clang] Fix crashes when passing VLA to va_arg
---
clang/li
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/119819
>From 9afe71655814ead9bd29acf5ebd515253777081d Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Fri, 13 Dec 2024 05:14:56 +
Subject: [PATCH 1/5] [sanitizer] Refactor -f(no-)?sanitize-recover parsing
Thi
@@ -652,44 +679,12 @@ SanitizerArgs::SanitizerArgs(const ToolChain &TC,
// default in ASan?
// Parse -f(no-)?sanitize-recover flags.
- SanitizerMask RecoverableKinds = RecoverableByDefault | AlwaysRecoverable;
- SanitizerMask DiagnosedUnrecoverableKinds;
- SanitizerMask
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
https://github.com/wonbinbk updated
https://github.com/llvm/llvm-project/pull/120325
>From 8af4a17a150d20f18be3111c7519b7e1f29ea129 Mon Sep 17 00:00:00 2001
From: "thai.phan"
Date: Wed, 18 Dec 2024 11:32:09 +1300
Subject: [PATCH] [clang-tidy] Exclude Files Not Present in the Compile
Database
https://github.com/wonbinbk created
https://github.com/llvm/llvm-project/pull/120325
A change list may include files that are not part of the compile database,
which can cause clang-tidy to fail (e.g., due to missing included headers). To
prevent false negatives, we should skip processing thes
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: zotnhucucbot (wonbinbk)
Changes
A change list may include files that are not part of the compile database,
which can cause clang-tidy to fail (e.g., due to missing included headers). To
prevent false negatives, we should skip process
@@ -3465,7 +3465,7 @@ defm diagnostics_show_line_numbers :
BoolFOption<"diagnostics-show-line-numbers"
PosFlag>;
def fno_realloc_lhs : Flag<["-"], "fno-realloc-lhs">, Group,
HelpText<"An allocatable left-hand side of an intrinsic assignment is
assumed to be allocated and
https://github.com/tahonermann created
https://github.com/llvm/llvm-project/pull/120327
The `sycl_kernel_entry_point` attribute is used to declare a function that
defines a pattern for an offload kernel entry point. The attribute requires a
single type argument that specifies a class type that
llvmbot wrote:
@llvm/pr-subscribers-clang-modules
Author: Tom Honermann (tahonermann)
Changes
The `sycl_kernel_entry_point` attribute is used to declare a function that
defines a pattern for an offload kernel entry point. The attribute requires a
single type argument that specifies a cla
https://github.com/kiranchandramohan commented:
> After https://github.com/llvm/llvm-project/pull/120165 clang started
> complaining about unknown option -f[no-]realloc-lhs.
Was this on an existing test?
https://github.com/llvm/llvm-project/pull/120320
_
https://github.com/kiranchandramohan edited
https://github.com/llvm/llvm-project/pull/120320
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/hekota converted_to_draft
https://github.com/llvm/llvm-project/pull/119755
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/119819
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/119819
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/119819
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AMP999 updated
https://github.com/llvm/llvm-project/pull/84621
>From 4c2c5356f1252ef83e0b37daeaccd9143b7c452c Mon Sep 17 00:00:00 2001
From: Amirreza Ashouri
Date: Sat, 2 Mar 2024 15:37:33 +0330
Subject: [PATCH 1/5] [clang][Sema] Track trivial-relocatability as a type
trait
https://github.com/ilovepi updated
https://github.com/llvm/llvm-project/pull/120308
>From ac3ce2e8bacdf6b2e7f7d812b16b2854d5ca34f2 Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Tue, 17 Dec 2024 13:58:09 -0800
Subject: [PATCH 1/4] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20ch?=
=?UTF-
https://github.com/kstoimenov approved this pull request.
https://github.com/llvm/llvm-project/pull/119819
___
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/120308
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/119819
>From 9afe71655814ead9bd29acf5ebd515253777081d Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Fri, 13 Dec 2024 05:14:56 +
Subject: [PATCH 1/7] [sanitizer] Refactor -f(no-)?sanitize-recover parsing
Thi
@@ -247,49 +247,87 @@ static SanitizerMask setGroupBits(SanitizerMask Kinds) {
return Kinds;
}
-// Computes the sanitizer mask based on the default plus opt-in (if supported)
-// minus opt-out.
+// Computes the sanitizer mask as:
+// Default + Arguments (in or out) + Alw
HighCommander4 wrote:
> Any chance this is backportable to the 19.x series? Or is it too dependent on
> changes since then?
>
> Or even better 18.x? (since a lot of downstream tools are dependent on 18.x
> and will be a while before they bump to 19)
If you're asking about the change being bac
@@ -17,12 +13,62 @@ define amdgpu_kernel void
@kernel_dynamic_stackalloc_vgpr_align4(ptr addrspace(1
ret void
}
+; ERR: remark: :0:0: cannot select: %{{[0-9]+}}:sreg_32(p5) =
G_DYN_STACKALLOC %{{[0-9]+}}:vgpr(s32), 1 (in function:
kernel_dynamic_stackalloc_vgpr_default_al
https://github.com/easyonaadit updated
https://github.com/llvm/llvm-project/pull/120063
>From 999d6ffbc6adffcb499842467bec8d07b881af46 Mon Sep 17 00:00:00 2001
From: easyonaadit
Date: Mon, 16 Dec 2024 15:25:07 +0530
Subject: [PATCH 1/2] [NFC][AMDGPU] Pre-commit clang and llvm tests for dynamic
ilya-biryukov wrote:
> @ilya-biryukov I remember last time, the codes you shared to me actually
> based an open source project. I am wondering if you can open source some use
> for such projects (even for testing purpose). I think it will be pretty
> helpful to speedup the overall development
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/120063
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,26 @@
+// UNSUPPORTED: system-windows
+// Windows is unsupported because we use the Unix path separator `/` in the
test.
+
+// Add default directories before running clang to check default
+// search paths.
+// RUN: rm -rf %t && mkdir -p %t
+// RUN: cp -R %S/Inputs/M
Author: Vitaly Buka
Date: 2024-12-17T22:07:14-08:00
New Revision: 55e87a79b9c3e0cb80503a4b6eec0fab404b2966
URL:
https://github.com/llvm/llvm-project/commit/55e87a79b9c3e0cb80503a4b6eec0fab404b2966
DIFF:
https://github.com/llvm/llvm-project/commit/55e87a79b9c3e0cb80503a4b6eec0fab404b2966.diff
L
https://github.com/tahonermann updated
https://github.com/llvm/llvm-project/pull/120327
>From 6ed96d3bf22c5da5af995ea5ffe083baf91594bb Mon Sep 17 00:00:00 2001
From: Tom Honermann
Date: Fri, 1 Nov 2024 16:03:24 -0700
Subject: [PATCH 1/2] [SYCL] Basic diagnostics for the sycl_kernel_entry_point
https://github.com/qiongsiwu edited
https://github.com/llvm/llvm-project/pull/119908
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
goldsteinn wrote:
ping
https://github.com/llvm/llvm-project/pull/112792
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -652,44 +679,12 @@ SanitizerArgs::SanitizerArgs(const ToolChain &TC,
// default in ASan?
// Parse -f(no-)?sanitize-recover flags.
- SanitizerMask RecoverableKinds = RecoverableByDefault | AlwaysRecoverable;
- SanitizerMask DiagnosedUnrecoverableKinds;
- SanitizerMask
kiranchandramohan wrote:
> > > After #120165 clang started complaining about unknown option
> > > -f[no-]realloc-lhs.
> >
> >
> > Was this on an existing test?
>
> I noticed it when trying to compile a Fortran/C mix test where flang/clang
> were used as compilers and I passed `-fno-realloc-l
https://github.com/qiongsiwu edited
https://github.com/llvm/llvm-project/pull/119908
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wonbinbk closed
https://github.com/llvm/llvm-project/pull/120325
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -,8 +,15 @@ bool Parser::TryAnnotateTypeOrScopeTokenAfterScopeSpec(
}
}
- if (SS.isEmpty())
+ if (SS.isEmpty()) {
+if (getLangOpts().ObjC && !getLangOpts().CPlusPlus &&
qiongsiwu wrote:
Good question. The reason I added the guard for Ob
Author: Thurston Dang
Date: 2024-12-17T16:35:11-08:00
New Revision: c48d45e6a3bcc03ecc233499c6ba9d04e07ec68a
URL:
https://github.com/llvm/llvm-project/commit/c48d45e6a3bcc03ecc233499c6ba9d04e07ec68a
DIFF:
https://github.com/llvm/llvm-project/commit/c48d45e6a3bcc03ecc233499c6ba9d04e07ec68a.diff
https://github.com/ziqingluo-90 edited
https://github.com/llvm/llvm-project/pull/120341
___
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: Ziqing Luo (ziqingluo-90)
Changes
We have already hit the limit of NumStmtBits downstream after
010d0115fc8e3834fc6f747f0841f3b1e467c4da, which adds 4 new StmtNodes.
---
Full diff: https://github.com/llvm/llvm-project/pull/120341.diff
1
https://github.com/ziqingluo-90 created
https://github.com/llvm/llvm-project/pull/120341
We have already hit the limit of NumStmtBits downstream after
010d0115fc8e3834fc6f747f0841f3b1e467c4da, which adds 4 new StmtNodes.
>From 6cb8ccb8005342c74018508e7e4d267bd6f44e4c Mon Sep 17 00:00:00 2001
F
https://github.com/easyonaadit updated
https://github.com/llvm/llvm-project/pull/120063
>From 999d6ffbc6adffcb499842467bec8d07b881af46 Mon Sep 17 00:00:00 2001
From: easyonaadit
Date: Mon, 16 Dec 2024 15:25:07 +0530
Subject: [PATCH 1/2] [NFC][AMDGPU] Pre-commit clang and llvm tests for dynamic
@@ -332,6 +332,11 @@ Changes in existing checks
` check to
validate ``namespace`` aliases.
+-Improved :doc: `readability-implicit-bool-conversion
+ `
+ - `CheckConversionsToBool`: Allows enabling or disabling warnings for
implicit conversions to `bool` (default) : true .
@@ -332,6 +332,11 @@ Changes in existing checks
` check to
validate ``namespace`` aliases.
+-Improved :doc: `readability-implicit-bool-conversion
EugeneZelenko wrote:
Please extend existing `readability-implicit-bool-conversion` entry.
https://github.com
vinay-deshmukh wrote:
Aside:
As I've been working on this issue, I've realized that it involves some
complexities that might not make it an ideal "good first issue" (in my
opinion). To keep labels consistent with the difficult level, if it is okay
with you, it would be great if you could re-
https://github.com/zeroomega approved this pull request.
https://github.com/llvm/llvm-project/pull/120318
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,785 @@
+//===-- Mustache.cpp
--===//
+//
+// 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
vzakhari wrote:
> > After #120165 clang started complaining about unknown option
> > -f[no-]realloc-lhs.
>
> Was this on an existing test?
I noticed it when trying to compile a Fortran/C mix test where flang/clang were
used as compilers and I passed `-fno-realloc-lhs` in flags that were used
@@ -3465,7 +3465,7 @@ defm diagnostics_show_line_numbers :
BoolFOption<"diagnostics-show-line-numbers"
PosFlag>;
def fno_realloc_lhs : Flag<["-"], "fno-realloc-lhs">, Group,
HelpText<"An allocatable left-hand side of an intrinsic assignment is
assumed to be allocated and
https://github.com/vzakhari created
https://github.com/llvm/llvm-project/pull/120320
After #120165 clang started complaining about unknown
option -f[no-]realloc-lhs. This change fixes it to ignore
the option like it used to be.
>From 5d8d3e08eb322b72f4058b98fc7ea0d6321eaa6c Mon Sep 17 00:00:00
https://github.com/petrhosek created
https://github.com/llvm/llvm-project/pull/120323
Enable 2-stage builds with PGO.
>From 025652fd24c1dd13a3d628bd1a56c26e715badaa Mon Sep 17 00:00:00 2001
From: Petr Hosek
Date: Fri, 6 Mar 2020 17:23:35 -0800
Subject: [PATCH] [Fuchsia] Support PGO
Enable 2-s
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/119819
>From 9afe71655814ead9bd29acf5ebd515253777081d Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Fri, 13 Dec 2024 05:14:56 +
Subject: [PATCH 1/4] [sanitizer] Refactor -f(no-)?sanitize-recover parsing
Thi
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Slava Zakharin (vzakhari)
Changes
After #120165 clang started complaining about unknown
option -f[no-]realloc-lhs. This change fixes it to ignore
the option like it used to be.
---
Full diff: https://github.com/llvm/llvm-project/pull/1203
https://github.com/joaosaffran updated
https://github.com/llvm/llvm-project/pull/119041
>From 999f15be166d25521dfca4f95c1c909152f382e0 Mon Sep 17 00:00:00 2001
From: Joao Saffran
Date: Fri, 6 Dec 2024 01:27:24 +
Subject: [PATCH 1/7] Apply DXC fix and add tests
---
clang/test/CodeGenHLSL/d
https://github.com/tstellar updated
https://github.com/llvm/llvm-project/pull/119896
>From dd1f6807904691586c715d447fff54915a46c751 Mon Sep 17 00:00:00 2001
From: Tom Stellard
Date: Tue, 3 Dec 2024 22:32:46 +
Subject: [PATCH 1/3] [clang][cmake] Apply bolt optimizations as part of the
clang
https://github.com/tstellar updated
https://github.com/llvm/llvm-project/pull/119896
>From dd1f6807904691586c715d447fff54915a46c751 Mon Sep 17 00:00:00 2001
From: Tom Stellard
Date: Tue, 3 Dec 2024 22:32:46 +
Subject: [PATCH 1/4] [clang][cmake] Apply bolt optimizations as part of the
clang
vitalybuka wrote:
> I think
> [llvm/llvm-test-suite#190](https://github.com/llvm/llvm-test-suite/pull/190)
> should fix this issue, but haven't tested on an affected arch.
>
> I'm a bit worried that we don't have a sanitizer to catch this issue (the
> negative left shift issue is an unrelated
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
llvmbot wrote:
@llvm/pr-subscribers-clang-tidy
Author: zotnhucucbot (wonbinbk)
Changes
A change list may include files that are not part of the compile
database, which can cause clang-tidy to fail (e.g., due to missing
included headers). To prevent false negatives, we should allow to skip
h-vetinari wrote:
Ping @vitalybuka
https://github.com/llvm/llvm-project/pull/108357
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,18 @@
+// RUN: %clang_tysan -O0 %s -o %t && %run %t >%t.out 2>&1
+// RUN: FileCheck %s < %t.out
+
+#include
+
+// CHECK-NOT: ERROR: TypeSanitizer: type-aliasing-violation
+
+int main() {
+ union {
+int i;
+short s;
+ } u;
+
+ u.i = 42;
+ u.s = 1;
+
+ print
@@ -0,0 +1,65 @@
+// RUN: %clang_tysan -O0 %s -o %t && %run %t 10 >%t.out.0 2>&1
+// RUN: FileCheck %s < %t.out.0
+// RUN: %clang_tysan -O2 %s -o %t && %run %t 10 >%t.out 2>&1
+// RUN: FileCheck %s < %t.out
+
+#include
+#include
+#include
+
+void __attribute__((noinline)) add_f
https://github.com/rjmccall commented:
Let's just increase to 9 bits.
Have you checked whether the size of `Stmt` or `Expr` changes when you do this?
https://github.com/llvm/llvm-project/pull/120341
___
cfe-commits mailing list
cfe-commits@lists.llvm.
vitalybuka wrote:
> > > > Actually this PR is the case of
> > > > https://lab.llvm.org/buildbot/#/builders/164/builds/3908, not #113491
> > >
> > >
> > > Sorry about that.
> > > Are you able to dig up any of the cmake configure logs from these builds,
> > > so that we can figure out how this
@@ -19,3 +22,8 @@ config.suffixes = [
".td",
".test"
]
+
+# AIX 'diff' command doesn't support --strip-trailing-cr, but the internal
+# python implementation does, so use that for cross platform compatibility
+if platform.system() == "AIX":
+config.test_format = lit
Alejandro =?utf-8?q?=C3=81lvarez_Ayll=C3=B3n?=,
Alejandro =?utf-8?q?=C3=81lvarez_Ayll=C3=B3n?=
Message-ID:
In-Reply-To:
https://github.com/shafik commented:
This will eventually need a release note.
https://github.com/llvm/llvm-project/pull/119711
__
vitalybuka wrote:
The problem is that some of check_cxx_source_compiles invocation does:
```
cat t.cpp
int main() {
}
/usr/local/google/home/vitalybuka/tmp/bot/llvm_build0/bin/clang++
-fsanitize=memory -nostdlib++ -nostdinc++ -fuse-ld=lld t.cpp
>> referenced by ubsan_type_hash_itanium.cp
@@ -54,69 +54,110 @@ void addDxilValVersion(StringRef ValVersionStr,
llvm::Module &M) {
auto *DXILValMD = M.getOrInsertNamedMetadata(DXILValKey);
DXILValMD->addOperand(Val);
}
+
void addDisableOptimizations(llvm::Module &M) {
StringRef Key = "dx.disable_optimizations";
201 - 300 of 469 matches
Mail list logo