cor3ntin wrote:
@offsetof CI got confused. Can you try to push an empty commit? Sorry about that
https://github.com/llvm/llvm-project/pull/131320
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cf
https://github.com/koplas edited
https://github.com/llvm/llvm-project/pull/133077
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
XiaShark wrote:
> > There are lots of bugs like this in this area, this is not the only feature
> > like this. Should this be fixed in a more general way?
>
> We've looked at this internally but didn't get around to finishing it.
> `HasD128` etc map to `Extensions` in `AArch64Features.td`, I t
@@ -19001,9 +19001,9 @@ void Sema::ActOnFields(Scope *S, SourceLocation RecLoc,
Decl *EnclosingDecl,
// Verify that all the fields are okay.
SmallVector RecFields;
-
+ std::optional PreviousField;
ojhunt wrote:
@rnk this is sufficiently constrained/non-
GeorgeKA wrote:
Opened a separate PR given the branch I used here implies disabling the feature.
https://github.com/llvm/llvm-project/pull/133806
https://github.com/llvm/llvm-project/pull/133597
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
h
Author: Nikolas Klauser
Date: 2025-04-02T17:59:08+02:00
New Revision: 04676c61604bc81062581719dadf070ab0b19385
URL:
https://github.com/llvm/llvm-project/commit/04676c61604bc81062581719dadf070ab0b19385
DIFF:
https://github.com/llvm/llvm-project/commit/04676c61604bc81062581719dadf070ab0b19385.dif
@@ -498,6 +498,8 @@ clang-format
top of the file.
- Add ``EnumTrailingComma`` option for inserting/removing commas at the end of
``enum`` enumerator lists.
+- Allow to apply parameters bin-packing options to function-like macros that
+ use keywords to delimit parameters (e
@@ -293,7 +294,8 @@ void CIRGenFunction::startFunction(GlobalDecl gd, QualType
returnType,
mlir::Value addrVal =
emitAlloca(cast(paramVar)->getName(),
- convertType(paramVar->getType()), paramLoc, alignment);
+ convertType(param
@@ -265,3 +265,125 @@ void test_empty_while_true() {
// OGCG: br label %[[WHILE_BODY:.*]]
// OGCG: [[WHILE_BODY]]:
// OGCG: ret void
+
+void unreachable_after_continue() {
+ for (;;) {
+continue;
+int x = 1;
+ }
+}
+
+// CIR: cir.func @unreachable_after_continue
+
@@ -8,11 +8,11 @@ int main(int argc, char **argv) {
#pragma omp nowait target update to(i) // expected-error {{expected an
OpenMP directive}}
#pragma omp target nowait update to(i) // expected-error {{unexpected OpenMP
clause 'update' in directive '#pragma omp target'}} ex
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 --
clang/test/Driver/clang-sycl-linker-test.cpp
clang/t
github-actions[bot] wrote:
⚠️ We detected that you are using a GitHub private e-mail address to contribute
to the repo. Please turn off [Keep my email addresses
private](https://github.com/settings/emails) setting in your account. See
[LLVM
Discourse](https://discourse.llvm.org/t/hidden-email
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`premerge-monolithic-windows` running on `premerge-windows-1` while building
`clang,llvm` at step 7 "build-unified-tree".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/35/builds/8425
Here is the rel
Juan Manuel Martinez =?utf-8?q?Caamaño?= ,
Juan Manuel Martinez =?utf-8?q?Caamaño?= ,
Juan Manuel Martinez =?utf-8?q?Caamaño?=
Message-ID:
In-Reply-To:
@@ -0,0 +1,45 @@
+; RUN: split-file %s %t
arsenm wrote:
It's super annoying when these tests break. We shoul
Author: Matheus Izvekov
Date: 2025-03-22T12:12:24-03:00
New Revision: 5999be0f4770e9dd0f88ee9051a37119c8f5a1e4
URL:
https://github.com/llvm/llvm-project/commit/5999be0f4770e9dd0f88ee9051a37119c8f5a1e4
DIFF:
https://github.com/llvm/llvm-project/commit/5999be0f4770e9dd0f88ee9051a37119c8f5a1e4.dif
https://github.com/Fznamznon closed
https://github.com/llvm/llvm-project/pull/133451
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
tbaederr wrote:
Let's merge this so we can check if the broken builders are fixed.
https://github.com/llvm/llvm-project/pull/132762
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
shiltian wrote:
* **#132814** https://app.graphite.dev/github/pr/llvm/llvm-project/132814?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/132
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes
Message-ID:
In-Reply-To:
https://github.c
@@ -11,6 +11,24 @@
include "mlir/Pass/PassBase.td"
+def CIRCanonicalize : Pass<"cir-canonicalize"> {
+ let summary = "Performs CIR canonicalization";
+ let description = [{
+Perform canonicalizations on CIR and removes some redundant operations.
+
+This pass perform
https://github.com/jsjodin updated
https://github.com/llvm/llvm-project/pull/133310
>From 8193adb194d456c8d8f719869d920b6214f0505e Mon Sep 17 00:00:00 2001
From: Jan Leyonberg
Date: Sun, 23 Mar 2025 09:56:51 -0400
Subject: [PATCH 1/9] Initial modifications to support reductions in flang.
---
@@ -140,6 +140,7 @@ BUILTIN(__builtin_amdgcn_cvt_pknorm_u16, "E2Usff", "nc")
BUILTIN(__builtin_amdgcn_cvt_pk_i16, "E2sii", "nc")
BUILTIN(__builtin_amdgcn_cvt_pk_u16, "E2UsUiUi", "nc")
BUILTIN(__builtin_amdgcn_cvt_pk_u8_f32, "UifUiUi", "nc")
+BUILTIN(__builtin_amdgcn_cvt_off_f32
https://github.com/NagyDonat closed
https://github.com/llvm/llvm-project/pull/131612
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Ankur Ahir
Date: 2025-04-03T09:11:27+08:00
New Revision: fb7135ec5239a45b43fae6206f7409fd77c50b9f
URL:
https://github.com/llvm/llvm-project/commit/fb7135ec5239a45b43fae6206f7409fd77c50b9f
DIFF:
https://github.com/llvm/llvm-project/commit/fb7135ec5239a45b43fae6206f7409fd77c50b9f.diff
LO
https://github.com/rniwa unassigned
https://github.com/llvm/llvm-project/pull/132518
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,12 @@
+llvm-mustachespec - LLVM tool to test Mustache Compliance Library
+=
+
+llvm-mustachespec test the mustache spec conformance of the LLVM
+mustache library. The spec can be found here https://github.c
@@ -127,9 +127,19 @@ void aix::Linker::ConstructJob(Compilation &C, const
JobAction &JA,
}
MaskRay wrote:
This change needs a test somewhere at flang/test/Driver/
https://github.com/llvm/llvm-project/pull/131822
__
@@ -631,6 +631,9 @@ Improvements to Clang's diagnostics
- Clang now diagnoses dangling references for C++20's parenthesized aggregate
initialization (#101957).
+- A new off-by-default warning ``-Wms-bitfield-compatibility`` has been added
to alert to cases where bit-field
-
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-armv7-lnt` running
on `linaro-clang-armv7-lnt` while building `clang,llvm` at step 6 "build stage
1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/77/builds/10355
Here is the relevant piece
https://github.com/bob80905 commented:
For example, for `abs`, it still depends on the _HLSL_16BIT_AVAILABILITY
availability attribute. Does this PR intend to keep abs overloads using half
"unexposed"? Or should that overload for abs be exposed too?
https://github.com/llvm/llvm-project/pull/13
https://github.com/DavidSpickett edited
https://github.com/llvm/llvm-project/pull/134366
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rafl edited https://github.com/llvm/llvm-project/pull/131932
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jadhbeika wrote:
@openmp-team @MaskRay @ABataev — this PR is ready and passes all tests.
It adds OpenMP 6.0 support for `nowait(expr)`, with full parsing and Sema, and
is backward compatible with OpenMP ≤ 5.2.
Would appreciate your review. Thank you!
https://github.com/llvm/llvm-project/pull/
https://github.com/erichkeane approved this pull request.
This seems reasonable to me. All of the changes look sound. Good job finding
room here!
https://github.com/llvm/llvm-project/pull/132021
___
cfe-commits mailing list
cfe-commits@lists.llvm.or
mizvekov wrote:
Clang does crash with one of the included test cases, if you try to actually
use the function: https://godbolt.org/z/e6e6Ehjoj
My reading is that using a static function with placeholder type before it has
been deduced is ill-formed, per https://eel.is/c++draft/dcl.spec.auto#ge
https://github.com/hchandel created
https://github.com/llvm/llvm-project/pull/132184
This extension adds nine instructions, eight for non-memory-mapped devices
synchronization and delay instruction.
The current spec can be found at:
https://github.com/quic/riscv-unified-db/releases/tag/Xqci-0.
https://github.com/rjodinchr updated
https://github.com/llvm/llvm-project/pull/132390
>From 95eeda421b4cdc468f828d36146d609e80d195d9 Mon Sep 17 00:00:00 2001
From: Romaric Jodin
Date: Fri, 21 Mar 2025 13:51:41 +0100
Subject: [PATCH 1/3] libclc: erfc: fix fp32 implementation
On some implementat
earnol wrote:
Could you please look into https://github.com/llvm/llvm-project/issues/133144?
It looks like to be caused by your change.
https://github.com/llvm/llvm-project/pull/132401
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://li
https://github.com/steakhal closed
https://github.com/llvm/llvm-project/pull/132579
___
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: Ryosuke Niwa (rniwa)
Changes
This PR adds the support for treating capturing of "self" as safe if the lambda
simultaneously captures "protectedSelf", which is a RetainPtr of "self".
This PR also fixes a bug that the checker wasn't generat
Author: Kazu Hirata
Date: 2025-03-22T08:06:38-07:00
New Revision: c6c394634c46156313cfbcaf87678f25e0245dbe
URL:
https://github.com/llvm/llvm-project/commit/c6c394634c46156313cfbcaf87678f25e0245dbe
DIFF:
https://github.com/llvm/llvm-project/commit/c6c394634c46156313cfbcaf87678f25e0245dbe.diff
L
@@ -4894,7 +4894,7 @@ def HLSLDotProduct : LangBuiltin<"HLSL_LANG"> {
def HLSLDot2Add : LangBuiltin<"HLSL_LANG"> {
let Spellings = ["__builtin_hlsl_dot2add"];
let Attributes = [NoThrow, Const, CustomTypeChecking];
sumitsays wrote:
Removing this makes Codeg
https://github.com/s-perron updated
https://github.com/llvm/llvm-project/pull/127675
>From acd00a62efc6ca58311800caffe1e46735f8cc57 Mon Sep 17 00:00:00 2001
From: Steven Perron
Date: Wed, 12 Feb 2025 15:45:32 -0500
Subject: [PATCH] [HLSL] Use hlsl_device address space for getpointer.
We add th
Sirraide wrote:
Also, because there are some comments about extending this to C: I’d prefer to
figure that out in a follow-up pr otherwise this one is probably going to get
pretty big
https://github.com/llvm/llvm-project/pull/132348
___
cfe-commits m
https://github.com/phoebewang closed
https://github.com/llvm/llvm-project/pull/132414
___
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
@llvm/pr-subscribers-clang-codegen
Author: Vikram Hegde (vikramRH)
Changes
https://github.com/llvm/llvm-project/pull/86796 added support for atomicrmw FP
ops with fixed vector types. This patch intends to allow the same with clang
atomic builtins
@@ -284,6 +284,18 @@ void
CodeGenFunction::AddAMDGPUFenceAddressSpaceMMRA(llvm::Instruction *Inst,
Inst->setMetadata(LLVMContext::MD_mmra, MMRAMetadata::getMD(Ctx, MMRAs));
}
+static Value *GetOrInsertAMDGPUPredicate(CodeGenFunction &CGF, Twine Name) {
+ auto PTy = Integer
@@ -91,6 +91,137 @@ if.end: ; preds =
%if.else, %if.then
%3 = load i32, ptr %resp, align 4
ret i32 %3
}
+
+; CHECK: define i32 @flatten_switch(i32 %X)
+; CHECK-NOT: hlsl.controlflow.hint
+; CHECK: switch i32 %0, label %sw.epil
https://github.com/steakhal edited
https://github.com/llvm/llvm-project/pull/133381
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -131,7 +131,8 @@ _CLC_OVERLOAD _CLC_DEF float erfc(float x) {
float ret = 0.0f;
float z = as_float(ix & 0xf000);
-float r = exp(mad(-z, z, -0.5625f)) * exp(mad(z - absx, z + absx, q));
+float r = exp(-z * z) * exp(mad(z - absx, z + absx, q));
+r *= 0
llvmbot wrote:
@llvm/pr-subscribers-lld
Author: Theo Paris (theoparis)
Changes
This fixes building with LLVM_TOOL_LLVM_DRIVER_BUILD and LLVM_LINK_LLVM_DYLIB
set to true. CMake requires that "all uses of target_link_libraries with a
target must be either all-keyword or all-plain".
---
F
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/133357
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4920,6 +4920,116 @@ If no address spaces names are provided, all address
spaces are fenced.
__builtin_amdgcn_fence(__ATOMIC_SEQ_CST, "workgroup", "local")
__builtin_amdgcn_fence(__ATOMIC_SEQ_CST, "workgroup", "local", "global")
+__builtin_amdgcn_processor_is and __bui
https://github.com/simpal01 edited
https://github.com/llvm/llvm-project/pull/134099
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Shilei Tian
Date: 2025-03-21T15:26:45-04:00
New Revision: f1ac2afe213f2e438e2959fe54578776e6919fe2
URL:
https://github.com/llvm/llvm-project/commit/f1ac2afe213f2e438e2959fe54578776e6919fe2
DIFF:
https://github.com/llvm/llvm-project/commit/f1ac2afe213f2e438e2959fe54578776e6919fe2.diff
L
DanielKristofKiss wrote:
I don't think that is yet published for Windows.
https://github.com/llvm/llvm-project/pull/132727
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -631,6 +631,7 @@ def Packed : DiagGroup<"packed", [PackedNonPod]>;
def PaddedBitField : DiagGroup<"padded-bitfield">;
def Padded : DiagGroup<"padded", [PaddedBitField]>;
def UnalignedAccess : DiagGroup<"unaligned-access">;
+def MSBitfieldCompatibility : DiagGroup<"ms-bitfiel
@@ -103,6 +113,36 @@ class CIRBaseBuilderTy : public mlir::OpBuilder {
getContext(), mlir::cast(type), valueAttr);
}
+ mlir::TypedAttr getConstNullPtrAttr(mlir::Type t) {
+assert(mlir::isa(t) && "expected cir.ptr");
+return getConstPtrAttr(t, 0);
+ }
+
+ m
https://github.com/Artem-B approved this pull request.
Nice.
Now we're missing the two last steps;
- that ptxas accepts the inline asm instructions we generate
- that those instructions actually do what they are intended to do.
Can you manually verify that the test file actually compiles to a G
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Arvind Sudarsanam (asudarsa)
Changes
This PR does the following:
1. Use SPIR-V backend to do LLVM to SPIR-V translation inside clang-sycl-linker
2. Remove llvm-spirv translator from clang-sycl-linker Currently, no SPIR-V
extensions are en
https://github.com/alanzhao1 closed
https://github.com/llvm/llvm-project/pull/133511
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jhuber6 wrote:
> How'd you manage to find the right ones? IMO we should be using
> include-what-you-use on these to make sure we get it right (if you have
> already, disregard this).
>
> Also, can you share before-split/after-split/after-this build time
> benchmarks? Does this get us back to
wzssyqa wrote:
Reverted
https://github.com/llvm/llvm-project/pull/131781
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes ,
=?utf-8?q?Théo?= De Magalhaes
Message-ID:
In-Reply-To:
https://github.c
https://github.com/s-barannikov commented:
Apparently my English is really not that good, sorry :smile:
Please see the two inline suggestions
https://github.com/llvm/llvm-project/pull/132252
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
htt
@@ -2001,3 +1932,258 @@ NormalizedConstraint::getFoldExpandedConstraint() const
{
"getFoldExpandedConstraint called on non-fold-expanded constraint.");
return cast(Constraint);
}
+
+//
+//
+// Subsumption ---
https://github.com/jmmartinez updated
https://github.com/llvm/llvm-project/pull/132048
From 27b90ab19cc8c8694784b41b53b2623c718071ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Juan=20Manuel=20Martinez=20Caama=C3=B1o?=
Date: Thu, 20 Mar 2025 13:23:25 +0100
Subject: [PATCH 1/3] [AMDGPU] Add "lds-bu
akshayrdeodhar wrote:
For reference:
https://docs.nvidia.com/cuda/nvvm-ir-spec/index.html#nvvm-specific-intrinsic-functions
https://github.com/llvm/llvm-project/pull/134111
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org
https://github.com/alanzhao1 created
https://github.com/llvm/llvm-project/pull/133511
Certain functions require the `returns_twice` attribute in order to produce
correct codegen. However, `-fno-builtin` removes all knowledge of functions
that require this attribute, so this PR modifies Clang t
jansvoboda11 wrote:
> > This now makes much more sense after the renames from the prep-commit.
> > There are still some naming inconsistencies, though. For example
> > `ModuleMap::loadModuleMapFile()` both **parses** and loads a module map
> > file, but `ModuleMap::findOrLoadModule()` expects
https://github.com/farzonl closed
https://github.com/llvm/llvm-project/pull/133795
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jhuber6 updated
https://github.com/llvm/llvm-project/pull/132870
>From 3fe8e18a4fb725b345210f5dffa13716cc7fb7f0 Mon Sep 17 00:00:00 2001
From: Joseph Huber
Date: Mon, 24 Mar 2025 22:36:04 -0500
Subject: [PATCH] [Clang][AMDGPU] Remove special handling for COV4 libraries
Summa
https://github.com/topperc updated
https://github.com/llvm/llvm-project/pull/132529
>From 3b30343a99ecb7095adb734be2e3e71a67a597ac Mon Sep 17 00:00:00 2001
From: Craig Topper
Date: Fri, 21 Mar 2025 23:35:56 -0700
Subject: [PATCH 1/3] [RISCV] Remove experimental from Sdext and Sdtrig which
are
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (offsetof)
Changes
* In `Sema::BuildExpressionFromDeclTemplateArgument`, qualify names of explicit
object member functions, and treat them as lvalues when the parameter is a
reference.
* Mangle explicit object member functions appear
llvmbot wrote:
@llvm/pr-subscribers-backend-risc-v
Author: Jesse Huang (jaidTw)
Changes
Implement the following implications according to the [Zc
spec](https://github.com/riscvarchive/riscv-code-size-reduction/blob/main/Zc-specification/Zc.adoc#13-c)
> As C defines the same instructions
@@ -47,6 +47,28 @@ void f() {
#endif
} // namespace cwg2813
+namespace cwg2815 { // cwg2815: 21
+#if __cpp_noexcept_function_type >= 201510
zwuis wrote:
I'm not sure if checking values of feature test macros is better then checking
the value of `__cplusplus`
https://github.com/ilya-biryukov updated
https://github.com/llvm/llvm-project/pull/132387
>From ef63166c24f7328af8177220be706a573d97009e Mon Sep 17 00:00:00 2001
From: Ilya Biryukov
Date: Fri, 21 Mar 2025 11:42:32 +0100
Subject: [PATCH 1/2] [NFC] [ASTMatchers] Share code of
`forEachArgumentWit
@@ -8020,6 +8020,11 @@ void
OMPClauseWriter::VisitOMPReductionClause(OMPReductionClause *C) {
for (auto *E : C->copy_array_elems())
Record.AddStmt(E);
}
+ auto PrivateFlags = C->private_var_reduction_flags();
+ Record.push_back(std::distance(PrivateFlags.begin(),
https://github.com/RKSimon approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/132405
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
frasercrmck wrote:
> > It's a shame we've got such an ugly way of "opting out" of builtins, but I
> > don't know if it's worth coming up with a nicer one.
>
> Yes, I don't think it's worth it right now.
>
> Could you please submit that PR?
Sure thing.
One thing I wondered is whether the empt
@@ -176,6 +176,13 @@ def HasStdExtZicfiss :
Predicate<"Subtarget->hasStdExtZicfiss()">,
"'Zicfiss' (Shadow stack)">;
def NoHasStdExtZicfiss : Predicate<"!Subtarget->hasStdExtZicfiss()">;
+def FeatureStdExtZilsd
+: RISCVExtension<1
@@ -0,0 +1,32 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
UTC_ARGS: --version 5
+// RUN: %clang --cuda-device-only -nogpuinc -nogpulib -emit-llvm -S -o - %s |
FileCheck %s
jhuber6 wrote:
I feel like this test doesn't need t
@@ -0,0 +1,10 @@
+// RUN: %clang_cc1 -triple x86_64-linux-gnu %s
+
+bool a;
+constexpr const unsigned char c[] = { 5 };
+constexpr const unsigned char d[1] = { 0 };
+auto b = (a ? d : c);
+
+constexpr const unsigned char c1[][1] = {{ 5 }};
+constexpr const unsigned char d1[1][1] =
https://github.com/Sirraide commented:
Just a few typos I noticed
https://github.com/llvm/llvm-project/pull/133426
___
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: Phoebe Wang (phoebewang)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/134240.diff
4 Files Affected:
- (modified) clang/include/clang/Basic/BuiltinsX86.td (+3-3)
- (modified) clang/lib/CodeGen/TargetBuiltins/X86.cpp
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 -- clang/lib/Headers/hlsl.h
clang/lib/Headers/hlsl/hlsl_co
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Donát Nagy (NagyDonat)
Changes
This commit documents `cplusplus.PureVirtualCall` (which was previously
completely undocumented) and improves the documentation of
`optin.cplusplus.VirtualCall` (which was very barebones).
Note that in this
https://github.com/zyn0217 approved this pull request.
https://github.com/llvm/llvm-project/pull/132372
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin closed
https://github.com/llvm/llvm-project/pull/131764
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
efriedma-quic wrote:
The timing of this is sort of unfortunate with #132252; the merge conflict
there is going to be very painful. @jthackray , thoughts?
https://github.com/llvm/llvm-project/pull/132060
___
cfe-commits mailing list
cfe-commits@lists.
https://github.com/Ankur-0429 updated
https://github.com/llvm/llvm-project/pull/133878
>From 289f8630dccf916b8cf7cc43758bae60df036c5d Mon Sep 17 00:00:00 2001
From: Ankur Ahir
Date: Wed, 2 Apr 2025 00:53:33 -0700
Subject: [PATCH] clang frontend crash with friend class declaration and
overloade
https://github.com/jzc updated https://github.com/llvm/llvm-project/pull/133194
>From 8f22fbe1f6272beec61e62bfae72832d75b4f25b Mon Sep 17 00:00:00 2001
From: "Cai, Justin"
Date: Fri, 14 Feb 2025 21:16:27 +
Subject: [PATCH 1/3] [SYCL] Add support AOT compilation support for Intel GPUs
in cla
https://github.com/bcardosolopes edited
https://github.com/llvm/llvm-project/pull/132468
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -223,6 +223,13 @@ endif()
# This can be used to detect whether we're in the runtimes build.
set(LLVM_RUNTIMES_BUILD ON)
+if (LLVM_ENABLE_PER_TARGET_RUNTIME_DIR AND UNIX AND ${CMAKE_SYSTEM_NAME}
MATCHES "AIX")
+ # Set LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF as AIX doesn't s
https://github.com/phoebewang created
https://github.com/llvm/llvm-project/pull/132397
Ref: https://cdrdv2.intel.com/v1/dl/getContent/784343
>From a8353b285f99b57a3d4ce28add512debc8761d5a Mon Sep 17 00:00:00 2001
From: "Wang, Phoebe"
Date: Fri, 21 Mar 2025 20:54:06 +0800
Subject: [PATCH] [X86]
https://github.com/Fznamznon approved this pull request.
https://github.com/llvm/llvm-project/pull/127061
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/frasercrmck created
https://github.com/llvm/llvm-project/pull/133119
The libclc build system isn't well set up to pass arbitrary options to
arbitrary source files in a non-intrusive way. There isn't currently any other
motivating example to warrant rewriting the build system
@@ -253,6 +253,37 @@ const inline float
length(__detail::HLSL_FIXED_VECTOR X) {
return __detail::length_vec_impl(X);
}
+//===--===//
+// lit builtins
+//===--
https://github.com/zyn0217 created
https://github.com/llvm/llvm-project/pull/133575
This is a follow-up to a9672515ce, per Richard's suggestion we should ensure
the instantiation for these unevaluated operators as well.
No release entry because the issue being fixed was already claimed resolve
https://github.com/bassiounix updated
https://github.com/llvm/llvm-project/pull/134214
>From 620bdbed2b372b97b66147684d4ded5b666c7786 Mon Sep 17 00:00:00 2001
From: bassiounix
Date: Thu, 3 Apr 2025 10:08:59 +0200
Subject: [PATCH 01/15] add `bf16`/`BF16` suffix support
---
clang/include/clang/
501 - 600 of 734 matches
Mail list logo