llvmbot wrote:
@llvm/pr-subscribers-hlsl
Author: Finn Plummer (inbelic)
Changes
Reverts llvm/llvm-project#133800
Reverting to resolve the introduced naming collisions.
---
Full diff: https://github.com/llvm/llvm-project/pull/136252.diff
5 Files Affected:
- (modified) clang/include/cla
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `arc-builder` running on
`arc-worker` while building `clang,llvm` at step 5 "build-unified-tree".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/3/builds/14699
Here is the relevant piece of the build
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`openmp-offload-amdgpu-runtime-2` running on `rocm-worker-hw-02` while building
`clang,llvm` at step 5 "compile-openmp".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/10/builds/3703
Here is the rele
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`cross-project-tests-sie-ubuntu` running on `doug-worker-1a` while building
`clang,llvm` at step 5 "build-unified-tree".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/181/builds/17844
Here is the re
https://github.com/owenca edited
https://github.com/llvm/llvm-project/pull/135779
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/inbelic closed
https://github.com/llvm/llvm-project/pull/136252
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: cor3ntin
Date: 2025-04-18T06:10:58+02:00
New Revision: 8c5a307bd8d406e6167a5cd3ce3c74e2e3bfb2a6
URL:
https://github.com/llvm/llvm-project/commit/8c5a307bd8d406e6167a5cd3ce3c74e2e3bfb2a6
DIFF:
https://github.com/llvm/llvm-project/commit/8c5a307bd8d406e6167a5cd3ce3c74e2e3bfb2a6.diff
LOG:
https://github.com/cor3ntin closed
https://github.com/llvm/llvm-project/pull/136203
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,41 @@
+// RUN: %clang_cc1 -triple arm64e-apple-ios -fptrauth-calls -emit-llvm
-no-enable-noundef-analysis -o - %s | FileCheck %s --check-prefixes
CHECK,CHECK-AUTH
+// RUN: %clang_cc1 -triple arm64-apple-ios -emit-llvm
-no-enable-noundef-analysis -o - %s | FileCheck %
Author: Aaron Ballman
Date: 2025-04-17T07:36:48-04:00
New Revision: a84a6f7dd68b218757e192fe21a806c80ef0b63d
URL:
https://github.com/llvm/llvm-project/commit/a84a6f7dd68b218757e192fe21a806c80ef0b63d
DIFF:
https://github.com/llvm/llvm-project/commit/a84a6f7dd68b218757e192fe21a806c80ef0b63d.diff
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Galen Elias (galenelias)
Changes
This addresses:
Issue #77341: clang-tidy fails to parse config files silently, even
with --verify-config.
Currently when clang-tidy attempts to parse a .clang-tidy config file with
invalid sy
https://github.com/galenelias created
https://github.com/llvm/llvm-project/pull/136167
This addresses:
Issue #77341: clang-tidy fails to parse config files silently, even with
--verify-config.
Currently when clang-tidy attempts to parse a .clang-tidy config file with
invalid syntax, it emits
shafik wrote:
This crash is also linked to this PR:
https://github.com/llvm/llvm-project/issues/136119
https://github.com/llvm/llvm-project/pull/135111
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/list
https://github.com/rnk approved this pull request.
https://github.com/llvm/llvm-project/pull/136154
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -502,6 +502,15 @@ def CIR_RecordType : CIR_Type<"Record", "record",
void complete(llvm::ArrayRef members, bool packed,
bool isPadded);
+
+ // Utilities for lazily computing and cacheing data layout info.
+ // FIXME: currently opaque because there's a
@@ -225,17 +235,108 @@ void RecordType::complete(ArrayRef members, bool
packed, bool padded) {
//===--===//
llvm::TypeSize
-RecordType::getTypeSizeInBits(const ::mlir::DataLayout &dataLayout,
-
https://github.com/bcardosolopes approved this pull request.
LGTM once @xlauko is happy
https://github.com/llvm/llvm-project/pull/136036
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bcardosolopes edited
https://github.com/llvm/llvm-project/pull/136036
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
shafik wrote:
> https://godbolt.org/z/sY44dG6Ya is the reproducer. It is not super small but
> still should give an idea as the stack is quite similar to stuff touched by
> this PR.
Did you open a bug report? Maybe w/ reduction is ends up the same as the one I
just linked to.
https://github.
https://github.com/nicovank closed
https://github.com/llvm/llvm-project/pull/135826
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ct-clmsn closed
https://github.com/llvm/llvm-project/pull/136136
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ct-clmsn wrote:
@Sirraide thank you for the quality control check; I wasn't aware of
`DynamicRecursiveASTVisitor` or the
`dataTraverseStmtPre()/dataTraverseStmtPost()` methods. Still catching up to
where the community is currently. I'll close out the PR.
https://github.com/llvm/llvm-project/p
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/136141
This is only permitted in a std::allocator::deallocate frame.
>From 4774ba70d70a33cde681ab8daba7f7429e131ac7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 17 Apr 2025 15:44:49 +0200
S
sarnex wrote:
Thanks!
https://github.com/llvm/llvm-project/pull/135683
___
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-tidy
Author: Galen Elias (galenelias)
Changes
This addresses:
Issue #77341: clang-tidy fails to parse config files silently, even
with --verify-config.
Currently when clang-tidy attempts to parse a .clang-tidy config file with
invalid syntax, i
asudarsa wrote:
> @sarnex I've landed
> [3133c95](https://github.com/llvm/llvm-project/commit/3133c956c57c5b952d3289323891dcdc252ea333)
> to fix a warning from this PR. Thanks!
Thanks so much.
https://github.com/llvm/llvm-project/pull/135683
___
cfe
kazutakahirata wrote:
@sarnex I've landed 3133c956c57c5b952d3289323891dcdc252ea333 to fix a warning
from this PR. Thanks!
https://github.com/llvm/llvm-project/pull/135683
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/
@@ -1294,6 +1296,90 @@ mlir::LogicalResult
CIRToLLVMCmpOpLowering::matchAndRewrite(
return mlir::success();
}
+mlir::LogicalResult CIRToLLVMShiftOpLowering::matchAndRewrite(
+cir::ShiftOp op, OpAdaptor adaptor,
+mlir::ConversionPatternRewriter &rewriter) const {
+
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Ryosuke Niwa (rniwa)
Changes
This PR makes WebKit checkers treat a variable with global storage as safe
instead of constraining to ones that start with k or _k.
---
Full diff: https://github.com/llvm/llvm-project/pull/136170.diff
5 File
https://github.com/rniwa created
https://github.com/llvm/llvm-project/pull/136170
This PR makes WebKit checkers treat a variable with global storage as safe
instead of constraining to ones that start with k or _k.
>From e051846bf5eeb0a6b4f701096e2d461b2c11254d Mon Sep 17 00:00:00 2001
From: Ry
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
Author: Ryosuke Niwa (rniwa)
Changes
This PR makes WebKit checkers treat a variable with global storage as safe
instead of constraining to ones that start with k or _k.
---
Full diff: https://github.com/llvm/llvm-project/pull/13
Author: Nicolas van Kempen
Date: 2025-04-17T13:55:34-04:00
New Revision: 09680dc18d460d439a89a21c69c64508457602ec
URL:
https://github.com/llvm/llvm-project/commit/09680dc18d460d439a89a21c69c64508457602ec
DIFF:
https://github.com/llvm/llvm-project/commit/09680dc18d460d439a89a21c69c64508457602ec.
@@ -2336,16 +2336,9 @@ bool Type::isArithmeticType() const {
}
bool Type::hasBooleanRepresentation() const {
- if (isBooleanType())
-return true;
-
- if (const EnumType *ET = getAs())
-return ET->getDecl()->getIntegerType()->isBooleanType();
-
- if (const AtomicType
@@ -0,0 +1,276 @@
+//===-- RISCVInstrInfoXsfmm.td - SiFive matrix multiply *- tablegen
-*-===//
+//
+// 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
@@ -2302,6 +2316,81 @@ bool RISCVAsmParser::generateVTypeError(SMLoc ErrorLoc) {
"e[8|16|32|64],m[1|2|4|8|f2|f4|f8],[ta|tu],[ma|mu]");
}
+bool RISCVAsmParser::parseXSfmmVTypeToken(const AsmToken &Tok, WWEEState
&State,
+ unsigned
@@ -0,0 +1,276 @@
+//===-- RISCVInstrInfoXsfmm.td - SiFive matrix multiply *- tablegen
-*-===//
+//
+// 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
@@ -34,7 +34,7 @@ body: |
renamable $v11 = PseudoVMV_S_X undef renamable $v11, %1, 8, 5 /* e32 */
renamable $v8 = PseudoVLE64_V_M1 undef renamable $v8, %2, 1, 6 /* e64 */,
2 /* tu, ma */ :: (load unknown-size, align 8)
renamable $v9 = PseudoVLE32_V_M1 u
shafik wrote:
CC @var-const
https://github.com/llvm/llvm-project/pull/135111
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/preames edited
https://github.com/llvm/llvm-project/pull/133031
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/preames commented:
First pass of technical comments. I need to take a much more careful look at
e.g. encodings, but will do that on the next round.
https://github.com/llvm/llvm-project/pull/133031
___
cfe-commits mailing list
cfe-c
https://github.com/mizvekov approved this pull request.
Thanks! LGTM as well.
https://github.com/llvm/llvm-project/pull/136128
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/DanielCChen created
https://github.com/llvm/llvm-project/pull/136202
This PR enables `-m32`, -`maix32` and `-maix64` for AIX only. For other
platforms, the driver will issue an error that `-m32` is not supported.
>From ca318afb810504d248c8bedeb13e2f742a446c37 Mon Sep 17 00:
https://github.com/erichkeane approved this pull request.
I'm unfortunately quite a bit behind here in general, so I can't answer whether
this is the RIGHT fix, but I definitely see that there isn't really anything
questionable about the fix. Sorry I can't be more helpful on that part, but I
https://github.com/ojhunt created
https://github.com/llvm/llvm-project/pull/136204
The existing test behavior checked for a warning being emitted under an #if,
but if the feature detection fails the #if fails and the warning is not
expected in the output.
I've made the test more explicit, and
aeubanks wrote:
ah yes, the build directory can be outside of the source directory, lgtm. still
good to keep the other PR though so outside .clang-format-ignore files don't
leak into clang-format used inside llvm-project
https://github.com/llvm/llvm-project/pull/136154
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 HEAD~1 HEAD --extensions h,cpp --
clang/test/SemaCXX/overload-resolution-deferred-tem
https://github.com/DanielCChen updated
https://github.com/llvm/llvm-project/pull/136202
>From ca318afb810504d248c8bedeb13e2f742a446c37 Mon Sep 17 00:00:00 2001
From: Daniel Chen
Date: Thu, 17 Apr 2025 17:06:27 -0400
Subject: [PATCH 1/3] Enable -m32, -maix32 and -maix64 for Flang on AIX.
---
c
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Oliver Hunt (ojhunt)
Changes
The existing test behavior checked for a warning being emitted under an #if,
but if the feature detection fails the #if fails and the warning is not
expected in the output.
I've made the test more explicit, a
https://github.com/inbelic updated
https://github.com/llvm/llvm-project/pull/133800
>From 9ff87eb37437dc92a554d1d89b236e9a13249694 Mon Sep 17 00:00:00 2001
From: Finn Plummer
Date: Mon, 31 Mar 2025 18:29:26 +
Subject: [PATCH 01/10] [HLSL][RootSignature] Add infastructure to parse
parameter
@@ -36,6 +36,28 @@ typedef __SIZE_TYPE__ size_t;
#include
+#ifdef __ARM_ACLE
+// arm_acle.h needs some stdint types, but -ffreestanding prevents us from
Artem-B wrote:
Shouldn't that be fixed in arm_acle.h itself so it includes the headers with
the types i
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Daniel Chen (DanielCChen)
Changes
This PR enables `-m32`, -`maix32` and `-maix64` for AIX only. For other
platforms, the driver will issue an error that `-m32` is not supported.
---
Full diff: https://github.com/llvm/llvm-project/pull/13
Timm =?utf-8?q?B=C3=A4der?=
Message-ID:
In-Reply-To:
https://github.com/AaronBallman approved this pull request.
LGTM!
https://github.com/llvm/llvm-project/pull/117671
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cg
https://github.com/vitalybuka created
https://github.com/llvm/llvm-project/pull/136177
PR #136030 is expected to work after #136032.
This reverts commit 6b0c8c4acd31eba83bf20ab1cf8729b2153e383c.
>From 76da675334a1683dfe9bf68da58aeda0994f0c65 Mon Sep 17 00:00:00 2001
From: Vitaly Buka
Date: T
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
@llvm/pr-subscribers-clang
Author: Vitaly Buka (vitalybuka)
Changes
PR #136030 is expected to work after #136032.
This reverts commit 6b0c8c4acd31eba83bf20ab1cf8729b2153e383c.
---
Full diff: https://github.com/llvm/llvm-project/pull/13617
https://github.com/vitalybuka closed
https://github.com/llvm/llvm-project/pull/136177
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -299,3 +299,18 @@ void test10() {
for (auto[i, j, k] = arr; i < a; ++i) { }
for (auto[i, j, k] = arr; i < a; ++arr[0]) { }
};
+
+extern void foo(int);
shafik wrote:
Can we also get tests that show diagnostics for lambda cases as well.
https://github.co
@@ -126,6 +126,24 @@ template constexpr vector lit_impl(T
NDotL, T NDotH, T M) {
return Result;
}
+template constexpr T faceforward_impl(T N, T I, T Ng) {
farzonl wrote:
So in cases like length and distance I know why we had a scalar and vector
version
https://github.com/AaronBallman updated
https://github.com/llvm/llvm-project/pull/135407
>From c7e0132617ab01c12b393876b39381171996b793 Mon Sep 17 00:00:00 2001
From: Aaron Ballman
Date: Fri, 11 Apr 2025 13:03:07 -0400
Subject: [PATCH 1/6] Disable -fdollars-in-identifiers by default
Clang used
https://github.com/farzonl edited
https://github.com/llvm/llvm-project/pull/135878
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/farzonl edited
https://github.com/llvm/llvm-project/pull/135878
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/farzonl edited
https://github.com/llvm/llvm-project/pull/135878
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Matheus Izvekov
Date: 2025-04-17T18:40:18-03:00
New Revision: 209d8c8fa4fe16ef41003da17387f7c271002668
URL:
https://github.com/llvm/llvm-project/commit/209d8c8fa4fe16ef41003da17387f7c271002668
DIFF:
https://github.com/llvm/llvm-project/commit/209d8c8fa4fe16ef41003da17387f7c271002668.dif
https://github.com/mizvekov closed
https://github.com/llvm/llvm-project/pull/136201
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
wangpc-pp wrote:
LGTM in general, but I have a question here: can you clarify the naming
strategy? The name used in `-mcpu` is `xiangshan-kunminghu`, which corresponds
to the `V2R2` version now apparently. Then, will there be `V2R3`/`V3R2`/...? If
so, what should we use in `-mcpu`?
https://gi
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Bill Wendling (bwendling)
Changes
C allows the programmer to cast the base array to a different type before
applying the index. We need to handle that situation.
struct annotated {
unsigned long flags;
int count;
int
zahiraam wrote:
if @alexey-bataev doesn't have additional comments, I or he can merge it in for
you.
https://github.com/llvm/llvm-project/pull/135463
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listin
bwendling wrote:
Also, I'm going to have a larger patch coming after this which will support
__bdos on pointers with __counted_by. It contains some refactoring which will
help readability a bit more.
https://github.com/llvm/llvm-project/pull/136239
_
https://github.com/owenca closed
https://github.com/llvm/llvm-project/pull/136109
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`openmp-offload-amdgpu-runtime-2` running on `rocm-worker-hw-02` while building
`clang` at step 7 "Add check check-clang".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/10/builds/3698
Here is the re
https://github.com/bwendling updated
https://github.com/llvm/llvm-project/pull/136239
>From b656baa1efb1de934121e19539a4e3a5d4305eb5 Mon Sep 17 00:00:00 2001
From: Bill Wendling
Date: Thu, 17 Apr 2025 18:18:37 -0700
Subject: [PATCH 1/2] [Clang][counted_by] Support casting the array to a
differ
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lldb-arm-ubuntu` running
on `linaro-lldb-arm-ubuntu` while building `clang` at step 6 "test".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/18/builds/14684
Here is the relevant piece of the build lo
@@ -108,6 +108,32 @@ DependencyScanningFilesystemSharedCache::getShardForUID(
return CacheShards[Hash % NumShards];
}
+void DependencyScanningFilesystemSharedCache::
+diagnoseInvalidNegativeStatCachedPaths(
+std::vector &InvalidPaths,
jansvoboda1
arsenm wrote:
* **#136196** https://app.graphite.dev/github/pr/llvm/llvm-project/136196?utm_source=stack-comment-icon";
target="_blank">https://static.graphite.dev/graphite-32x32-black.png"; alt="Graphite"
width="10px" height="10px"/> 👈 https://app.graphite.dev/github/pr/llvm/llvm-project/13619
@@ -7889,9 +7889,13 @@ def code_completion_with_fixits : Flag<["-"],
"code-completion-with-fixits">,
def skip_function_bodies : Flag<["-"], "skip-function-bodies">,
HelpText<"Skip function bodies when possible">,
MarshallingInfoFlag>;
-def disable_free : Flag<["-"], "disab
github-actions[bot] wrote:
:warning: undef deprecator found issues in your code. :warning:
You can test this locally with the following command:
``bash
git diff -U0 --pickaxe-regex -S
'([^a-zA-Z0-9#_-]undef[^a-zA-Z0-9_-]|UndefValue::get)' 'HEAD~1' HEAD
clang/lib/CodeGen/TargetBu
bwendling wrote:
I added testcases and also ran tests to make sure that the correct value's
returned by __bdos.
https://github.com/llvm/llvm-project/pull/136239
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mai
https://github.com/qiongsiwu updated
https://github.com/llvm/llvm-project/pull/135703
>From d4b1210c16b4fccc6faa9445bee457a1e330a025 Mon Sep 17 00:00:00 2001
From: Qiongsi Wu
Date: Mon, 14 Apr 2025 16:49:07 -0700
Subject: [PATCH 1/5] Initial commit.
---
.../DependencyScanningFilesystem.h
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 HEAD~1 HEAD --extensions cpp,c --
clang/lib/CodeGen/CGBuiltin.cpp clang/test/CodeGen/
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Chandler Carruth (chandlerc)
Changes
This lets us pass `-no-disable-free` to re-enable freeing memory for example.
This is especially helpful for library users of Clang where it is important to
not slowly leak memory.
---
Full diff: http
wenju-he wrote:
> I'd expect the libclc build (or any other runtime support library) to
> consistently use the same language version independent of the target. If the
> target doesn't support that version (which IIRC isn't actually a hard error
> anywhere) and fails to compile on some feature,
https://github.com/RossComputerGuy created
https://github.com/llvm/llvm-project/pull/136247
Adds the rest of the targets which support UEFI according to the
[spec](https://uefi.org/sites/default/files/resources/UEFI_Spec_2_10_Aug29.pdf).
>From fe082622b38f5b4e00a5be7076523ad2adb104a4 Mon Sep 1
Author: Thurston Dang
Date: 2025-04-17T15:14:52-07:00
New Revision: 20cd74a1c1555385e65d26ff22de7ef75fcb4090
URL:
https://github.com/llvm/llvm-project/commit/20cd74a1c1555385e65d26ff22de7ef75fcb4090
DIFF:
https://github.com/llvm/llvm-project/commit/20cd74a1c1555385e65d26ff22de7ef75fcb4090.diff
https://github.com/DanielCChen edited
https://github.com/llvm/llvm-project/pull/136202
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bwendling created
https://github.com/llvm/llvm-project/pull/136239
C allows the programmer to cast the base array to a different type before
applying the index. We need to handle that situation.
struct annotated {
unsigned long flags;
int count;
int arr
https://github.com/chandlerc updated
https://github.com/llvm/llvm-project/pull/136213
>From 6c53f36e9306d5abc50b9afcc1fe6a204d67c6e1 Mon Sep 17 00:00:00 2001
From: Chandler Carruth
Date: Wed, 16 Apr 2025 22:57:18 +
Subject: [PATCH] Make the `-disable-free` flag more full featured
This lets
https://github.com/bob-wilson created
https://github.com/llvm/llvm-project/pull/136227
There is no main file when building a module, so the code in
HeaderIncludesJSONCallback::EndOfMainFile() needs to check for that to avoid
crashing.
>From 160e490852d9bcb85da0cf398a72698438ec5e77 Mon Sep 17
@@ -5238,6 +5238,14 @@ inline bool IsEnumDeclScoped(EnumDecl *ED) {
return ED->isScoped();
}
+/// Return the integer type corresponding to the given decl.
+///
+/// We use this function to break a cycle between the inline definitions in
+/// Type.h and Decl.h.
+inline QualTy
@@ -299,3 +299,18 @@ void test10() {
for (auto[i, j, k] = arr; i < a; ++i) { }
for (auto[i, j, k] = arr; i < a; ++arr[0]) { }
};
+
+extern void foo(int);
shafik wrote:
We normally wrap tests from bug reports in `namespace GH` where is the
bug rep
https://github.com/vbvictor edited
https://github.com/llvm/llvm-project/pull/136097
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sarnex closed
https://github.com/llvm/llvm-project/pull/136188
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Nick Sarnie
Date: 2025-04-17T19:49:06Z
New Revision: 1c35f8145a79b5693b1517d9f4517a1ade5a95e4
URL:
https://github.com/llvm/llvm-project/commit/1c35f8145a79b5693b1517d9f4517a1ade5a95e4
DIFF:
https://github.com/llvm/llvm-project/commit/1c35f8145a79b5693b1517d9f4517a1ade5a95e4.diff
LOG: [
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Nick Sarnie (sarnex)
Changes
Going to modify this code so needs formatting.
---
Full diff: https://github.com/llvm/llvm-project/pull/136188.diff
1 Files Affected:
- (modified) clang/lib/Sema/SemaARM.cpp (+4-1)
``diff
diff --g
llvmbot wrote:
@llvm/pr-subscribers-backend-aarch64
@llvm/pr-subscribers-backend-arm
Author: Nick Sarnie (sarnex)
Changes
Going to modify this code so needs formatting.
---
Full diff: https://github.com/llvm/llvm-project/pull/136188.diff
1 Files Affected:
- (modified) clang/lib/Sema/Se
https://github.com/sarnex updated
https://github.com/llvm/llvm-project/pull/128222
>From 86cde46f62fae495077e3e8e00f75307d644e651 Mon Sep 17 00:00:00 2001
From: "Sarnie, Nick"
Date: Thu, 17 Apr 2025 12:07:02 -0700
Subject: [PATCH] [clang][ARM] Define intrinsics guarded by __has_builtin on
all
@@ -34,7 +34,7 @@ body: |
renamable $v11 = PseudoVMV_S_X undef renamable $v11, %1, 8, 5 /* e32 */
renamable $v8 = PseudoVLE64_V_M1 undef renamable $v8, %2, 1, 6 /* e64 */,
2 /* tu, ma */ :: (load unknown-size, align 8)
renamable $v9 = PseudoVLE32_V_M1 u
https://github.com/jansvoboda11 created
https://github.com/llvm/llvm-project/pull/136178
This PR fixes two issues in one go:
1. The dependency directives getter (a `std::function`) was being stored in
`PreprocessorOptions`. The goes against the principle where the options classes
are supposed
@@ -2774,7 +2774,7 @@ class alignas(TypeAlignment) Type : public
ExtQualsTypeCommonBase {
bool hasFloatingRepresentation() const;
/// Determine whether this type has a boolean representation
- /// of some sort.
+ /// of some sort, e.g., it is a boolean type or a vector
@@ -8623,6 +8624,13 @@ inline bool Type::isIntegralOrEnumerationType() const {
inline bool Type::isBooleanType() const {
if (const auto *BT = dyn_cast(CanonicalType))
return BT->getKind() == BuiltinType::Bool;
+ if (const EnumType *ET = dyn_cast(CanonicalType)) {
+//
@@ -2336,16 +2336,9 @@ bool Type::isArithmeticType() const {
}
bool Type::hasBooleanRepresentation() const {
- if (isBooleanType())
-return true;
-
- if (const EnumType *ET = getAs())
-return ET->getDecl()->getIntegerType()->isBooleanType();
-
- if (const AtomicType
carlosgalvezp wrote:
This is great, thank you! I'll have a look in the coming days.
https://github.com/llvm/llvm-project/pull/136167
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
201 - 300 of 458 matches
Mail list logo