https://github.com/hekota updated
https://github.com/llvm/llvm-project/pull/119755
>From 8cebb59304a1f893d94f2a758bc47a62f27c1b8b Mon Sep 17 00:00:00 2001
From: Helena Kotas
Date: Thu, 12 Dec 2024 11:37:46 -0800
Subject: [PATCH 1/2] [HLSL] Codegen for simple `cbuffer` blocks without
embedded a
https://github.com/Bigcheese updated
https://github.com/llvm/llvm-project/pull/119740
>From 11faee533d07aff6955d44bda0d502888e52e119 Mon Sep 17 00:00:00 2001
From: Michael Spencer
Date: Thu, 5 Dec 2024 14:53:50 -0800
Subject: [PATCH] [clang][modules] Separate parsing of modulemaps
This separat
@@ -2596,6 +2596,15 @@ template using has_sizeof =
decltype(sizeof(T));
template
constexpr bool is_incomplete_v = !is_detected::value;
+//===--===//
+// Extra additions to
+//===---
https://github.com/t-rasmud approved this pull request.
LGTM!
https://github.com/llvm/llvm-project/pull/119681
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -169,4 +173,42 @@ bool isConstOwnerPtrMemberExpr(const clang::Expr *E) {
return isOwnerPtrType(T) && T.isConstQualified();
}
+class EnsureFunctionVisitor
+: public ConstStmtVisitor {
+public:
+ bool VisitStmt(const Stmt *S) {
+for (const Stmt *Child : S->children
https://github.com/ilovepi created
https://github.com/llvm/llvm-project/pull/119808
[clang-doc][NFC] Rename CHECK prefix for YAML
We plan to introduce checks for other backends, like markdown.
[clang-doc][NFC] Make test resilient to line changes
This just reorganizes the test code, so its eas
https://github.com/v01dXYZ updated
https://github.com/llvm/llvm-project/pull/118420
>From b6f013097c0003e37800ad13b420e50e3c84511b Mon Sep 17 00:00:00 2001
From: v01dxyz
Date: Tue, 3 Dec 2024 04:52:33 +0100
Subject: [PATCH 1/8] FunctionDecl::getFunctionTypeLoc: ignore function type
attributes
ilovepi wrote:
* **#119808** https://app.graphite.dev/github/pr/llvm/llvm-project/119808?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/1198
https://github.com/ilovepi closed
https://github.com/llvm/llvm-project/pull/119808
___
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 6cfad635d5aaa01abb82edc386329d8ed25078e1
bb23377a49bee459c9824827f8664f08feaa14f2 --e
https://github.com/ilovepi created
https://github.com/llvm/llvm-project/pull/119810
We plan to introduce checks for other backends, like markdown.
>From 449273561bb2f84cdd0e18b96955cff00e8489ea Mon Sep 17 00:00:00 2001
From: Paul Kirth
Date: Thu, 12 Dec 2024 20:26:32 -0800
Subject: [PATCH] =?
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Paul Kirth (ilovepi)
Changes
We plan to introduce checks for other backends, like markdown.
---
Full diff: https://github.com/llvm/llvm-project/pull/119810.diff
1 Files Affected:
- (modified) clang-tools-extra/test/clang-do
https://github.com/MaxEW707 updated
https://github.com/llvm/llvm-project/pull/99833
>From 0a705b1a8e9673cd5e803ffe392dacfa0f06c40f Mon Sep 17 00:00:00 2001
From: MaxEW707
Date: Fri, 21 Jun 2024 20:37:40 -0700
Subject: [PATCH 01/21] Support MSVC lvalue to temporary reference binding
---
clang/
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`openmp-offload-amdgpu-runtime` running on `omp-vega20-0` while building
`clang` at step 7 "Add check check-offload".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/30/builds/12200
Here is the releva
https://github.com/arsenm closed
https://github.com/llvm/llvm-project/pull/119821
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Matt Arsenault
Date: 2024-12-13T15:57:53+09:00
New Revision: 37d0e2f46e885f47c97b78c21d6b8668cd0ef871
URL:
https://github.com/llvm/llvm-project/commit/37d0e2f46e885f47c97b78c21d6b8668cd0ef871
DIFF:
https://github.com/llvm/llvm-project/commit/37d0e2f46e885f47c97b78c21d6b8668cd0ef871.diff
https://github.com/spall created
https://github.com/llvm/llvm-project/pull/119820
Make fast math the default for HLSL
Closes #108597
>From d167cd92875f7aec8ed3ab15c3321ee9000e8481 Mon Sep 17 00:00:00 2001
From: Sarah Spall
Date: Thu, 12 Dec 2024 20:35:47 +
Subject: [PATCH 1/2] make fast m
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/104661
>From c422624756e9b40b3fee02c6b3bb49d3355a1bbe Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Fri, 13 Dec 2024 00:35:28 -0500
Subject: [PATCH] [Clang] Remove 3-element vector load and store special
handling
llvmbot wrote:
@llvm/pr-subscribers-hlsl
Author: Sarah Spall (spall)
Changes
Make fast math the default for HLSL
Closes #108597
---
Patch is 53.45 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/119820.diff
52 Files Affected:
- (modified) c
@@ -1846,6 +1846,16 @@ class TargetInfo : public TransferrableTargetInfo,
return std::make_pair(64, 64);
}
+ /// Returns the optimal vector type elements based on the provided vector
+ /// type. For example, on some targets, a vector with 3 elements may be
+ /// treat
https://github.com/spall ready_for_review
https://github.com/llvm/llvm-project/pull/119820
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/104661
>From 007818c271c18d96c112fc1835b4175ab6d509f3 Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Fri, 13 Dec 2024 00:37:55 -0500
Subject: [PATCH] [Clang] Remove 3-element vector load and store special
handling
@@ -1,4 +1,5 @@
set(LLVM_LINK_COMPONENTS
+ Core
shiltian wrote:
This is needed because `TargetInfo.cpp` now needs LLVM types.
https://github.com/llvm/llvm-project/pull/104661
___
cfe-commits mailing list
cfe-commits@
@@ -45,7 +45,7 @@ void test3(packedfloat3 *p) {
*p = (packedfloat3) { 3.2f, 2.3f, 0.1f };
}
// CHECK: @test3(
-// CHECK: store <4 x float> {{.*}}, align 4
+// CHECK: store <3 x float> {{.*}}, align 4
shiltian wrote:
Eventually we might do it like:
```
bool
https://github.com/shiltian updated
https://github.com/llvm/llvm-project/pull/104661
>From e4b3028885112cd33206051292b3b397f90a3d5c Mon Sep 17 00:00:00 2001
From: Shilei Tian
Date: Fri, 13 Dec 2024 00:38:50 -0500
Subject: [PATCH] [Clang] Remove 3-element vector load and store special
handling
https://github.com/HighCommander4 requested changes to this pull request.
Thanks for the patch. I thought about whether it makes sense to have an
additional check for the `*intrin.h` header being inside the resource directory
specifically, but I don't see any headers with that name ending in an
Author: Younan Zhang
Date: 2024-12-13T15:50:41+08:00
New Revision: 28c3bf5c6dad0974f9f15b58afd0935c0c6cb3e4
URL:
https://github.com/llvm/llvm-project/commit/28c3bf5c6dad0974f9f15b58afd0935c0c6cb3e4
DIFF:
https://github.com/llvm/llvm-project/commit/28c3bf5c6dad0974f9f15b58afd0935c0c6cb3e4.diff
https://github.com/zyn0217 closed
https://github.com/llvm/llvm-project/pull/116332
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -45,7 +45,7 @@ void test3(packedfloat3 *p) {
*p = (packedfloat3) { 3.2f, 2.3f, 0.1f };
}
// CHECK: @test3(
-// CHECK: store <4 x float> {{.*}}, align 4
+// CHECK: store <3 x float> {{.*}}, align 4
shiltian wrote:
`unsigned getOptimalVectorNumElements(cons
https://github.com/svs-quic created
https://github.com/llvm/llvm-project/pull/119823
This extension adds 6 instructions that can do multi-word load/store.
The current spec can be found at:
https://github.com/quic/riscv-unified-db/releases/latest
This patch adds assembler only support.
>From 8
llvmbot wrote:
@llvm/pr-subscribers-backend-risc-v
Author: Sudharsan Veeravalli (svs-quic)
Changes
This extension adds 6 instructions that can do multi-word load/store.
The current spec can be found at:
https://github.com/quic/riscv-unified-db/releases/latest
This patch adds assembler on
https://github.com/thurstond created
https://github.com/llvm/llvm-project/pull/119819
This moves the functionality into a generic parseSanitizerArgs function, and
then uses it for parsing both -f(no-)?sanitize-recover and
-f(no-)?sanitize-trap.
Note: for backwards compatibility, we compute th
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Thurston Dang (thurstond)
Changes
This moves the functionality into a generic parseSanitizerArgs function, and
then uses it for parsing both -f(no-)?sanitize-recover and
-f(no-)?sanitize-trap.
Note: for backwards compatibility, we comput
thurstond wrote:
> > Would be possible to switch DiagnosedAlwaysRecoverableKinds to this
> > function?
>
> That's a bit more complicated because it has Unrecoverable and
> AlwaysRecoverable error cases (vs. the current function only has one error
> case: ~Supported). I'll refactor Recoverable
@@ -45,7 +45,7 @@ void test3(packedfloat3 *p) {
*p = (packedfloat3) { 3.2f, 2.3f, 0.1f };
}
// CHECK: @test3(
-// CHECK: store <4 x float> {{.*}}, align 4
+// CHECK: store <3 x float> {{.*}}, align 4
arsenm wrote:
I would return the VectorType to use instead
https://github.com/arsenm created
https://github.com/llvm/llvm-project/pull/119821
None
>From 4c8aa0d740361628ca7255e7bb276f61b05469b0 Mon Sep 17 00:00:00 2001
From: Matt Arsenault
Date: Fri, 13 Dec 2024 15:28:50 +0900
Subject: [PATCH] clang: Fix broken check prefix in test
---
clang/test/Co
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Matt Arsenault (arsenm)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/119821.diff
1 Files Affected:
- (modified) clang/test/CodeGenOpenCL/opencl_types.cl (+2-2)
``diff
diff --git a/clang/test/CodeGenOpenCL
arsenm wrote:
* **#119821** https://app.graphite.dev/github/pr/llvm/llvm-project/119821?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/11982
https://github.com/arsenm ready_for_review
https://github.com/llvm/llvm-project/pull/119821
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/5chmidti edited
https://github.com/llvm/llvm-project/pull/119543
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/petrhosek approved this pull request.
https://github.com/llvm/llvm-project/pull/119810
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Owen Pan
Date: 2024-12-12T23:22:26-08:00
New Revision: ea44647a0b49de826191eeb6e05020262b5a81e9
URL:
https://github.com/llvm/llvm-project/commit/ea44647a0b49de826191eeb6e05020262b5a81e9
DIFF:
https://github.com/llvm/llvm-project/commit/ea44647a0b49de826191eeb6e05020262b5a81e9.diff
LOG:
https://github.com/owenca updated
https://github.com/llvm/llvm-project/pull/119666
>From 8ee6f99cd55cb8d30340e6e89e70c60b54c07aab Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Thu, 12 Dec 2024 23:27:23 -0800
Subject: [PATCH] [clang-format] Add --strip-trailing-cr to diff in
docs_updated.test
https://github.com/svs-quic updated
https://github.com/llvm/llvm-project/pull/119823
>From 87da7f670dcd0843c27bc533f62c710053ca4c86 Mon Sep 17 00:00:00 2001
From: Sudharsan Veeravalli
Date: Fri, 13 Dec 2024 12:06:33 +0530
Subject: [PATCH 1/2] [RISCV] Add Qualcomm uC Xqcilsm (Load Store Multiple
https://github.com/owenca edited
https://github.com/llvm/llvm-project/pull/119666
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
owenca wrote:
> Is the cleanup just running `black`? Would be better committed separately in
> my opinion.
See ea44647a0b49de826191eeb6e05020262b5a81e9.
https://github.com/llvm/llvm-project/pull/119666
___
cfe-commits mailing list
cfe-commits@lists.l
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `arc-builder` running on
`arc-worker` while building `clang` at step 6
"test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/3/builds/9101
Here is the relevant piece of
@@ -45,7 +45,7 @@ void test3(packedfloat3 *p) {
*p = (packedfloat3) { 3.2f, 2.3f, 0.1f };
}
// CHECK: @test3(
-// CHECK: store <4 x float> {{.*}}, align 4
+// CHECK: store <3 x float> {{.*}}, align 4
arsenm wrote:
Don't see what's so ugly. The target hook (w
@@ -45,7 +45,7 @@ void test3(packedfloat3 *p) {
*p = (packedfloat3) { 3.2f, 2.3f, 0.1f };
}
// CHECK: @test3(
-// CHECK: store <4 x float> {{.*}}, align 4
+// CHECK: store <3 x float> {{.*}}, align 4
arsenm wrote:
I don't follow. The language merely states i
@@ -45,7 +45,7 @@ void test3(packedfloat3 *p) {
*p = (packedfloat3) { 3.2f, 2.3f, 0.1f };
}
// CHECK: @test3(
-// CHECK: store <4 x float> {{.*}}, align 4
+// CHECK: store <3 x float> {{.*}}, align 4
shiltian wrote:
I took another look and this is not only a
@@ -8026,10 +8026,6 @@ def fhlsl_strict_availability : Flag<["-"],
"fhlsl-strict-availability">,
Group,
MarshallingInfoFlag>;
-def fpreserve_vec3_type : Flag<["-"], "fpreserve-vec3-type">,
- HelpText<"Preserve 3-component vector type">,
- MarshallingInfoFlag>,
- Implie
https://github.com/shiltian edited
https://github.com/llvm/llvm-project/pull/104661
___
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: Sarah Spall (spall)
Changes
Make fast math the default for HLSL
Closes #108597
---
Patch is 53.45 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/119820.diff
52 Files Affected:
- (modified)
@@ -105,6 +112,26 @@ class QCISELECTICCI funct3, string opcodestr>
let rs1 = imm;
}
+let hasSideEffects = 0, mayLoad = 1, mayStore = 0 in
+class QCILoadMultiple func2, DAGOperand InTyRs2, string opcodestr>
topperc wrote:
func -> funct
https://github.com/ll
@@ -664,11 +664,22 @@ StmtResult Sema::ActOnGCCAsmStmt(SourceLocation AsmLoc,
bool IsSimple,
SmallerValueMentioned |= OutSize < InSize;
}
+// If the input is an integer register while the output is floating point,
+// there is no way they can work together.
@@ -365,3 +365,9 @@ void test19(long long x)
// FIXME: This case should be supported by codegen, but it fails now.
asm ("" : "=rm" (x): "0" (e)); // expected-error {{unsupported inline asm:
input with type 'st_size128' (aka 'struct _st_size128') matching output with
type '
@@ -225,7 +225,9 @@ ABIArgInfo AMDGPUABIInfo::classifyArgumentType(QualType Ty,
bool Variadic,
// Records with non-trivial destructors/copy-constructors should not be
// passed by value.
if (auto RAA = getRecordArgABI(Ty, getCXXABI()))
- return getNaturalAlign
https://github.com/DimitryAndric approved this pull request.
I don't have any experience with LoongArch, but this diff looks fine to me.
https://github.com/llvm/llvm-project/pull/119191
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://l
Author: Congcong Cai
Date: 2024-12-13T07:18:42+08:00
New Revision: 602bbf2fd2ee1dadf0982e05192ee8791b35c657
URL:
https://github.com/llvm/llvm-project/commit/602bbf2fd2ee1dadf0982e05192ee8791b35c657
DIFF:
https://github.com/llvm/llvm-project/commit/602bbf2fd2ee1dadf0982e05192ee8791b35c657.diff
https://github.com/HerrCai0907 closed
https://github.com/llvm/llvm-project/pull/119580
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/119596
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kazutakahirata updated
https://github.com/llvm/llvm-project/pull/119724
>From 6fc978bce4321bb24ade49f2f6fde0c7ccd0002b Mon Sep 17 00:00:00 2001
From: Kazu Hirata
Date: Thu, 12 Dec 2024 09:06:22 -0800
Subject: [PATCH 1/2] [clang] Migrate away from PointerUnion::{is,get} (NFC)
kazutakahirata wrote:
@nikic Please take a look at the revised patch. Thanks!
https://github.com/llvm/llvm-project/pull/119724
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -486,10 +486,10 @@ enum class TemplateSubstitutionKind : char {
const Decl *D = I->first;
llvm::PointerUnion &Stored =
newScope->LocalDecls[D];
-if (I->second.is()) {
- Stored = I->second.get();
+if (isa(I->second)) {
+
https://github.com/brooksdavis approved this pull request.
https://github.com/llvm/llvm-project/pull/119191
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -231,6 +231,9 @@ class LLVM_LIBRARY_VISIBILITY FreeBSDTargetInfo : public
OSTargetInfo {
case llvm::Triple::riscv32:
case llvm::Triple::riscv64:
break;
+case llvm::Triple::loongarch32:
brooksdavis wrote:
I'm of two minds about adding loon
https://github.com/nikic approved this pull request.
https://github.com/llvm/llvm-project/pull/119724
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
vitalybuka wrote:
Would be possible to switch DiagnosedAlwaysRecoverableKinds to this function?
https://github.com/llvm/llvm-project/pull/119797
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe
https://github.com/vitalybuka approved this pull request.
https://github.com/llvm/llvm-project/pull/119797
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HerrCai0907 commented:
My first impression is this PR mixes two things. Besides supporting member
function, it also add some new flag for it. Could you split it?
For supporting member function, the concept is fine for me.
https://github.com/llvm/llvm-project/pull/117165
301 - 370 of 370 matches
Mail list logo