https://github.com/Artem-B edited
https://github.com/llvm/llvm-project/pull/134345
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -703,6 +703,41 @@ let hasSideEffects = false in {
defm CVT_to_tf32_rz_satf : CVT_TO_TF32<"rz.satfinite", [hasPTX<86>,
hasSM<100>]>;
defm CVT_to_tf32_rn_relu_satf : CVT_TO_TF32<"rn.relu.satfinite",
[hasPTX<86>, hasSM<100>]>;
defm CVT_to_tf32_rz_relu_satf : CVT_TO_TF
https://github.com/erichkeane edited
https://github.com/llvm/llvm-project/pull/135372
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/erichkeane edited
https://github.com/llvm/llvm-project/pull/135372
___
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 HEAD~1 HEAD --extensions cpp,h,c --
clang/lib/Sema/SemaOpenACCClauseAppertainment.cpp
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Matheus Izvekov (mizvekov)
Changes
This changes the TemplateArgument representation to hold a flag indicating
whether a tempalte argument of expression type is supposed to be canonical or
not.
This gets one step closer to sol
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Matheus Izvekov (mizvekov)
Changes
This changes the TemplateArgument representation to hold a flag indicating
whether a tempalte argument of expression type is supposed to be canonical or
not.
This gets one step closer to solving
https:
mizvekov wrote:
Adding lldb back to the ci script, as otherwise lldb cannot be tested locally.
https://github.com/llvm/llvm-project/pull/135414
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-
https://github.com/erichkeane edited
https://github.com/llvm/llvm-project/pull/135372
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mizvekov created
https://github.com/llvm/llvm-project/pull/135414
This changes the TemplateArgument representation to hold a flag indicating
whether a tempalte argument of expression type is supposed to be canonical or
not.
This gets one step closer to solving
https://gith
https://github.com/erichkeane edited
https://github.com/llvm/llvm-project/pull/135372
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -349,6 +349,17 @@ Improvements to Clang's diagnostics
- Now correctly diagnose a tentative definition of an array with static
storage duration in pedantic mode in C. (#GH50661)
+- ``-Whigher-precisision-for-complex-divison`` no longer incorrectly warns
when the divisor i
krzysz00 wrote:
@arsenm
Ok, so
1. Forcing the global intrinsic into covering buffers is out per 1:1 rules but
2. Per your comments on the previous PR, a new intrinsic for p7 is also out -
or were you just objecting to the naming?
3. We can't just reuse the intrinsic on p8 (buffer resources) -
https://github.com/MillePlateaux updated
https://github.com/llvm/llvm-project/pull/134465
>From 596679a60bcae58ac1c9e1b3066b21399a58f24b Mon Sep 17 00:00:00 2001
From: MillePlateaux
Date: Fri, 4 Apr 2025 16:26:25 -0700
Subject: [PATCH 1/7] [llvm][Stmt]:git clang format
---
clang/lib/Sema/Sema
@@ -0,0 +1,142 @@
+// RUN: %clang_cc1 -triple arm64-apple-ios -std=c++11 -fptrauth-calls
-fptrauth-intrinsics -verify -fsyntax-only %s
+// RUN: %clang_cc1 -triple aarch64-linux-gnu -std=c++11 -fptrauth-calls
-fptrauth-intrinsics -verify -fsyntax-only %s
+
+#define AQ __ptrauth
Author: erichkeane
Date: 2025-04-11T11:33:20-07:00
New Revision: 52ef55864f50077072e083c5582d23a9ec494142
URL:
https://github.com/llvm/llvm-project/commit/52ef55864f50077072e083c5582d23a9ec494142
DIFF:
https://github.com/llvm/llvm-project/commit/52ef55864f50077072e083c5582d23a9ec494142.diff
LO
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `sanitizer-aarch64-linux`
running on `sanitizer-buildbot8` while building `clang` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/51/builds/14249
Here is the relevant piece of the
eaeltsin wrote:
Dumping pcm files that occasionally differ, we always get the same diff:
```
<
---
> op3=3 op4=21560934252/>
66200c66200
<
---
> op3=2 op4=21560934252/>
66205c66205
<
---
> op3=1 op4=21560934252/>
66223c66223
<
---
> op3=3 op4=21560934252/>
https://github.com/epistax created
https://github.com/llvm/llvm-project/pull/135420
None
>From 6fe4155fad0cdbc6ca04e37df143f22f537d5514 Mon Sep 17 00:00:00 2001
From: Brian Cody
Date: Fri, 11 Apr 2025 14:27:22 -0400
Subject: [PATCH] [cindex] Add support for calling getFullyQualifiedName to the
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/jkorous-apple created
https://github.com/llvm/llvm-project/pull/135421
None
>From 9354e44180338d53bfe811fb9f566f3c959c9d7b Mon Sep 17 00:00:00 2001
From: Jan Korous
Date: Fri, 11 Apr 2025 11:09:33 -0700
Subject: [PATCH] [-Wunsafe-buffer-usage] Add findUnsafePointers
---
..
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Brian Cody (epistax)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/135420.diff
6 Files Affected:
- (modified) clang/bindings/python/clang/cindex.py (+12)
- (modified) clang/bindings/python/tests/cindex/test_type.py
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Jan Korous (jkorous-apple)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/135421.diff
2 Files Affected:
- (modified) clang/include/clang/Analysis/Analyses/UnsafeBufferUsage.h (+3)
- (modified) clang/lib/Analysis/Unsa
Jan =?utf-8?q?G=C3=B3rski?= ,
Jan =?utf-8?q?G=C3=B3rski?= ,
Jan =?utf-8?q?G=C3=B3rski?= ,
Jan =?utf-8?q?G=C3=B3rski?= ,
Jan =?utf-8?q?G=C3=B3rski?= ,
Jan =?utf-8?q?G=C3=B3rski?= ,
Jan =?utf-8?q?G=C3=B3rski?= ,
Jan =?utf-8?q?G=C3=B3rski?=
Message-ID:
In-Reply-To:
https://github.com/efriedma-quic
@@ -2850,6 +2850,26 @@ void CXXNameMangler::mangleQualifiers(Qualifiers Quals,
const DependentAddressSp
if (Quals.hasUnaligned())
mangleVendorQualifier("__unaligned");
+ // __ptrauth. Note that this is parameterized.
+ if (PointerAuthQualifier PtrAuth = Quals.getPoin
https://github.com/erichkeane edited
https://github.com/llvm/llvm-project/pull/135372
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/erichkeane edited
https://github.com/llvm/llvm-project/pull/135372
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
arsenm wrote:
> * Per your comments on the previous PR, a new intrinsic for p7 is also out -
> or were you just objecting to the naming?
Mostly this, but I also dont' really understand why this doesn't fit into the
existing raw_buffer_load_lds
https://github.com/llvm/llvm-project/pull/134911
github-actions[bot] wrote:
:warning: Python code formatter, darker found issues in your code. :warning:
You can test this locally with the following command:
``bash
darker --check --diff -r HEAD~1...HEAD clang/bindings/python/clang/cindex.py
clang/bindings/python/tests/cindex/tes
https://github.com/epistax edited
https://github.com/llvm/llvm-project/pull/135420
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/epistax updated
https://github.com/llvm/llvm-project/pull/135420
>From 6fe4155fad0cdbc6ca04e37df143f22f537d5514 Mon Sep 17 00:00:00 2001
From: Brian Cody
Date: Fri, 11 Apr 2025 14:27:22 -0400
Subject: [PATCH 1/2] [cindex] Add support for calling getFullyQualifiedName to
the
https://github.com/erichkeane edited
https://github.com/llvm/llvm-project/pull/135372
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -287,6 +287,24 @@ Value *CodeGenFunction::EmitHLSLBuiltinExpr(unsigned
BuiltinID,
RetTy, CGM.getHLSLRuntime().getCreateResourceGetPointerIntrinsic(),
ArrayRef{HandleOp, IndexOp});
}
+ case Builtin::BI__builtin_hlsl_resource_createpoisonhandle: {
+llvm
eaeltsin wrote:
Okay, this is `E->Final`, which was
- initialized for
[VisitSubstNonTypeTemplateParmExpr(SubstNonTypeTemplateParmExpr
*E)](https://github.com/llvm/llvm-project/blob/main/clang/lib/Serialization/ASTReaderStmt.cpp#L2233)
- but missed for
[VisitSubstNonTypeTemplateParmPackExpr(S
DKLoehr wrote:
I'm not familiar enough to say what we should be doing; perhaps @rnk or @zmodem
have thoughts? It seems like we should at least emit a better error message,
since just looking at the code doesn't make it clear to me why `operator
delete[]` is relevant.
Since this is causing cla
mizvekov wrote:
Yeah I see, so this was actually missed previously in another node,
`SubstNonTypeTemplateParmPackExpr`, which during substitution propagates this
flag to `SubstNonTypeTemplateParmExpr`.
https://github.com/llvm/llvm-project/pull/134560
___
krzysz00 wrote:
`void raw.buffer.ptr.load.lds(p8 rsrc, p3 lds, i32 immarg size, i32 voffset,
i32 soffset, i32 immarg immOff, i32 immarg aux)`
However
`void raw.buffer.fat.ptr.load.lds(p7 fatPtr, p3 lds, i32 immarg size, i32
immarg immoff, i32 immarg aux)`
Please note that the buffer.ptr vers
@@ -287,6 +287,24 @@ Value *CodeGenFunction::EmitHLSLBuiltinExpr(unsigned
BuiltinID,
RetTy, CGM.getHLSLRuntime().getCreateResourceGetPointerIntrinsic(),
ArrayRef{HandleOp, IndexOp});
}
+ case Builtin::BI__builtin_hlsl_resource_createpoisonhandle: {
+llvm
@@ -3593,6 +3578,25 @@ class sme_tmopa_32b opc, RegisterOperand zn_ty,
RegisterOperand zm_ty, s
let Constraints = "$ZAda = $_ZAda";
}
+multiclass sme_tmopa_16b opc, RegisterOperand zn_ty, RegisterOperand
zm_ty, ValueType vt, string mnemonic, string intrinsic> {
+ def NAME
@@ -0,0 +1,180 @@
+
+// RUN: %clang_cc1 -fsyntax-only -Wms-bitfield-compatibility -verify -triple
armv8 -std=c++23 %s
+// RUN: %clang_cc1 -fsyntax-only -DMS_BITFIELDS -mms-bitfields
-verify=msbitfields -triple armv8-apple-macos10.15 -std=c++23 %s
+
+// msbitfields-no-diagnostics
@@ -717,6 +717,12 @@ bool Sema::checkMustTailAttr(const Stmt *St, const Attr
&MTA) {
return false;
}
+ if (const FunctionDecl *CalleeDecl = CE->getDirectCallee();
+ CalleeDecl && CalleeDecl->hasAttr()) {
+Diag(St->getBeginLoc(), diag::err_musttail_mismatch) <<
slydiman wrote:
Note [lldb-x86_64-debian](https://lab.llvm.org/buildbot/#/builders/162) and
[lldb-aarch64-windows](https://lab.llvm.org/buildbot/#/builders/141) did not
fail because used gcc and msvc to build lldb. But failed lldb tests required
clang. I will test this patch on the environment
ojhunt wrote:
(Finally getting back to this one)
https://github.com/llvm/llvm-project/pull/117428
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,12 @@
+// check that gnu assembler is invoked with arm baremetal as well
+
+// RUN: %clang --target=armv6m-none-eabi
--gcc-toolchain=%S/Inputs/basic_riscv32_tree -fno-integrated-as %s -### -c \
smithp35 wrote:
I'm a bit confused about this test. It i
MillePlateaux wrote:
@AaronBallman I have revised my submission, please review it. I overlooked
```%select{| %1}0```, and I didn't catch the hint you gave me before. Thank you
very much for your guidance and I hope to learn more from you in the future.
https://github.com/llvm/llvm-project/pull
https://github.com/andykaylor updated
https://github.com/llvm/llvm-project/pull/135105
>From 80fa219739a4a6424ec55047fecb41f04d3cf844 Mon Sep 17 00:00:00 2001
From: Andy Kaylor
Date: Wed, 9 Apr 2025 12:45:57 -0700
Subject: [PATCH 1/3] [CIR] Upstream minimal support for structure types
This cha
@@ -37,6 +50,32 @@ class CIRGenBuilderTy : public cir::CIRBaseBuilderTy {
llvm_unreachable("Unsupported format for long double");
}
+ /// Get a CIR record kind from a AST declaration tag.
+ cir::StructType::RecordKind getRecordKind(const clang::TagTypeKind kind) {
+
eaeltsin wrote:
@mizvekov - can
[this](https://github.com/llvm/llvm-project/pull/132401#issuecomment-2795078260)
also be related, or it needs a separate investigation?
https://github.com/llvm/llvm-project/pull/134560
___
cfe-commits mailing list
cfe-
andykaylor wrote:
I'm going to make the change to rename `cir.struct` to `cir.record` separately,
since that's a bigger change and I'm still waiting for input from
@bcardosolopes. Everything else has been addressed, I think.
https://github.com/llvm/llvm-project/pull/135105
@@ -3179,6 +3207,67 @@ void SemaHLSL::ActOnVariableDeclarator(VarDecl *VD) {
}
}
+static bool initVarDeclWithCtor(Sema &S, VarDecl *VD,
+MutableArrayRef Args) {
+ InitializedEntity Entity = InitializedEntity::InitializeVariable(VD);
+ Initia
@@ -3179,6 +3207,67 @@ void SemaHLSL::ActOnVariableDeclarator(VarDecl *VD) {
}
}
+static bool initVarDeclWithCtor(Sema &S, VarDecl *VD,
+MutableArrayRef Args) {
+ InitializedEntity Entity = InitializedEntity::InitializeVariable(VD);
+ Initia
@@ -287,6 +287,24 @@ Value *CodeGenFunction::EmitHLSLBuiltinExpr(unsigned
BuiltinID,
RetTy, CGM.getHLSLRuntime().getCreateResourceGetPointerIntrinsic(),
ArrayRef{HandleOp, IndexOp});
}
+ case Builtin::BI__builtin_hlsl_resource_createpoisonhandle: {
+llvm
@@ -1,34 +1,117 @@
// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-library -x hlsl -emit-llvm
-disable-llvm-passes -o - %s | FileCheck %s --check-prefixes=CHECK,CHECK-DXIL
+// FIXME: SPIR-V codegen of llvm.spv.resource.handlefrombinding and resource
types is not yet implement
https://github.com/V-FEXrt edited
https://github.com/llvm/llvm-project/pull/135120
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -3179,6 +3207,67 @@ void SemaHLSL::ActOnVariableDeclarator(VarDecl *VD) {
}
}
+static bool initVarDeclWithCtor(Sema &S, VarDecl *VD,
+MutableArrayRef Args) {
+ InitializedEntity Entity = InitializedEntity::InitializeVariable(VD);
+ Initia
mizvekov wrote:
It's possible but it's not too closely related.
I will post a patch for this one soon, and then we can try again that one and I
will take a fresh look on the serialization code.
https://github.com/llvm/llvm-project/pull/134560
___
cfe
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`sanitizer-x86_64-linux-fast` running on `sanitizer-buildbot4` while building
`clang` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/169/builds/10368
Here is the relevant piece
https://github.com/AmrDeveloper created
https://github.com/llvm/llvm-project/pull/135427
Follow-up patch to improve variable names in LLVM and OGCG in
https://github.com/llvm/llvm-project/pull/134536
>From 70ce4a06051997d306979b58f264e0a84d484de8 Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Da
llvmbot wrote:
@llvm/pr-subscribers-clangir
Author: Amr Hesham (AmrDeveloper)
Changes
Follow-up patch to improve variable names in LLVM and OGCG in
https://github.com/llvm/llvm-project/pull/134536
---
Full diff: https://github.com/llvm/llvm-project/pull/135427.diff
1 Files Affected:
-
https://github.com/V-FEXrt commented:
LGTM but I don't have enough domain knowledge to approve
https://github.com/llvm/llvm-project/pull/135120
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-
llvmbot wrote:
@llvm/pr-subscribers-clang-modules
Author: Matheus Izvekov (mizvekov)
Changes
This fixes a PCM non-determinism regression reported here:
https://github.com/llvm/llvm-project/pull/134560#issuecomment-2797744370
There was a bit in `SubstNonTypeTemplateParmPackExpr` which we
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Matheus Izvekov (mizvekov)
Changes
This fixes a PCM non-determinism regression reported here:
https://github.com/llvm/llvm-project/pull/134560#issuecomment-2797744370
There was a bit in `SubstNonTypeTemplateParmPackExpr` which we missed t
mizvekov wrote:
This will be fixed here: https://github.com/llvm/llvm-project/pull/135428
https://github.com/llvm/llvm-project/pull/134560
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commi
AmrDeveloper wrote:
> To clarify I wasn't saying that the LLVM checks and OGCG checks needed to use
> the same patterns/names (though it's nice that they do now). The important
> thing was not to have the value identifiers hard-corded in the checks.
>
> Thanks for the update!
I found that it
https://github.com/perry-ca created
https://github.com/llvm/llvm-project/pull/135430
The commit
https://github.com/llvm/llvm-project/commit/a1935fd3809772c06f9a09fa151181642ae92b20
removed an include that is needed when building on z/OS.
>From 97b19d40e42752a980c5584e758570838def193a Mon Se
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Sean Perry (perry-ca)
Changes
The commit
https://github.com/llvm/llvm-project/commit/a1935fd3809772c06f9a09fa151181642ae92b20
removed an include that is needed when building on z/OS.
---
Full diff: https://github.com/llvm/llvm-project/
https://github.com/mizvekov created
https://github.com/llvm/llvm-project/pull/135428
This fixes a PCM non-determinism regression reported here:
https://github.com/llvm/llvm-project/pull/134560#issuecomment-2797744370
There was a bit in `SubstNonTypeTemplateParmPackExpr` which we missed to
ser
https://github.com/efriedma-quic commented:
If we're going to do this, I think we need better diagnostics. Just straight
disabling this is going to give very confusing diagnostics to anyone actually
using dollar-signs in identifiers.
Some ideas:
- We can give a warning if we see a "$" adjac
@@ -0,0 +1,116 @@
+//===--===//
+//
+// 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: Apa
@@ -86,10 +86,64 @@ mlir::Type
CIRGenTypes::convertFunctionTypeInternal(QualType qft) {
return cir::FuncType::get(SmallVector{}, cgm.VoidTy);
}
+// This is CIR's version of CodeGenTypes::addRecordTypeName. It isn't shareable
+// because CIR has different uniquing requiremen
https://github.com/erichkeane commented:
2 issues/concerns, else lgtm.
https://github.com/llvm/llvm-project/pull/135105
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
krzysz00 wrote:
That is to say, because the offset you're gathering from is on the buffer fat
pointer, the addrspace(7) version of this load has the same function signature
as `global.load.lds`, not `buffer.raw.ptr.load.lds`
https://github.com/llvm/llvm-project/pull/134911
@@ -0,0 +1,116 @@
+//===--===//
+//
+// 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: Apa
@@ -86,10 +86,64 @@ mlir::Type
CIRGenTypes::convertFunctionTypeInternal(QualType qft) {
return cir::FuncType::get(SmallVector{}, cgm.VoidTy);
}
+// This is CIR's version of CodeGenTypes::addRecordTypeName. It isn't shareable
+// because CIR has different uniquing requiremen
https://github.com/erichkeane edited
https://github.com/llvm/llvm-project/pull/135105
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/abhina-sree approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/135430
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/isakhilesh closed
https://github.com/llvm/llvm-project/pull/135404
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/andykaylor edited
https://github.com/llvm/llvm-project/pull/135105
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,116 @@
+//===--===//
+//
+// 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: Apa
@@ -1,6 +1,6 @@
-// RUN: %clang -fopenacc -S %s -o /dev/null 2>&1 | FileCheck %s
-check-prefix=ERROR
-// RUN: %clang -fclangir -fopenacc -S %s -o /dev/null 2>&1 | FileCheck %s
--allow-empty -check-prefix=NOERROR
-// RUN: %clang -fopenacc -fclangir -S %s -o /dev/null 2>&1 | FileC
https://github.com/ilovepi closed
https://github.com/llvm/llvm-project/pull/135255
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ilovepi wrote:
> This one shouldn't work. We explicitly don't diagnose this in non-codegen
> invocations.
That's surprising, but if that's the case, I don't think this patch makes much
sense.
https://github.com/llvm/llvm-project/pull/135255
___
cfe
@@ -3231,6 +3241,230 @@ static QualType builtinCommonTypeImpl(Sema &S,
TemplateName BaseTemplate,
}
}
+static QualType CopyCV(QualType From, QualType To) {
+ if (From.isConstQualified())
+To.addConst();
+ if (From.isVolatileQualified())
+To.addVolatile();
+ retur
@@ -145,8 +160,6 @@ struct __common_reference_sub_bullet1<_Tp, _Up> {
philnik777 wrote:
I've added one.
https://github.com/llvm/llvm-project/pull/121199
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https:/
https://github.com/philnik777 updated
https://github.com/llvm/llvm-project/pull/121199
>From 273d0e6149a8326284ec1e385e83c8728c41ff68 Mon Sep 17 00:00:00 2001
From: Nikolas Klauser
Date: Fri, 27 Sep 2024 22:11:14 +0200
Subject: [PATCH] [Clang] Add __builtin_common_reference
---
clang/docs/Lan
https://github.com/zibi2 approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/135430
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/andykaylor approved this pull request.
To clarify I wasn't saying that the LLVM checks and OGCG checks needed to use
the same patterns/names (though it's nice that they do now). The important
thing was not to have the value identifiers hard-corded in the checks.
Thanks for t
https://github.com/mizvekov created
https://github.com/llvm/llvm-project/pull/135434
This fixes a problem originally reported here:
https://github.com/llvm/llvm-project/pull/132401#issuecomment-2795078260
This makes sure we only serialize the class declaration when its strictly
needed, and can
https://github.com/zygoloid approved this pull request.
LGTM, thanks!
https://github.com/llvm/llvm-project/pull/135407
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -119,7 +119,7 @@ LANGOPT(WChar , 1, 0, "wchar_t keyword")
LANGOPT(Char8 , 1, 0, "char8_t keyword")
LANGOPT(IEEE128 , 1, 0, "__ieee128 keyword")
LANGOPT(DeclSpecKeyword , 1, 0, "__declspec keyword")
-BENIGN_LANGOPT(DollarIdents , 1, 1, "'
@@ -1,5 +1,5 @@
// REQUIRES: x86-registered-target
-// RUN: %clang_cc1 %s -triple i386-apple-darwin10 -fasm-blocks -emit-llvm -o -
| FileCheck %s
+// RUN: %clang_cc1 %s -triple i386-apple-darwin10 -fdollars-in-identifiers
-fasm-blocks -emit-llvm -o - | FileCheck %s
https://github.com/zygoloid edited
https://github.com/llvm/llvm-project/pull/135407
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mizvekov wrote:
@eaeltsin speculative fix here, but can you try with this patch?
https://github.com/llvm/llvm-project/pull/135434
https://github.com/llvm/llvm-project/pull/132401
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.ll
@@ -0,0 +1,116 @@
+//===--===//
+//
+// 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: Apa
https://github.com/DanielCChen updated
https://github.com/llvm/llvm-project/pull/134362
>From 7db1cca2ad76b249d1fa2b76e6c488aa41cb3582 Mon Sep 17 00:00:00 2001
From: Daniel Chen
Date: Fri, 4 Apr 2025 06:10:56 -0400
Subject: [PATCH 1/8] [driver] Generalize adding the path of
libflang_rt.runtime
https://github.com/philnik777 updated
https://github.com/llvm/llvm-project/pull/121199
>From 97d6d6918126493fc8c09d9f3af472d701cb2cf9 Mon Sep 17 00:00:00 2001
From: Nikolas Klauser
Date: Fri, 27 Sep 2024 22:11:14 +0200
Subject: [PATCH] [Clang] Add __builtin_common_reference
---
clang/docs/Lan
Author: Jan Korous
Date: 2025-04-11T13:28:18-07:00
New Revision: ee801cdd6e0ba497939cdc1e4dd34b98b4df3675
URL:
https://github.com/llvm/llvm-project/commit/ee801cdd6e0ba497939cdc1e4dd34b98b4df3675
DIFF:
https://github.com/llvm/llvm-project/commit/ee801cdd6e0ba497939cdc1e4dd34b98b4df3675.diff
LO
@@ -7,35 +7,100 @@
!! LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=ON, use
!! resource_dir_with_per_target_subdir as inputs.
-! Check powerpc64-ibm-aix 64-bit linking to static flang-rt
-! RUN: %flang %s -### 2>&1 \
+! Check powerpc64-ibm-aix 64-bit linking to static flang-rt by defaul
@@ -0,0 +1,116 @@
+//===--===//
+//
+// 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: Apa
@@ -86,10 +86,64 @@ mlir::Type
CIRGenTypes::convertFunctionTypeInternal(QualType qft) {
return cir::FuncType::get(SmallVector{}, cgm.VoidTy);
}
+// This is CIR's version of CodeGenTypes::addRecordTypeName. It isn't shareable
+// because CIR has different uniquing requiremen
201 - 300 of 463 matches
Mail list logo