llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Justin Bogner (bogner)
Changes
Since SPIRV is no longer an experimental target this wasn't actually enabling
it any more.
---
Full diff: https://github.com/llvm/llvm-project/pull/133287.diff
1 Files Affected:
- (modified) clang/cmake/c
AaronBallman wrote:
> Thanks @AaronBallman !! I am still working on my patch, so just for learning
> about Clang internals, I'll try to finish mine, and compare it to yours. :-)
Sorry for stealing this one out from under you! It turns out it was a bit more
involved than I expected because I di
@@ -467,3 +467,29 @@ namespace VexingParse {
template int var; // expected-note {{declared here}}
int x(var); // expected-error {{use of variable template 'var' requires
template arguments}}
}
+
+#ifndef PRECXX11
+
+namespace GH79750 {
shafik wrote:
I am
https://github.com/joaosaffran approved this pull request.
LGTM, not an expert on cmake thought
https://github.com/llvm/llvm-project/pull/133287
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe
https://github.com/joaosaffran edited
https://github.com/llvm/llvm-project/pull/133287
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
haampie wrote:
I believe Spack sets either `HIP_PATH` or `ROCM_PATH` for clang which is
considered before the auto-detection removed in this PR.
https://github.com/llvm/llvm-project/pull/133263
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
h
https://github.com/zeule updated
https://github.com/llvm/llvm-project/pull/131605
>From 4d687d4eabd8e0b5e31f829608d01d390e040630 Mon Sep 17 00:00:00 2001
From: Eugene Shalygin
Date: Mon, 17 Mar 2025 11:23:35 +0100
Subject: [PATCH] [clang-format] option to control bin-packing keyworded
paramete
@@ -5696,6 +5696,10 @@ void CodeGenModule::EmitGlobalVarDefinition(const
VarDecl *D,
const ASTContext::SectionInfo &SI = Context.SectionInfos[SA->getName()];
if ((SI.SectionFlags & ASTContext::PSF_Write) == 0)
GV->setConstant(true);
tahonermann w
https://github.com/tahonermann requested changes to this pull request.
This code looks pretty clean; simpler than I thought would be required. Yay! I
think I spotted why the section is getting labeled as constant; see comments.
https://github.com/llvm/llvm-project/pull/128197
__
@@ -23,7 +23,8 @@ class SectionKind {
enum Kind {
/// Metadata - Debug info sections or other metadata.
Metadata,
-
+/// Shared
tahonermann wrote:
```suggestion
/// Shared - sections shared across processes.
```
https://github.com/llvm/llvm
https://github.com/tahonermann edited
https://github.com/llvm/llvm-project/pull/128197
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
zeule wrote:
I renamed the thing so that it ends with a singular noun, which allows the
exiting machinery in dump_format_style.py to work, and I like the new name
better.
https://github.com/llvm/llvm-project/pull/131605
___
cfe-commits mailing list
c
https://github.com/PeterChou1 approved this pull request.
https://github.com/llvm/llvm-project/pull/132482
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2001,3 +1932,258 @@ NormalizedConstraint::getFoldExpandedConstraint() const
{
"getFoldExpandedConstraint called on non-fold-expanded constraint.");
return cast(Constraint);
}
+
+//
+//
+// Subsumption ---
@@ -558,8 +624,225 @@ class ScalarExprEmitter : public
StmtVisitor {
return res;
}
+
+ BinOpInfo emitBinOps(const BinaryOperator *e,
+ QualType promotionType = QualType()) {
+BinOpInfo result;
+result.lhs = cgf.emitPromotedScalarExpr(e->ge
zygoloid wrote:
> But still I feel generate a warning for this case went too far.
Yeah, that's probably right. Maybe for `-` on a signed operand, we should just
return the original range with the `NonNegative` flag cleared out, and
shouldn't add the extra bit for the `-128 -> 128` edge case. T
SunilKuravinakop wrote:
There is only 1 "dispatch" directive. How can we have multiple virtual regions?
If we emit "taskwait" directive in AST then we will have multiple virtual
regions.
I have looked at combined directives but, in them we have multiple directives.
```
#pragma omp parallel
#
@@ -0,0 +1,115 @@
+//===--- RunOnNewStack.cpp - Crash Recovery
---===//
+//
+// 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
https://github.com/petrhosek approved this pull request.
https://github.com/llvm/llvm-project/pull/132482
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mmha updated https://github.com/llvm/llvm-project/pull/133159
>From 6db5880fa7cdf6363d7e0025f811f42ec273df52 Mon Sep 17 00:00:00 2001
From: Morris Hafner
Date: Wed, 26 Mar 2025 20:50:57 +
Subject: [PATCH 1/4] [CIR] Upstream CmpOp
This patch adds support for comparison ope
@@ -0,0 +1,233 @@
+// RUN: %clang_cc1 -std=c++17 -triple x86_64-unknown-linux-gnu -fclangir
-emit-cir -DCIR_ONLY %s -o %t.cir
+// RUN: FileCheck --input-file=%t.cir %s -check-prefix=CIR
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -Wno-unused-value
-fclangir -emit-llvm %
@@ -0,0 +1,188 @@
+#include "clang/Parse/ParseHLSLRootSignature.h"
+
+#include "llvm/Support/raw_ostream.h"
+
+using namespace llvm::hlsl::rootsig;
+
+namespace clang {
+namespace hlsl {
+
+static std::string FormatTokenKinds(ArrayRef Kinds) {
+ std::string TokenString;
+ llvm::
@@ -0,0 +1,110 @@
+//===--- ParseHLSLRootSignature.h ---*- C++
-*-===//
+//
+// 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
https://github.com/macurtis-amd created
https://github.com/llvm/llvm-project/pull/133301
None
>From 096fde6a6eda7ba8d09444a0558f04c3c4531017 Mon Sep 17 00:00:00 2001
From: Matthew Curtis
Date: Thu, 27 Mar 2025 14:04:40 -0500
Subject: [PATCH] [SROA] Vector promote some memsets
---
clang/test/
@@ -97,6 +97,41 @@ core.DivideZero (C, C++, ObjC)
.. literalinclude:: checkers/dividezero_example.c
:language: c
+.. _core-FixedAddressDereference:
+
+core.FixedAddressDereference (C, C++, ObjC)
+"""
+Check for dereferences of fixed
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: AdityaK (hiraditya)
Changes
```
llvm-project/clang/lib/Sema/SemaExprCXX.cpp:63:29: warning: variable 'II' set
but not used [-Wunused-but-set-variable]
63 | if (const IdentifierInfo *II = NNS->getAsIdentifier())
|
https://github.com/hiraditya closed
https://github.com/llvm/llvm-project/pull/133307
___
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 89cfeeb062577069d1da236d33810bb0416f1102
9839bc69c6b33155dba13b0bc50c9859641ac107 --e
https://github.com/T-Gruber created
https://github.com/llvm/llvm-project/pull/133381
Remove the early return for BaseRegions of type ElementRegion. Return
meaningful MemRegionVal for these cases as well.
Previous discussion:
https://discourse.llvm.org/t/lvalueelement-returns-unknownval-for-mu
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
Author: None (T-Gruber)
Changes
Remove the early return for BaseRegions of type ElementRegion. Return
meaningful MemRegionVal for these cases as well.
Previous discussion:
https://discourse.llvm.org/t/lvalueelement-returns-unkn
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (T-Gruber)
Changes
Remove the early return for BaseRegions of type ElementRegion. Return
meaningful MemRegionVal for these cases as well.
Previous discussion:
https://discourse.llvm.org/t/lvalueelement-returns-unknownval-for-multi-d
https://github.com/kazutakahirata created
https://github.com/llvm/llvm-project/pull/133382
None
>From 473166e7c7944857c083b1c057e4c89dd3469ea8 Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Thu, 27 Mar 2025 20:53:55 -0700
Subject: [PATCH] [Format] Use a range constructor of DenseSet (NFC)
-
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Mallikarjuna Gouda (mgoudar)
Changes
Relands #132907 with a fix in the testcase:
clang/test/CodeGen/Mips/subtarget-feature-test.c
enable this test for only mips64 target
PR #130587 defined same SubTargetFeature for CPUs i6400 and i6500 whi
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-tools-extra,clang` at step 5 "build-unified-tree".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/181/builds/15922
H
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Justin Cady (justincady)
Changes
Reverts llvm/llvm-project#130976
Breaks clang-cmake-x86_64-avx512-linux bot.
---
Full diff: https://github.com/llvm/llvm-project/pull/132095.diff
3 Files Affected:
- (modified) clang/lib/CodeGen/Coverag
@@ -0,0 +1,177 @@
+// RUN: %clang_cc1 -fsycl-is-host -emit-llvm -triple x86_64-unknown-linux-gnu
%s -o - | FileCheck --check-prefixes=CHECK-HOST,CHECK-HOST-LINUX %s
+// RUN: %clang_cc1 -fsycl-is-device -emit-llvm -aux-triple
x86_64-unknown-linux-gnu -triple amdgcn %s -o - | File
Author: Congcong Cai
Date: 2025-03-28T06:21:15+08:00
New Revision: 01e505b9922485514d4e1f9a26c390d0e7a71bf4
URL:
https://github.com/llvm/llvm-project/commit/01e505b9922485514d4e1f9a26c390d0e7a71bf4
DIFF:
https://github.com/llvm/llvm-project/commit/01e505b9922485514d4e1f9a26c390d0e7a71bf4.diff
https://github.com/HerrCai0907 closed
https://github.com/llvm/llvm-project/pull/133018
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
HerrCai0907 wrote:
> > It would feel safer if the custom check was passed via command-line
> > instead, similar to --config
>
> But then you will not be able to properly disable such checks for subfolders
> (modules) of some huge project, right?
it can be done by checks.
https://github.com/l
@@ -161,8 +164,11 @@ struct TypeInfo {
: Type(SymbolID(), Name, InfoType::IT_default, Name, Path) {}
bool operator==(const TypeInfo &Other) const { return Type == Other.Type; }
-
+
ilovepi wrote:
nit: whitespace on empty line.
https://github.com/ll
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (macurtis-amd)
Changes
---
Patch is 32.26 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/133301.diff
7 Files Affected:
- (modified) clang/test/CodeGenOpenCL/amdgpu-nullptr.cl (+4-6)
-
https://github.com/broxigarchen edited
https://github.com/llvm/llvm-project/pull/133298
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/broxigarchen edited
https://github.com/llvm/llvm-project/pull/133298
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kiranchandramohan approved this pull request.
LG.
https://github.com/llvm/llvm-project/pull/132409
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -209,6 +215,7 @@ struct FieldTypeInfo : public TypeInfo {
return std::tie(Type, Name, DefaultValue) ==
std::tie(Other.Type, Other.Name, Other.DefaultValue);
}
+
ilovepi wrote:
remove
https://github.com/llvm/llvm-project/pull/133161
_
Author: Ryosuke Niwa
Date: 2025-03-27T15:47:38-07:00
New Revision: a285be320aadad51c431eed87cc2540951b3e4da
URL:
https://github.com/llvm/llvm-project/commit/a285be320aadad51c431eed87cc2540951b3e4da
DIFF:
https://github.com/llvm/llvm-project/commit/a285be320aadad51c431eed87cc2540951b3e4da.diff
@@ -85,7 +86,7 @@ def check(self, file_check_suffix, input_text):
class CheckRunner:
-def __init__(self, args, extra_args):
+def __init__(self, args: argparse.Namespace, extra_args: List[str]):
EugeneZelenko wrote:
```suggestion
def __init__(self
https://github.com/cor3ntin updated
https://github.com/llvm/llvm-project/pull/132849
>From b5b5275093f6942238536834c6508551f7ceffd8 Mon Sep 17 00:00:00 2001
From: Corentin Jabot
Date: Sun, 16 Mar 2025 23:34:19 +0100
Subject: [PATCH 01/11] [Clang] Improve subsumption.
The main goal of this patc
@@ -48,15 +48,16 @@
import re
import subprocess
import sys
+from typing import List, Tuple
EugeneZelenko wrote:
I think `list` and `tuple` should be used.
https://github.com/llvm/llvm-project/pull/133140
___
cfe-com
https://github.com/farzonl closed
https://github.com/llvm/llvm-project/pull/133251
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -115,6 +115,7 @@ add_clang_library(clangCodeGen
PatternInit.cpp
SanitizerMetadata.cpp
SwiftCallingConv.cpp
+ LangBuiltins/CGHLSLBuiltins.cpp
arsenm wrote:
I wouldn't bother with the LangBuiltins subdirectory
https://github.com/llvm/llvm-project/pul
https://github.com/yxsamliu approved this pull request.
LGTM. Thanks
https://github.com/llvm/llvm-project/pull/133263
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/haampie created
https://github.com/llvm/llvm-project/pull/133263
There is special logic to detect the hip runtime when llvm is installed
with Spack. It works by matching the install prefix of llvm against
`llvm-amdgpu-*` followed by effectively globbing for
```
/../hip-x.y.z-
llvmbot wrote:
@llvm/pr-subscribers-backend-amdgpu
@llvm/pr-subscribers-clang-driver
Author: Harmen Stoppels (haampie)
Changes
There is special logic to detect the hip runtime when llvm is installed
with Spack. It works by matching the install prefix of llvm against
`llvm-amdgpu-*` followe
https://github.com/carlosgalvezp approved this pull request.
LGTM!
https://github.com/llvm/llvm-project/pull/133018
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -71,91 +73,77 @@ static cl::list
"default, run all delta passes."),
cl::cat(LLVMReduceOptions), cl::CommaSeparated);
-#define DELTA_PASSES
\
- do {
@@ -164,24 +152,25 @@ static void runDeltaPassName(TestRunner &Tester,
StringRef PassName) {
void llvm::printDeltaPasses(raw_ostream &OS) {
OS << "Delta passes (pass to `--delta-passes=` as a comma separated
list):\n";
-#define DELTA_PASS(NAME, FUNC) OS << " " << NAME <<
@@ -0,0 +1,68 @@
+//===--- DeltaPasses.def - Delta Pass Definitions --*- C++ -*-===//
+//
+// 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: Apach
@@ -17,8 +17,8 @@
#include "Delta.h"
namespace llvm {
-void reduceAliasesDeltaPass(TestRunner &Test);
-void reduceIFuncsDeltaPass(TestRunner &Test);
+void reduceAliasesDeltaPass(TestRunner &Test, StringRef PassMessage);
arsenm wrote:
Something is backwards he
@@ -71,91 +73,77 @@ static cl::list
"default, run all delta passes."),
cl::cat(LLVMReduceOptions), cl::CommaSeparated);
-#define DELTA_PASSES
\
- do {
@@ -71,91 +73,77 @@ static cl::list
"default, run all delta passes."),
cl::cat(LLVMReduceOptions), cl::CommaSeparated);
-#define DELTA_PASSES
\
- do {
@@ -17,8 +17,8 @@
#include "Delta.h"
namespace llvm {
-void reduceAliasesDeltaPass(TestRunner &Test);
-void reduceIFuncsDeltaPass(TestRunner &Test);
+void reduceAliasesDeltaPass(TestRunner &Test, StringRef PassMessage);
arsenm wrote:
That is, the DeltaPass st
https://github.com/cor3ntin approved this pull request.
LGTM, Thanks!
Will you need me to merge that for you?
https://github.com/llvm/llvm-project/pull/133077
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailm
Fznamznon wrote:
Thank you for your help @rnk @zmodem !
https://github.com/llvm/llvm-project/pull/126240
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Artem-B approved this pull request.
https://github.com/llvm/llvm-project/pull/133296
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
DKLoehr wrote:
Ach, I was so focused on making the build work that I forgot to run tests...
Fixed now, either by disabling the warning or adding it as expected, as seemed
appropriate.
https://github.com/llvm/llvm-project/pull/133265
___
cfe-commits ma
https://github.com/DKLoehr created
https://github.com/llvm/llvm-project/pull/133265
This turns on the unnecessary-virtual-specifier warning in genera, but disables
it when building LLVM. It also tweaks the warning description to be slightly
more accurate.
Background: I've been working on clea
https://github.com/broxigarchen updated
https://github.com/llvm/llvm-project/pull/133298
>From fee2c8dcfb01fbe5d8e08cf9ccf6e92f341d76f9 Mon Sep 17 00:00:00 2001
From: guochen2
Date: Thu, 27 Mar 2025 14:41:40 -0400
Subject: [PATCH] add true16 feature in clang driver
---
clang/include/clang/Dri
@@ -273,11 +279,148 @@ inline CFTypeRef bridge_cast(NSObject *object)
return (__bridge CFTypeRef)object;
}
+template
+struct ObjCTypeCastTraits {
+public:
+static bool isType(id object) { return [object isKindOfClass:[ExpectedType
class]]; }
+
+template
+sta
https://github.com/broxigarchen edited
https://github.com/llvm/llvm-project/pull/133298
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Sirraide commented:
The release note is still missing.
ut other than that this looks fine I think, but I’d say wait a few days before
merging in case anyone else has any opinions as to whether this should be
enabled by default or not.
https://github.com/llvm/llvm-project/pul
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/133265
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jhuber6 closed
https://github.com/llvm/llvm-project/pull/133296
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Joseph Huber
Date: 2025-03-27T14:02:47-05:00
New Revision: a2432793ea7d12ecbd424f7ed2c0e36f34a2df24
URL:
https://github.com/llvm/llvm-project/commit/a2432793ea7d12ecbd424f7ed2c0e36f34a2df24
DIFF:
https://github.com/llvm/llvm-project/commit/a2432793ea7d12ecbd424f7ed2c0e36f34a2df24.diff
llvmbot wrote:
@llvm/pr-subscribers-backend-amdgpu
Author: None (macurtis-amd)
Changes
---
Patch is 32.26 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/133301.diff
7 Files Affected:
- (modified) clang/test/CodeGenOpenCL/amdgpu-nullptr.cl
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)'
08aedf7201e296af532575685372bb5ff7ed8b01
https://github.com/bogner commented:
One comment saying you should rename all of the methods in this patch and a few
small suggestions, but this is looking pretty close
https://github.com/llvm/llvm-project/pull/133302
___
cfe-commits mailing list
cfe-
https://github.com/bogner edited
https://github.com/llvm/llvm-project/pull/133302
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,188 @@
+#include "clang/Parse/ParseHLSLRootSignature.h"
+
+#include "llvm/Support/raw_ostream.h"
+
+using namespace llvm::hlsl::rootsig;
+
+namespace clang {
+namespace hlsl {
+
+static std::string FormatTokenKinds(ArrayRef Kinds) {
+ std::string TokenString;
+ llvm::
@@ -0,0 +1,110 @@
+//===--- ParseHLSLRootSignature.h ---*- C++
-*-===//
+//
+// 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
@@ -0,0 +1,110 @@
+//===--- ParseHLSLRootSignature.h ---*- C++
-*-===//
+//
+// 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
@@ -0,0 +1,188 @@
+#include "clang/Parse/ParseHLSLRootSignature.h"
+
+#include "llvm/Support/raw_ostream.h"
+
+using namespace llvm::hlsl::rootsig;
+
+namespace clang {
+namespace hlsl {
+
+static std::string FormatTokenKinds(ArrayRef Kinds) {
+ std::string TokenString;
+ llvm::
@@ -0,0 +1,188 @@
+#include "clang/Parse/ParseHLSLRootSignature.h"
+
+#include "llvm/Support/raw_ostream.h"
+
+using namespace llvm::hlsl::rootsig;
+
+namespace clang {
+namespace hlsl {
+
+static std::string FormatTokenKinds(ArrayRef Kinds) {
+ std::string TokenString;
+ llvm::
@@ -0,0 +1,188 @@
+#include "clang/Parse/ParseHLSLRootSignature.h"
+
+#include "llvm/Support/raw_ostream.h"
+
+using namespace llvm::hlsl::rootsig;
+
+namespace clang {
+namespace hlsl {
+
+static std::string FormatTokenKinds(ArrayRef Kinds) {
+ std::string TokenString;
+ llvm::
@@ -0,0 +1,110 @@
+//===--- ParseHLSLRootSignature.h ---*- C++
-*-===//
+//
+// 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
@@ -0,0 +1,188 @@
+#include "clang/Parse/ParseHLSLRootSignature.h"
+
+#include "llvm/Support/raw_ostream.h"
+
+using namespace llvm::hlsl::rootsig;
+
+namespace clang {
+namespace hlsl {
+
+static std::string FormatTokenKinds(ArrayRef Kinds) {
bogner wrote:
You c
@@ -42,6 +42,11 @@ Potentially Breaking Changes
C/C++ Language Potentially Breaking Changes
---
+- Some old-style offsetof idioms like ``((int)(&(((struct S *)0)->field)))``
are treated
efriedma-quic wrote:
I was think
https://github.com/rniwa updated
https://github.com/llvm/llvm-project/pull/132784
>From aed6967708809b964c4969ec4e6477dade61132d Mon Sep 17 00:00:00 2001
From: Ryosuke Niwa
Date: Mon, 24 Mar 2025 10:13:16 -0700
Subject: [PATCH 1/2] [WebKit Checkers] Recognize Objective-C and CF pointer
convers
https://github.com/rniwa edited https://github.com/llvm/llvm-project/pull/132784
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -273,11 +279,148 @@ inline CFTypeRef bridge_cast(NSObject *object)
return (__bridge CFTypeRef)object;
}
+template
+struct ObjCTypeCastTraits {
+public:
+static bool isType(id object) { return [object isKindOfClass:[ExpectedType
class]]; }
+
+template
+sta
Author: Jan Svoboda
Date: 2025-03-21T14:39:50-07:00
New Revision: 72e596f35951e849de9fc739238e84ec1217b939
URL:
https://github.com/llvm/llvm-project/commit/72e596f35951e849de9fc739238e84ec1217b939
DIFF:
https://github.com/llvm/llvm-project/commit/72e596f35951e849de9fc739238e84ec1217b939.diff
L
https://github.com/broxigarchen edited
https://github.com/llvm/llvm-project/pull/133298
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
CatherineMoore wrote:
Will resubmit later
https://github.com/llvm/llvm-project/pull/133138
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1,13 +1,10 @@
# Including the native target is important because some of LLVM's tests fail if
# you don't.
-set(LLVM_TARGETS_TO_BUILD Native CACHE STRING "")
+set(LLVM_TARGETS_TO_BUILD "Native;SPIRV" CACHE STRING "")
-# Include the DirectX target for DXIL code generation,
https://github.com/t-rasmud approved this pull request.
LGTM!
https://github.com/llvm/llvm-project/pull/132784
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sumitsays updated
https://github.com/llvm/llvm-project/pull/131237
>From 6d5c4053c90975d64e378e52779dab9c3ffb64cd Mon Sep 17 00:00:00 2001
From: Sumit Agarwal
Date: Thu, 13 Mar 2025 16:02:32 -0700
Subject: [PATCH 01/13] dot2add working for dxil without sema check
---
clang/
401 - 496 of 496 matches
Mail list logo