@@ -742,8 +742,8 @@ Error RISCVISAInfo::checkDependency() {
bool HasZvl = MinVLen != 0;
bool HasZcmt = Exts.count("zcmt") != 0;
static constexpr StringLiteral XqciExts[] = {
- {"xqcia"}, {"xqciac"}, {"xqcicli"}, {"xqcicm"},
- {"xqcics"}, {"xqcicsr"}, {"xqcilsm
https://github.com/MaskRay edited
https://github.com/llvm/llvm-project/pull/121663
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -115,22 +92,12 @@ std::unique_ptr llvm::CreateInfoOutputFile() {
return std::make_unique(2, false); // stderr.
}
-namespace {
-struct CreateDefaultTimerGroup {
- static void *call() {
-return new TimerGroup("misc", "Miscellaneous Ungrouped Timers");
- }
-};
-} // na
@@ -0,0 +1,34 @@
+.. title:: clang-tidy - bugprone-incorrect-enable-shared-from-this
+
+bugprone-incorrect-enable-shared-from-this
+==
+
+Detect classes or structs that do not publicly inherit from
+``std::enable_shared_from_this``, because
https://github.com/martinboehme created
https://github.com/llvm/llvm-project/pull/122431
This attribute is intended as a general-purpose mechanism to add annotations for
use by Clang-based tools. People have been using the existing `annotate`
attribute for this purpose, but this can interfere wi
https://github.com/changkhothuychung updated
https://github.com/llvm/llvm-project/pull/120920
error: too big or took too long to generate
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commit
@@ -0,0 +1,123 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
UTC_ARGS: --version 5
+// RUN: %clang_cc1 -triple aarch64-linux -target-feature +neon
-disable-O0-optnone -emit-llvm -o - %s | opt -S -passes=mem2reg | FileCheck %s
+
+// REQUIRES: a
@@ -0,0 +1,30 @@
+// RUN: %clang_cc1 -triple aarch64 -fsyntax-only -verify %s
+
+// REQUIRES: aarch64-registered-target
+
+typedef __attribute__((neon_vector_type(8))) signed char int8x8_t;
+typedef __attribute__((neon_vector_type(16))) signed char int8x16_t;
+
+typedef __MFloat8x
@@ -2578,6 +2576,19 @@ bool Type::isSveVLSBuiltinType() const {
return false;
}
+bool Type::isNeonVectorBuiltinType() const {
CarolineConcatto wrote:
Can you do this similar what it was done for SVE?
So if we add more types they will be added by default.
h
@@ -0,0 +1,123 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
UTC_ARGS: --version 5
+// RUN: %clang_cc1 -triple aarch64-linux -target-feature +neon
-disable-O0-optnone -emit-llvm -o - %s | opt -S -passes=mem2reg | FileCheck %s
+
+// REQUIRES: a
https://github.com/kmclaughlin-arm closed
https://github.com/llvm/llvm-project/pull/121777
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Kerry McLaughlin
Date: 2025-01-10T09:54:48Z
New Revision: 4e32271e8b304eb018c69f74c16edd1668fcdaf3
URL:
https://github.com/llvm/llvm-project/commit/4e32271e8b304eb018c69f74c16edd1668fcdaf3
DIFF:
https://github.com/llvm/llvm-project/commit/4e32271e8b304eb018c69f74c16edd1668fcdaf3.diff
L
Meinersbur wrote:
Thanks for the review. I will wait for the other PRs to progress before pushing.
https://github.com/llvm/llvm-project/pull/121997
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/
https://github.com/MacDue edited
https://github.com/llvm/llvm-project/pull/121788
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MacDue approved this pull request.
LGTM, thanks for addressing my comments, just a minor nit-pick:
https://github.com/llvm/llvm-project/pull/121788
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bi
@@ -3835,6 +3835,9 @@ def err_sme_unimplemented_za_save_restore : Error<
"call to a function that shares state other than 'za' from a "
"function that has live 'za' state requires a spill/fill of ZA, which is not
yet "
"implemented">;
+def err_sme_unimplemented_agnostic_
ian-twilightcoder wrote:
> LLVM Buildbot has detected a new failure on builder
> `openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building
> `clang` at step 7 "Add check check-offload".
>
> Full details are available at:
> https://lab.llvm.org/buildbot/#/builders/73/builds
https://github.com/ddpagan updated
https://github.com/llvm/llvm-project/pull/121814
>From d2747bc68455a3dab6ffb47da8851fd1db3f59b5 Mon Sep 17 00:00:00 2001
From: Dave Pagan
Date: Fri, 22 Nov 2024 10:35:40 -0600
Subject: [PATCH 1/6] [clang][OpenMP] Add 'align' modifier for 'allocate'
clause
Th
Author: Vitaly Buka
Date: 2025-01-10T16:41:43-08:00
New Revision: 834d65eb2ecea04382630579007a88c30129c734
URL:
https://github.com/llvm/llvm-project/commit/834d65eb2ecea04382630579007a88c30129c734
DIFF:
https://github.com/llvm/llvm-project/commit/834d65eb2ecea04382630579007a88c30129c734.diff
L
https://github.com/vitalybuka closed
https://github.com/llvm/llvm-project/pull/122408
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Sharjeel-Khan updated
https://github.com/llvm/llvm-project/pull/122540
>From c8d2c210a98fe0c96d758d538d50fcc0ca61a9ff Mon Sep 17 00:00:00 2001
From: Sharjeel Khan
Date: Fri, 10 Jan 2025 20:07:52 +
Subject: [PATCH] Warn when using msan on Android
Msan is not supported on
@@ -0,0 +1,17 @@
+# Stage 1
+# * Build an LTO optimized libcxx, so we can staticially link it into stage 2
+# clang.
+
+
+set(CMAKE_BUILD_TYPE Release CACHE STRING "")
+set(LLVM_TARGETS_TO_BUILD Native CACHE STRING "")
+set(LLVM_ENABLE_RUNTIMES "compiler-rt;libcxx;libcxxabi;libu
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Ellis Hoag (ellishg)
Changes
Fix a small formatting issue in the user manual.
https://clang.llvm.org/docs/UsersManual.html#cmdoption-ftemporal-profile
---
Full diff: https://github.com/llvm/llvm-project/pull/122559.diff
1 Files Affected
https://github.com/vitalybuka edited
https://github.com/llvm/llvm-project/pull/122415
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ellishg edited
https://github.com/llvm/llvm-project/pull/122559
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vitalybuka updated
https://github.com/llvm/llvm-project/pull/122415
>From 0021fbc549fcc8c27b184af163ba963c31acc0c1 Mon Sep 17 00:00:00 2001
From: Vitaly Buka
Date: Thu, 9 Jan 2025 20:26:03 -0800
Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20change?=
=?U
https://github.com/ellishg created
https://github.com/llvm/llvm-project/pull/122559
Fix a small formatting issue in the user manual.
https://clang.llvm.org/docs/UsersManual.html#cmdoption-ftemporal-profile
>From 051de1349338cee46e33f63af99f58d0552afb44 Mon Sep 17 00:00:00 2001
From: Ellis Hoag
https://github.com/dschuff approved this pull request.
https://github.com/llvm/llvm-project/pull/122526
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
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 35e76b6a4fc74e64bd6c91e5b9b9eb6a03aa802e
c8d2c210a98fe0c96d758d538d50fcc0ca61a9ff --e
@@ -137,6 +137,10 @@ llvm::AllocaInst
*CodeGenFunction::CreateTempAlloca(llvm::Type *Ty,
Alloca =
new llvm::AllocaInst(Ty, CGM.getDataLayout().getAllocaAddrSpace(),
ArraySize, Name, AllocaInsertPt->getIterator());
+ if (Alloca->getName
https://github.com/Icohedron updated
https://github.com/llvm/llvm-project/pull/122202
>From 5610b225e76b046e911c1a7a0c1e4ccc128d35a1 Mon Sep 17 00:00:00 2001
From: Icohedron
Date: Thu, 9 Jan 2025 01:14:52 +
Subject: [PATCH 1/2] [HLSL] Implement the D3DCOLORtoUBYTE4 intrinsic
---
clang/lib
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Paul Kirth (ilovepi)
Changes
We test the `--repository` output in the unit tests, but that option fails to
change the HTML output in the end-to-end tests. Upcoming patches will address
the incorrect behavior.
---
Full diff: htt
https://github.com/ilovepi ready_for_review
https://github.com/llvm/llvm-project/pull/122565
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ilovepi created
https://github.com/llvm/llvm-project/pull/122565
We test the `--repository` output in the unit tests, but that option fails to
change the HTML output in the end-to-end tests. Upcoming patches will address
the incorrect behavior.
>From fcf9e19991a989911860e9b3b
ilovepi wrote:
* **#122566** https://app.graphite.dev/github/pr/llvm/llvm-project/122566?utm_source=stack-comment-icon";
target="_blank">https://static.graphite.dev/graphite-32x32-black.png"; alt="Graphite"
width="10px" height="10px"/>
* **#122565** https://app.graphite.dev/github/pr/llvm/llvm-
MaskRay wrote:
> maurer: I think their point is that even if you are not changing the hash
> scheme, you are proposing breaking compatibility of the identifier with
> existing code. Since we don't want to do this many times, if we are breaking
> compatibility with existing code, they would lik
https://github.com/labrinea updated
https://github.com/llvm/llvm-project/pull/122192
>From a93614ed2f7038f0c1da6b70db989006b3434d4c Mon Sep 17 00:00:00 2001
From: Alexandros Lamprineas
Date: Wed, 8 Jan 2025 23:14:09 +
Subject: [PATCH 1/2] [FMV][AArch64] Changes in fmv-features metadata.
*
@@ -12726,11 +12726,15 @@ bool ASTContext::DeclMustBeEmitted(const Decl *D) {
// Likewise, variables with tuple-like bindings are required if their
// bindings have side-effects.
- if (const auto *DD = dyn_cast(VD))
-for (const auto *BD : DD->bindings())
- if (co
@@ -3771,6 +3771,12 @@ CINDEX_LINKAGE enum CXRefQualifierKind
clang_Type_getCXXRefQualifier(CXType T);
*/
CINDEX_LINKAGE unsigned clang_isVirtualBase(CXCursor);
+/**
+ * Returns the offset in bits of a CX_CXXBaseSpecifier relative to the parent
+ * class.
+ */
+CINDEX_LINKAG
@@ -27,6 +27,33 @@ unsigned clang_isVirtualBase(CXCursor C) {
return B->isVirtual();
}
+unsigned clang_visitCXXBaseClasses(CXType PT, CXFieldVisitor visitor,
+ CXClientData client_data) {
+ CXCursor PC = clang_getTypeDeclaration(PT);
+ if
nikic wrote:
I'm concerned about the soundness of our current implementation for these
assumptions, see my comment at
https://github.com/llvm/llvm-project/pull/120962#issuecomment-2582864870. Not
sure we should be exposing the current implementation from clang.
https://github.com/llvm/llvm-pr
@@ -120,26 +120,33 @@
// RUN: | FileCheck -check-prefix=EMSCRIPTEN_EH_ALLOWED_WO_ENABLE %s
// EMSCRIPTEN_EH_ALLOWED_WO_ENABLE: invalid argument '-mllvm
-emscripten-cxx-exceptions-allowed' only allowed with '-mllvm
-enable-emscripten-cxx-exceptions'
-// '-fwasm-exceptions'
@@ -154,46 +161,46 @@
// WASM_EXCEPTIONS_NO_REFERENCE_TYPES: invalid argument '-fwasm-exceptions'
not allowed with '-mno-reference-types'
// '-mllvm -wasm-enable-sjlj' sets +exception-handling, +multivalue,
-// +reference-types and '-exception-model=wasm'
+// +reference-type
@@ -120,26 +120,33 @@
// RUN: | FileCheck -check-prefix=EMSCRIPTEN_EH_ALLOWED_WO_ENABLE %s
// EMSCRIPTEN_EH_ALLOWED_WO_ENABLE: invalid argument '-mllvm
-emscripten-cxx-exceptions-allowed' only allowed with '-mllvm
-enable-emscripten-cxx-exceptions'
-// '-fwasm-exceptions'
@@ -413,53 +422,11 @@ void WebAssembly::addClangTargetOptions(const ArgList
&DriverArgs,
}
}
-if (Opt.starts_with("-wasm-enable-sjlj")) {
- // '-mllvm -wasm-enable-sjlj' is not compatible with
- // '-mno-exception-handling'
- if (DriverArgs.hasFla
@@ -58,6 +58,26 @@ code bases.
containing strict-aliasing violations. The new default behavior can be
disabled using ``-fno-pointer-tbaa``.
+- Clang will now more aggressively use undefined behavior on pointer addition
+ overflow for optimization purposes. For example, a
@@ -58,6 +58,26 @@ code bases.
containing strict-aliasing violations. The new default behavior can be
disabled using ``-fno-pointer-tbaa``.
+- Clang will now more aggressively use undefined behavior on pointer addition
+ overflow for optimization purposes. For example, a
https://github.com/zmodem commented:
Thanks for following up on this!
https://github.com/llvm/llvm-project/pull/122462
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -58,6 +58,26 @@ code bases.
containing strict-aliasing violations. The new default behavior can be
disabled using ``-fno-pointer-tbaa``.
+- Clang will now more aggressively use undefined behavior on pointer addition
zmodem wrote:
Could we add a motivat
https://github.com/zmodem edited
https://github.com/llvm/llvm-project/pull/122462
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3181,136 +3193,250 @@ Register
SPIRVInstructionSelector::buildPointerToResource(
return AcReg;
}
-bool SPIRVInstructionSelector::selectFirstBitHigh16(Register ResVReg,
-const SPIRVType *ResType,
-
https://github.com/fhahn updated
https://github.com/llvm/llvm-project/pull/121789
>From efd38085120304c434487bf4a58a025086698180 Mon Sep 17 00:00:00 2001
From: Florian Hahn
Date: Mon, 6 Jan 2025 13:39:55 +
Subject: [PATCH 1/5] [Clang] Add __builtin_assume_dereferenceable to encode
deref as
https://github.com/quic-garvgupt edited
https://github.com/llvm/llvm-project/pull/121829
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/hokein closed
https://github.com/llvm/llvm-project/pull/118501
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/CarolineConcatto approved this pull request.
https://github.com/llvm/llvm-project/pull/121063
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jthackray approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/121802
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,54 @@
+// RUN: %clang_cc1 -triple aarch64-linux-gnu -target-feature +neon
-target-feature +bf16 -target-feature +faminmax -target-feature +fp8 -emit-llvm
-verify %s -o /dev/null
CarolineConcatto wrote:
nit: remove -target-feature +bf16 -target-featur
https://github.com/CarolineConcatto approved this pull request.
The commit messsage is missing the f32_mf8 intrinsics
https://github.com/llvm/llvm-project/pull/119911
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bi
https://github.com/emaxx-google updated
https://github.com/llvm/llvm-project/pull/118567
>From 85d3f923e6ae8aa707020dce67892cf4fae73415 Mon Sep 17 00:00:00 2001
From: Maksim Ivanov
Date: Tue, 3 Dec 2024 22:49:09 +
Subject: [PATCH 1/2] [clang] Informative error for lifetimebound in decl-spec
Author: Maksim Ivanov
Date: 2025-01-10T14:16:59+01:00
New Revision: 6b12272353b45def33bf5814cdf9e8587f32d40e
URL:
https://github.com/llvm/llvm-project/commit/6b12272353b45def33bf5814cdf9e8587f32d40e
DIFF:
https://github.com/llvm/llvm-project/commit/6b12272353b45def33bf5814cdf9e8587f32d40e.diff
https://github.com/hokein closed
https://github.com/llvm/llvm-project/pull/118567
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -115,22 +92,12 @@ std::unique_ptr llvm::CreateInfoOutputFile() {
return std::make_unique(2, false); // stderr.
}
-namespace {
-struct CreateDefaultTimerGroup {
- static void *call() {
-return new TimerGroup("misc", "Miscellaneous Ungrouped Timers");
- }
-};
-} // na
@@ -3181,136 +3193,250 @@ Register
SPIRVInstructionSelector::buildPointerToResource(
return AcReg;
}
-bool SPIRVInstructionSelector::selectFirstBitHigh16(Register ResVReg,
-const SPIRVType *ResType,
-
@@ -3181,136 +3193,250 @@ Register
SPIRVInstructionSelector::buildPointerToResource(
return AcReg;
}
-bool SPIRVInstructionSelector::selectFirstBitHigh16(Register ResVReg,
-const SPIRVType *ResType,
-
https://github.com/s-perron approved this pull request.
Generally looks good to me. Thanks for fixing up the vector size issue. I have
a couple minor issue, but I'm fine with this.
https://github.com/llvm/llvm-project/pull/116858
___
cfe-commits maili
https://github.com/s-perron edited
https://github.com/llvm/llvm-project/pull/116858
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/EugeneZelenko commented:
Could you please also move `readability-identifier-naming` entry before
`readability-implicit-bool-conversion` and place `:program:run-clang-tidy.py`
entry after `:program:clang-tidy.py`?
https://github.com/llvm/llvm-project/pull/122290
_
https://github.com/aheejin created
https://github.com/llvm/llvm-project/pull/122466
There were many overlaps between error checking and feature enabling routines
for Wasm EH and Wasm SjLj. This tries to factor out those common routines in
separate lambda functions.
This is not NFC because thi
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Heejin Ahn (aheejin)
Changes
There were many overlaps between error checking and feature enabling routines
for Wasm EH and Wasm SjLj. This tries to factor out those common routines in
separate lambda functions.
This is not NFC because th
@@ -0,0 +1,22 @@
+// RUN: %clang_cc1 -triple aarch64-linux-gnu -target-feature +neon
-target-feature +bf16 -target-feature +faminmax -target-feature +fp8 -emit-llvm
-verify %s -o /dev/null
CarolineConcatto wrote:
Remove -target-feature +bf16 -target-feature +fa
https://github.com/CarolineConcatto approved this pull request.
https://github.com/llvm/llvm-project/pull/120273
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
=?utf-8?q?André?= Brand ,
=?utf-8?q?André?= Brand ,thebrandre
,
=?utf-8?q?André?= Brand ,thebrandre
Message-ID:
In-Reply-To:
https://github.com/thebrandre commented:
I am not sure why the jumbled letters in "GH#117960" are still there and why I
can't apply it (it says the change request is
https://github.com/NagyDonat updated
https://github.com/llvm/llvm-project/pull/122246
From 4d558f5fff178b9897319b0e63dcf6f955e7eee9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Don=C3=A1t=20Nagy?=
Date: Wed, 8 Jan 2025 17:24:34 +0100
Subject: [PATCH 1/2] [NFC][analyzer][docs] Migrate 'annotations.h
https://github.com/AaronBallman closed
https://github.com/llvm/llvm-project/pull/122454
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AaronBallman created
https://github.com/llvm/llvm-project/pull/122454
Reverts llvm/llvm-project#119403
>From 8876f169829dd3c8dfebcfe9652fb1059ce75325 Mon Sep 17 00:00:00 2001
From: Aaron Ballman
Date: Fri, 10 Jan 2025 08:48:34 -0500
Subject: [PATCH] Revert "Fix a cmake error
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Aaron Ballman (AaronBallman)
Changes
Reverts llvm/llvm-project#119403
---
Full diff: https://github.com/llvm/llvm-project/pull/122454.diff
1 Files Affected:
- (modified) clang/cmake/modules/AddClang.cmake (+3-4)
``diff
diff -
https://github.com/erichkeane edited
https://github.com/llvm/llvm-project/pull/120300
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/erichkeane approved this pull request.
No idea what is going on with the python, but only 1 possible nit in the C++
https://github.com/llvm/llvm-project/pull/120300
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://list
@@ -27,6 +27,33 @@ unsigned clang_isVirtualBase(CXCursor C) {
return B->isVirtual();
}
+unsigned clang_visitCXXBaseClasses(CXType PT, CXFieldVisitor visitor,
+ CXClientData client_data) {
+ CXCursor PC = clang_getTypeDeclaration(PT);
+ if
AaronBallman wrote:
Whoops, I clicked too soon, so I closed the revert PR, sorry for that noise.
I think this is a spurious failure unrelated to your changes, so you can ignore
the issue.
https://github.com/llvm/llvm-project/pull/119403
___
cfe-commi
https://github.com/erichkeane approved this pull request.
C++ side looks fine. Python looks innocuous enough, but I don't know it well
enough to confidently review it.
https://github.com/llvm/llvm-project/pull/122386
___
cfe-commits mailing list
cfe-c
@@ -58,6 +58,26 @@ code bases.
containing strict-aliasing violations. The new default behavior can be
disabled using ``-fno-pointer-tbaa``.
+- Clang will now more aggressively use undefined behavior on pointer addition
+ overflow for optimization purposes. For example, a
HerrCai0907 wrote:
### Merge activity
* **Jan 10, 10:12 AM EST**: A user started a stack merge that includes this
pull request via
[Graphite](https://app.graphite.dev/github/pr/llvm/llvm-project/121406).
https://github.com/llvm/llvm-project/pull/121406
___
sdesmalen-arm wrote:
The assumption cache mechanism is used by a number of passes, such as [partial]
inlining, function specialization and IPSCCP (interprocedural sparse
conditional constant propagation).
The idea behind doing this is to let optimizations iteratively apply knowledge
about the
https://github.com/s-perron approved this pull request.
https://github.com/llvm/llvm-project/pull/122202
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -33,6 +33,14 @@ constexpr enable_if_t bit_cast(T
F) {
return __builtin_bit_cast(U, F);
}
+constexpr vector d3d_color_to_ubyte4(vector V) {
+ // Use the same scaling factor used by FXC (i.e., 255.001953)
+ // Excerpt from stackoverflow discussion:
+ // "Built-in roundi
https://github.com/emaxx-google ready_for_review
https://github.com/llvm/llvm-project/pull/122473
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/emaxx-google edited
https://github.com/llvm/llvm-project/pull/122473
___
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/119911
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,143 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
UTC_ARGS: --version 5
+
+// RUN: %clang_cc1-triple aarch64-none-linux-gnu -target-feature +neon
-target-feature +bf16 -target-feature +fp8 -target-feature +fp8dot2
-target-f
@@ -3181,136 +3193,250 @@ Register
SPIRVInstructionSelector::buildPointerToResource(
return AcReg;
}
-bool SPIRVInstructionSelector::selectFirstBitHigh16(Register ResVReg,
-const SPIRVType *ResType,
-
https://github.com/nikic created
https://github.com/llvm/llvm-project/pull/122462
Add a release note for optimization change related to pointer overflow checks.
I've put this in the breaking changes section to give it the best chance of
being seen.
>From 6940157fa4b9c186f45b98206311b12ab78c40
https://github.com/jvoung updated
https://github.com/llvm/llvm-project/pull/122290
>From 342ff1a05caa6943fe8a86415f30b433ac30106f Mon Sep 17 00:00:00 2001
From: Jan Voung
Date: Thu, 9 Jan 2025 14:10:30 +
Subject: [PATCH 1/3] [clang-tidy] Add a release note about
unchecked-optional-access s
AaronBallman wrote:
Maybe my brain still isn't engaging after the holidays, but I'm still not
seeing why this change is correct. From the point when Clang gets involved:
* The absolute path includes glibc's `limits.h`, which includes the next header
in the chain, which is Clang's:
https://sou
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Nikita Popov (nikic)
Changes
Add a release note for optimization change related to pointer overflow checks.
I've put this in the breaking changes section to give it the best chance of
being seen.
---
Full diff: https://github.com/llvm/ll
zahiraam wrote:
@mjklemm and @saiislam would you mind taking a look at this please? Thanks.
https://github.com/llvm/llvm-project/pull/122108
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-c
https://github.com/AaronBallman approved this pull request.
LGTM, thank you for the release note!
https://github.com/llvm/llvm-project/pull/122462
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/c
jvoung wrote:
> does check doc need to be changed also?
Good question -- I don't see the option IgnoreSmartPointerDereference
advertised in the check docs.
Otherwise, we partially updated the check docs about earlier accessor caching.
Updated more to mention smart pointer like APIs. Also prev
https://github.com/sarnex ready_for_review
https://github.com/llvm/llvm-project/pull/122343
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/s-perron approved this pull request.
https://github.com/llvm/llvm-project/pull/122357
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
101 - 200 of 407 matches
Mail list logo