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
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (dmasloff)
Changes
I would like to suggest a new clang-format option for llvm-project -
WrapNamespaceBodyWithNewlines. I think it can be added to upstream since it is
used by many popular public repositories, for example,
[ytsaurus]
Sirraide wrote:
Ah, actually, this is still missing a release note (in
`clang/docs/ReleaseNotes.rst`, in the ‘Improvements to Clang's diagnostics’
section)
https://github.com/llvm/llvm-project/pull/106033
___
cfe-commits mailing list
cfe-commits@list
https://github.com/pow2clk created
https://github.com/llvm/llvm-project/pull/106146
Functions are not removed even when made internal by DXILFinalizeLinkage The
removal code is called from alwaysinliner and globalopt, which are invoked too
early to remove functions made internal by this pass.
https://github.com/pow2clk updated
https://github.com/llvm/llvm-project/pull/106146
>From 6cf9e802a47860279fc793cb07ac3f4850826cb3 Mon Sep 17 00:00:00 2001
From: Greg Roth
Date: Sun, 25 Aug 2024 12:00:03 -0600
Subject: [PATCH] Tentative fix for not removing newly internal functions
Functions a
pow2clk wrote:
I'd like to add a test that verifies this removal of used functions that get
alwaysinlined, but that requires the inlining fix for #89282
https://github.com/llvm/llvm-project/pull/106146
___
cfe-commits mailing list
cfe-commits@lists.l
https://github.com/rapidsna created
https://github.com/llvm/llvm-project/pull/106147
`-fbounds-safety` doesn't allow taking address of a variable referred to by
`__counted_by`, in order to prevent code from using the pointer to update the
variable without necessary checks to keep the invariant
https://github.com/rapidsna edited
https://github.com/llvm/llvm-project/pull/106147
___
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: Yeoul Na (rapidsna)
Changes
`-fbounds-safety` doesn't allow taking address of a variable referred to by
`__counted_by`, in order to prevent code from using the pointer to update the
variable without necessary checks to keep the invariant
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 85561dd59485350a4f09ea5cb049b38f69b1e470
6cf9e802a47860279fc793cb07ac3f4850826cb3 --e
@@ -18,19 +18,20 @@
using namespace llvm;
static bool finalizeLinkage(Module &M) {
- SmallPtrSet EntriesAndExports;
+ SmallPtrSet Funcs;
// Find all entry points and export functions
for (Function &EF : M.functions()) {
-if (!EF.hasFnAttribute("hlsl.shader") && !
https://github.com/pow2clk updated
https://github.com/llvm/llvm-project/pull/106146
>From e0d9fa7a87ee18b23cda29381afadeb0b8d23ce8 Mon Sep 17 00:00:00 2001
From: Greg Roth
Date: Sun, 25 Aug 2024 12:00:03 -0600
Subject: [PATCH] Tentative fix for not removing newly internal functions
Functions a
@@ -12383,6 +12383,13 @@ def warn_unsafe_buffer_operation : Warning<
"%select{unsafe pointer operation|unsafe pointer arithmetic|"
"unsafe buffer access|function introduces unsafe buffer manipulation|unsafe
invocation of span::data}0">,
InGroup, DefaultIgnore;
+def warn_
@@ -2256,6 +2256,17 @@ class UnsafeBufferUsageReporter : public
UnsafeBufferUsageHandler {
Range = UO->getSubExpr()->getSourceRange();
MsgParam = 1;
}
+} else if (const auto *CtorExpr = dyn_cast(Operation)) {
+ if (CtorExpr->getConstructor()->get
@@ -12383,6 +12383,13 @@ def warn_unsafe_buffer_operation : Warning<
"%select{unsafe pointer operation|unsafe pointer arithmetic|"
"unsafe buffer access|function introduces unsafe buffer manipulation|unsafe
invocation of span::data}0">,
InGroup, DefaultIgnore;
+def warn_
medismailben wrote:
Nice! Please make sure to run the python formatter (`darker`) before landing
this.
https://github.com/llvm/llvm-project/pull/105990
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/list
https://github.com/ian-twilightcoder updated
https://github.com/llvm/llvm-project/pull/104653
>From 85e4dc08d5316df26247a181386ec819083ce992 Mon Sep 17 00:00:00 2001
From: Ian Anderson
Date: Fri, 16 Aug 2024 17:32:29 -0700
Subject: [PATCH] [docs] Document the missing availability platforms and
@@ -1637,31 +1637,42 @@ specifies availability for the current target platform,
the availability
attributes are ignored. Supported platforms are:
``ios``
+``ios_app_extension``
ian-twilightcoder wrote:
Cyndy made that point that `-target` and -mtargetos` are
https://github.com/ian-twilightcoder edited
https://github.com/llvm/llvm-project/pull/104653
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cyndyishida approved this pull request.
https://github.com/llvm/llvm-project/pull/104653
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1592,6 +1592,12 @@ succeeds but Clang emits a warning specifying that the
function is deprecated.
Finally, if Clang is instructed to compile code for macOS 10.7, the call
fails because ``f()`` is no longer available.
+Clang is instructed to compile code for a particular O
@@ -1592,6 +1592,12 @@ succeeds but Clang emits a warning specifying that the
function is deprecated.
Finally, if Clang is instructed to compile code for macOS 10.7, the call
fails because ``f()`` is no longer available.
+Clang is instructed to compile code for a particular O
@@ -1637,31 +1637,42 @@ specifies availability for the current target platform,
the availability
attributes are ignored. Supported platforms are:
``ios``
+``ios_app_extension``
cyndyishida wrote:
I do think it's still useful to define what those platforms' v
hekota wrote:
Thanks @ian-twilightcoder! Would you also like to add a note that the
environment parameter is currently supported only for the ShaderModel platform?
https://github.com/llvm/llvm-project/pull/104653
___
cfe-commits mailing list
cfe-commi
https://github.com/ian-twilightcoder updated
https://github.com/llvm/llvm-project/pull/104653
>From b009556b34503b85be2d9312f918f84d987a999f Mon Sep 17 00:00:00 2001
From: Ian Anderson
Date: Fri, 16 Aug 2024 17:32:29 -0700
Subject: [PATCH] [docs] Document the missing availability platforms and
Author: Ian Anderson
Date: 2024-08-26T17:06:15-07:00
New Revision: 79154a967461be37f900dc47687560056bf5c068
URL:
https://github.com/llvm/llvm-project/commit/79154a967461be37f900dc47687560056bf5c068
DIFF:
https://github.com/llvm/llvm-project/commit/79154a967461be37f900dc47687560056bf5c068.diff
https://github.com/ian-twilightcoder closed
https://github.com/llvm/llvm-project/pull/104653
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
bwendling wrote:
@rapidsna, what's the status of this PR? If it's bit-rotted, I can try to take
over.
https://github.com/llvm/llvm-project/pull/70480
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listin
bwendling wrote:
Also, I think there was a PR that added delayed parsing of attributes? Is that
correct, or a false memory? :-)
https://github.com/llvm/llvm-project/pull/70480
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.
https://github.com/shafik commented:
I don't think the test failures look related to the changes can you push and
empty change to see if rerunning the tests comes up clean?
https://github.com/llvm/llvm-project/pull/96301
___
cfe-commits mailing list
c
https://github.com/rapidsna closed
https://github.com/llvm/llvm-project/pull/70480
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
rapidsna wrote:
@bwendling We've already landed the flag in
https://github.com/llvm/llvm-project/pull/92623. I will close this one.
https://github.com/llvm/llvm-project/pull/70480
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.l
rapidsna wrote:
> Also, I think there was a PR that added delayed parsing of attributes? Is
> that correct, or a false memory? :-)
@bwendling That too has already been merged in
https://github.com/llvm/llvm-project/pull/88596
https://github.com/llvm/llvm-project/pull/70480
___
https://github.com/jurahul updated
https://github.com/llvm/llvm-project/pull/105745
>From 7b8c1794d4f2510502349d1151c8266c8b234ac0 Mon Sep 17 00:00:00 2001
From: Rahul Joshi
Date: Thu, 22 Aug 2024 08:47:02 -0700
Subject: [PATCH 1/2] [Support] Detect invalid formatv() calls
- Detect formatv() c
https://github.com/s-watanabe314 updated
https://github.com/llvm/llvm-project/pull/106033
>From 74424f222488d6a73d5d903bca470886414f37d9 Mon Sep 17 00:00:00 2001
From: Shunsuke Watanabe
Date: Fri, 23 Aug 2024 17:37:57 +0900
Subject: [PATCH] poor diagnostic due to overloading in extern "C" block
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/106033
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -439,14 +443,12 @@ void PPCTargetInfo::getTargetDefines(const LangOptions
&Opts,
// FIXME: The following are not yet generated here by Clang, but are
//generated by GCC:
//
- // _SOFT_FLOAT_
// __RECIP_PRECISION__
// __APPLE_ALTIVEC__
// __RE
7726
-Original Message-
From:
Sent: Mon, 26 Aug 2024 17:58:28 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2065?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7726
-Original Message-
From:
Sent: Mon, 26 Aug 2024 17:55:57 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2064?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7726
-Original Message-
From:
Sent: Mon, 26 Aug 2024 16:58:17 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2063?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
https://github.com/zyn0217 updated
https://github.com/llvm/llvm-project/pull/89934
>From 9eb7a15b385bff343969382c911d744ae954b7f0 Mon Sep 17 00:00:00 2001
From: Younan Zhang
Date: Wed, 24 Apr 2024 20:54:58 +0800
Subject: [PATCH 1/4] [Clang][Sema] Revisit the lambda within a type alias
template
Author: Younan Zhang
Date: 2024-08-27T09:25:53+08:00
New Revision: b412ec5d3924c7570c2c96106f95a92403a4e09b
URL:
https://github.com/llvm/llvm-project/commit/b412ec5d3924c7570c2c96106f95a92403a4e09b
DIFF:
https://github.com/llvm/llvm-project/commit/b412ec5d3924c7570c2c96106f95a92403a4e09b.diff
https://github.com/zyn0217 closed
https://github.com/llvm/llvm-project/pull/89934
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/zyn0217 milestoned
https://github.com/llvm/llvm-project/pull/89934
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
zyn0217 wrote:
/cherry-pick b412ec5d3
https://github.com/llvm/llvm-project/pull/89934
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -439,14 +443,12 @@ void PPCTargetInfo::getTargetDefines(const LangOptions
&Opts,
// FIXME: The following are not yet generated here by Clang, but are
//generated by GCC:
//
- // _SOFT_FLOAT_
// __RECIP_PRECISION__
// __APPLE_ALTIVEC__
// __RE
7726
-Original Message-
From:
Sent: Mon, 26 Aug 2024 18:25:39 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2066?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
@@ -439,14 +443,12 @@ void PPCTargetInfo::getTargetDefines(const LangOptions
&Opts,
// FIXME: The following are not yet generated here by Clang, but are
//generated by GCC:
//
- // _SOFT_FLOAT_
// __RECIP_PRECISION__
// __APPLE_ALTIVEC__
// __RE
llvmbot wrote:
/pull-request llvm/llvm-project#106166
https://github.com/llvm/llvm-project/pull/89934
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/alexrp updated
https://github.com/llvm/llvm-project/pull/106012
From b9e81030a102f52b7d0b4e8a924a112a536601c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?=
Date: Sun, 25 Aug 2024 22:47:37 +0200
Subject: [PATCH] [clang][Driver] Define soft float macro
zyn0217 wrote:
An off-topic concern:
The issue was initially assigned to @AdiSin123 three weeks ago. Did you talk to
@AdiSin123 to ensure that @AdiSin123 gives up the fix? It would be polite to
ask first in the issue before you start working on this.
https://github.com/llvm/llvm-project/pull/1
https://github.com/s-watanabe314 updated
https://github.com/llvm/llvm-project/pull/106033
>From 9baf5ad604782827af0a8a42aa1fd5bf2894a84e Mon Sep 17 00:00:00 2001
From: Shunsuke Watanabe
Date: Fri, 23 Aug 2024 17:37:57 +0900
Subject: [PATCH 1/2] poor diagnostic due to overloading in extern "C" b
s-watanabe314 wrote:
Thank you for comments. I added release note.
https://github.com/llvm/llvm-project/pull/106033
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
7762
-Original Message-
From:
Sent: Mon, 26 Aug 2024 18:26:46 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2067?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
7762
-Original Message-
From:
Sent: Mon, 26 Aug 2024 19:28:06 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2068?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
@@ -261,6 +261,8 @@ Improvements to Clang's diagnostics
compilation speed with modules. This warning is disabled by default and it
needs
to be explicitly enabled or by ``-Weverything``.
+- Improved diagnostics when trying to overload a function in extern "C".
(#GH80235)
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/106033
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/FreddyLeaf ready_for_review
https://github.com/llvm/llvm-project/pull/101603
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-mc
Author: Freddy Ye (FreddyLeaf)
Changes
Ref.: https://cdrdv2.intel.com/v1/dl/getContent/828965
---
Patch is 1.24 MiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/101603.diff
30 Files Affected:
- (modified
7762
-Original Message-
From:
Sent: Mon, 26 Aug 2024 19:33:16 -0700
To: 5103850...@txt.att.net
Subject: =?utf-8?q?cfe-commits_Digest=2C_Vol_206=2C_Issue_2069?=
>Send cfe-commits mailing list submissions to
> cfe-commits@lists.llvm.org
>
>To subscribe or unsubscribe via the
https://github.com/s-watanabe314 updated
https://github.com/llvm/llvm-project/pull/106033
>From 9baf5ad604782827af0a8a42aa1fd5bf2894a84e Mon Sep 17 00:00:00 2001
From: Shunsuke Watanabe
Date: Fri, 23 Aug 2024 17:37:57 +0900
Subject: [PATCH 1/3] poor diagnostic due to overloading in extern "C" b
@@ -5346,7 +5346,6 @@ static EvalStmtResult EvaluateStmt(StmtResult &Result,
EvalInfo &Info,
const Expr *RetExpr = cast(S)->getRetValue();
FullExpressionRAII Scope(Info);
if (RetExpr && RetExpr->isValueDependent()) {
- EvaluateDependentExpr(RetExpr, Info);
---
@@ -1121,3 +1121,99 @@ bool SemaHLSL::CheckBuiltinFunctionCall(unsigned
BuiltinID, CallExpr *TheCall) {
}
return false;
}
+
+bool SemaHLSL::CheckCompatibleParameterABI(FunctionDecl *New,
+ FunctionDecl *Old) {
+ if (New->getNumPar
https://github.com/alexrp updated
https://github.com/llvm/llvm-project/pull/106012
From acd4bd9406969926ed7b87c764f02ad072847aff Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?=
Date: Sun, 25 Aug 2024 22:47:37 +0200
Subject: [PATCH] [clang][Driver] Define soft float macro
https://github.com/shafik commented:
This make sense to me, @dwblaikie wdyt?
https://github.com/llvm/llvm-project/pull/106033
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/connieyzhu closed
https://github.com/llvm/llvm-project/pull/105754
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Connie Zhu
Date: 2024-08-26T20:33:13-07:00
New Revision: 952b13362d4af238b22444cc27844c0ac8c09047
URL:
https://github.com/llvm/llvm-project/commit/952b13362d4af238b22444cc27844c0ac8c09047
DIFF:
https://github.com/llvm/llvm-project/commit/952b13362d4af238b22444cc27844c0ac8c09047.diff
LO
@@ -5554,38 +5869,50 @@ FunctionTemplateDecl *Sema::getMoreSpecializedTemplate(
// "that is a member function with no expicit object argument".
// Otherwise the ordering rules for methods with expicit objet arguments
// against anything else make no sense.
-Shou
https://github.com/mizvekov edited
https://github.com/llvm/llvm-project/pull/100692
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -5554,38 +5869,50 @@ FunctionTemplateDecl *Sema::getMoreSpecializedTemplate(
// "that is a member function with no expicit object argument".
// Otherwise the ordering rules for methods with expicit objet arguments
// against anything else make no sense.
-Shou
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/100692
>From f8fd471a954f5e304f3118df3236cf7ff4ef1020 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Wed, 24 Jul 2024 03:59:41 -0300
Subject: [PATCH 1/2] [clang] check deduction consistency when partial ordering
@@ -1307,6 +1304,62 @@ DeduceTemplateArguments(Sema &S, TemplateParameterList
*TemplateParams,
return TemplateDeductionResult::Success;
}
+/// Deduce the template arguments by comparing the list of parameter
+/// types to the list of argument types, as in the parameter-type
https://github.com/owenca created
https://github.com/llvm/llvm-project/pull/106175
It doesn't make sense to remove the space between new/delete and a C-style cast
when SpaceBeforeParensOptions.AfterPlacementOperator is set to false.
Fixes #105628.
>From 8266cfb1d52dd55c710c16d9c57ca974bd94bb9
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: Owen Pan (owenca)
Changes
It doesn't make sense to remove the space between new/delete and a C-style cast
when SpaceBeforeParensOptions.AfterPlacementOperator is set to false.
Fixes #105628.
---
Full diff: https://github.com/llvm/
https://github.com/mizvekov updated
https://github.com/llvm/llvm-project/pull/100692
>From f8fd471a954f5e304f3118df3236cf7ff4ef1020 Mon Sep 17 00:00:00 2001
From: Matheus Izvekov
Date: Wed, 24 Jul 2024 03:59:41 -0300
Subject: [PATCH 1/3] [clang] check deduction consistency when partial ordering
https://github.com/hekota created
https://github.com/llvm/llvm-project/pull/106181
Introducing `HLSLAttributedResourceType` - a new type that is similar to
`AttributedType` but with additional data specific to HLSL resources.
`AttributeType` currently only stores an attribute kind and no addit
https://github.com/hekota edited
https://github.com/llvm/llvm-project/pull/106181
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2122,6 +2122,36 @@ TARGET_BUILTIN(__builtin_ia32_vpdpwuud256,
"V8iV8iV8iV8i", "nV:256:", "avxvnniin
TARGET_BUILTIN(__builtin_ia32_vpdpwuuds128, "V4iV4iV4iV4i", "nV:128:",
"avxvnniint16|avx10.2-256")
TARGET_BUILTIN(__builtin_ia32_vpdpwuuds256, "V8iV8iV8iV8i", "nV:256:",
"a
@@ -16,262 +16,220 @@
#ifdef __HLSL_ENABLE_16_BIT
// DXIL_NATIVE_HALF: define noundef i1 @
// SPIR_NATIVE_HALF: define spir_func noundef i1 @
-// DXIL_NATIVE_HALF: %hlsl.all = call i1 @llvm.dx.all.i16
-// SPIR_NATIVE_HALF: %hlsl.all = call i1 @llvm.spv.all.i16
+// DXIL_NATIVE_H
@@ -1,12 +1,12 @@
-// RUN: %clang_cc1 -triple spirv-vulkan-library -x hlsl -emit-llvm
-disable-llvm-passes -o - %s | FileCheck %s --check-prefix=CHECK-SPIRV
+// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-library -x hlsl -emit-llvm
-disable-llvm-passes -o - %s | FileCheck %s
https://github.com/phoebewang approved this pull request.
LGTM, thanks!
https://github.com/llvm/llvm-project/pull/105852
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/hekota updated
https://github.com/llvm/llvm-project/pull/106181
>From 11a6b3aac44889d39911a6704a9a963f29e92388 Mon Sep 17 00:00:00 2001
From: Helena Kotas
Date: Mon, 26 Aug 2024 12:13:09 -0700
Subject: [PATCH 1/3] Add HLSLAttributedResourceType - WIP
---
clang/include/clang
https://github.com/hekota ready_for_review
https://github.com/llvm/llvm-project/pull/106181
___
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-modules
Author: Helena Kotas (hekota)
Changes
Introducing `HLSLAttributedResourceType` - a new type that is similar to
`AttributedType` but with additional data specific to HLSL resources.
`AttributeType` currently only stores an attribute kind a
llvmbot wrote:
@llvm/pr-subscribers-debuginfo
@llvm/pr-subscribers-clang-codegen
@llvm/pr-subscribers-hlsl
@llvm/pr-subscribers-clang
Author: Helena Kotas (hekota)
Changes
Introducing `HLSLAttributedResourceType` - a new type that is similar to
`AttributedType` but with additional data sp
https://github.com/hekota edited
https://github.com/llvm/llvm-project/pull/106181
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/hekota edited
https://github.com/llvm/llvm-project/pull/106181
___
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 0ef8e71874e128560fdc77b6234d1bef3e18d3bd
87a7e6ffe84e63e1522320ae4afe9aa35cd2c502 --e
https://github.com/Rajveer100 updated
https://github.com/llvm/llvm-project/pull/96301
>From 8796f60f0255ab8810d6019b4c470d64a44a6ce2 Mon Sep 17 00:00:00 2001
From: Rajveer
Date: Fri, 21 Jun 2024 18:26:36 +0530
Subject: [PATCH] [clang] Allow class with anonymous union member to be
const-default
https://github.com/hekota updated
https://github.com/llvm/llvm-project/pull/106181
>From 11a6b3aac44889d39911a6704a9a963f29e92388 Mon Sep 17 00:00:00 2001
From: Helena Kotas
Date: Mon, 26 Aug 2024 12:13:09 -0700
Subject: [PATCH 1/4] Add HLSLAttributedResourceType - WIP
---
clang/include/clang
hazzlim wrote:
I plan to land this patch later today, unless there are any objections /
further comments.
Thanks for reviewing @nikic @efriedma-quic
https://github.com/llvm/llvm-project/pull/105496
___
cfe-commits mailing list
cfe-commits@lists.llvm
https://github.com/BeMg updated https://github.com/llvm/llvm-project/pull/85786
>From 395ce72afbf9e4b12fcbfaf9cdbda8921c9ff72a Mon Sep 17 00:00:00 2001
From: Piyou Chen
Date: Tue, 23 Jul 2024 19:59:06 -0700
Subject: [PATCH 01/14] [RISCV][FMV] Support target_clones
---
.../clang/Basic/Diagnosti
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/105727
>From d8bed3f4db8056a6afa9bd7eae5d4a8361f83086 Mon Sep 17 00:00:00 2001
From: Oleksandr T
Date: Thu, 22 Aug 2024 23:25:31 +0300
Subject: [PATCH] [Clang] prevent assertion failure when converting vectors to
i
@@ -5312,6 +5314,147 @@ bool Compiler::VisitComplexUnaryOperator(const
UnaryOperator *E) {
return true;
}
+template
+bool Compiler::VisitVectorUnaryOperator(const UnaryOperator *E) {
+ const Expr *SubExpr = E->getSubExpr();
+ assert(SubExpr->getType()->isVectorType());
+
@@ -5312,6 +5314,147 @@ bool Compiler::VisitComplexUnaryOperator(const
UnaryOperator *E) {
return true;
}
+template
+bool Compiler::VisitVectorUnaryOperator(const UnaryOperator *E) {
+ const Expr *SubExpr = E->getSubExpr();
+ assert(SubExpr->getType()->isVectorType());
+
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`sanitizer-x86_64-linux-android` running on `sanitizer-buildbot-android` while
building `clang` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/186/builds/1729
Here is the releva
@@ -5312,6 +5314,149 @@ bool Compiler::VisitComplexUnaryOperator(const
UnaryOperator *E) {
return true;
}
+template
+bool Compiler::VisitVectorUnaryOp(const UnaryOperator *E) {
+ const Expr *SubExpr = E->getSubExpr();
+ assert(SubExpr->getType()->isVectorType());
+
+ if
@@ -0,0 +1,88 @@
+// RUN: %clang_cc1 %s -triple x86_64-linux-gnu
-fexperimental-new-constant-interpreter -Wno-uninitialized -std=c++14
-fsyntax-only -verify
tbaederr wrote:
Why no RUN line for the current interpreter?
https://github.com/llvm/llvm-project/pull/
@@ -139,6 +139,7 @@ class Compiler : public ConstStmtVisitor,
bool>,
bool VisitGNUNullExpr(const GNUNullExpr *E);
bool VisitCXXThisExpr(const CXXThisExpr *E);
bool VisitUnaryOperator(const UnaryOperator *E);
+ bool VisitVectorUnaryOp(const UnaryOperator *E);
---
@@ -5312,6 +5314,149 @@ bool Compiler::VisitComplexUnaryOperator(const
UnaryOperator *E) {
return true;
}
+template
+bool Compiler::VisitVectorUnaryOp(const UnaryOperator *E) {
+ const Expr *SubExpr = E->getSubExpr();
+ assert(SubExpr->getType()->isVectorType());
+
+ if
101 - 200 of 400 matches
Mail list logo