Author: Vitaly Buka
Date: 2024-08-23T23:28:40-07:00
New Revision: 5e19c6a4983184bc3ed6583bf6359720dad3713f
URL:
https://github.com/llvm/llvm-project/commit/5e19c6a4983184bc3ed6583bf6359720dad3713f
DIFF:
https://github.com/llvm/llvm-project/commit/5e19c6a4983184bc3ed6583bf6359720dad3713f.diff
L
Author: Vitaly Buka
Date: 2024-08-23T17:33:36-07:00
New Revision: 3647da280aa248430d8539db5045f57563223e56
URL:
https://github.com/llvm/llvm-project/commit/3647da280aa248430d8539db5045f57563223e56
DIFF:
https://github.com/llvm/llvm-project/commit/3647da280aa248430d8539db5045f57563223e56.diff
L
llvmbot wrote:
@llvm/pr-subscribers-libunwind
Author: None (llvmbot)
Changes
Backport 172c4a4a147833f1c08df1555f3170aa9ccb6cbe
Requested by: @ian-twilightcoder
---
Full diff: https://github.com/llvm/llvm-project/pull/105896.diff
2 Files Affected:
- (modified) libunwind/include/CMakeLi
https://github.com/llvmbot created
https://github.com/llvm/llvm-project/pull/105896
Backport 172c4a4a147833f1c08df1555f3170aa9ccb6cbe
Requested by: @ian-twilightcoder
>From 80e7aae158205eeadd44f21c5f8baef6d2dc1b14 Mon Sep 17 00:00:00 2001
From: Ian Anderson
Date: Thu, 22 Aug 2024 13:44:58 -07
llvmbot wrote:
@ldionne What do you think about merging this PR to the release branch?
https://github.com/llvm/llvm-project/pull/105896
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listi
https://github.com/llvmbot milestoned
https://github.com/llvm/llvm-project/pull/105896
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -119,6 +123,142 @@ class OpLowerer {
});
}
+ /// Create a cast between a `target("dx")` type and `dx.types.Handle`, which
+ /// is intended to be removed by the end of lowering. This is used to allow
+ /// lowering of ops which need to change their return or argume
@@ -0,0 +1,53 @@
+; RUN: opt -S -dxil-op-lower %s | FileCheck %s
+
+target triple = "dxil-pc-shadermodel6.0-compute"
+
+declare i32 @some_val();
+
+define void @test_buffers() {
+ ; RWBuffer Buf : register(u5, space3)
+ %typed0 = call target("dx.TypedBuffer", <4 x float>, 1, 0,
@@ -0,0 +1,58 @@
+; RUN: opt -S -dxil-op-lower %s | FileCheck %s
+
+target triple = "dxil-pc-shadermodel6.6-compute"
+
+declare i32 @some_val();
+
+define void @test_bindings() {
+ ; RWBuffer Buf : register(u5, space3)
+ %typed0 = call target("dx.TypedBuffer", <4 x float>, 1, 0,
@@ -0,0 +1,53 @@
+; RUN: opt -S -dxil-op-lower %s | FileCheck %s
+
+target triple = "dxil-pc-shadermodel6.0-compute"
+
+declare i32 @some_val();
+
+define void @test_buffers() {
+ ; RWBuffer Buf : register(u5, space3)
+ %typed0 = call target("dx.TypedBuffer", <4 x float>, 1, 0,
https://github.com/dmpots edited
https://github.com/llvm/llvm-project/pull/104251
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/dmpots approved this pull request.
Overall, LGTM!
https://github.com/llvm/llvm-project/pull/104251
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-co
@@ -0,0 +1,58 @@
+; RUN: opt -S -dxil-op-lower %s | FileCheck %s
+
+target triple = "dxil-pc-shadermodel6.6-compute"
+
+declare i32 @some_val();
+
+define void @test_bindings() {
+ ; RWBuffer Buf : register(u5, space3)
+ %typed0 = call target("dx.TypedBuffer", <4 x float>, 1, 0,
@@ -119,6 +123,142 @@ class OpLowerer {
});
}
+ /// Create a cast between a `target("dx")` type and `dx.types.Handle`, which
+ /// is intended to be removed by the end of lowering. This is used to allow
+ /// lowering of ops which need to change their return or argume
@@ -0,0 +1,61 @@
+; RUN: opt -S -dxil-op-lower %s | FileCheck %s
bogner wrote:
Added a resource that does both of these things to the tests.
https://github.com/llvm/llvm-project/pull/104251
___
llvm-branch-commits mail
@@ -119,6 +123,119 @@ class OpLowerer {
});
}
+ Value *createTmpHandleCast(Value *V, Type *Ty) {
+Function *CastFn = Intrinsic::getDeclaration(&M, Intrinsic::dx_cast_handle,
+ {Ty, V->getType()});
+CallInst *Cast =
@@ -683,6 +685,14 @@ def Dot4 : DXILOp<56, dot4> {
let attributes = [Attributes];
}
+def CreateHandle : DXILOp<57, createHandle> {
+ let Doc = "creates the handle to a resource";
+ // ResourceClass, RangeID, Index, NonUniform
+ let arguments = [Int8Ty, Int32Ty, Int32Ty,
https://github.com/bogner updated
https://github.com/llvm/llvm-project/pull/104251
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/bogner updated
https://github.com/llvm/llvm-project/pull/104251
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/94248
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/Sirraide closed
https://github.com/llvm/llvm-project/pull/94244
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
Sirraide wrote:
I doubt anyone has started using this since a month ago, so let’s see if we can
merge this.
https://github.com/llvm/llvm-project/pull/94244
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/
https://github.com/hekota approved this pull request.
LGTM!
https://github.com/llvm/llvm-project/pull/104251
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
@@ -119,6 +123,119 @@ class OpLowerer {
});
}
+ Value *createTmpHandleCast(Value *V, Type *Ty) {
+Function *CastFn = Intrinsic::getDeclaration(&M, Intrinsic::dx_cast_handle,
+ {Ty, V->getType()});
+CallInst *Cast =
@@ -119,6 +123,119 @@ class OpLowerer {
});
}
+ Value *createTmpHandleCast(Value *V, Type *Ty) {
+Function *CastFn = Intrinsic::getDeclaration(&M, Intrinsic::dx_cast_handle,
+ {Ty, V->getType()});
+CallInst *Cast =
@@ -117,6 +119,10 @@ class ResourceInfo {
MSInfo MultiSample;
+ // We need a default constructor if we want to insert this in a MapVector.
+ ResourceInfo() {}
+ friend class MapVector;
bogner wrote:
It was, yes, but the latest version no longer needs th
@@ -119,6 +123,119 @@ class OpLowerer {
});
}
+ Value *createTmpHandleCast(Value *V, Type *Ty) {
+Function *CastFn = Intrinsic::getDeclaration(&M, Intrinsic::dx_cast_handle,
+ {Ty, V->getType()});
+CallInst *Cast =
https://github.com/bogner updated
https://github.com/llvm/llvm-project/pull/104251
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/bogner updated
https://github.com/llvm/llvm-project/pull/104251
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/boomanaiden154 approved this pull request.
LGTM.
https://github.com/llvm/llvm-project/pull/105815
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-com
https://github.com/PeimingLiu updated
https://github.com/llvm/llvm-project/pull/105567
>From 58bae5cff0b813347512a67a89e3abf6637ad0a9 Mon Sep 17 00:00:00 2001
From: Peiming Liu
Date: Thu, 15 Aug 2024 21:10:37 +
Subject: [PATCH] [mlir][sparse] unify block arguments order between
iterate/coi
https://github.com/aartbik approved this pull request.
https://github.com/llvm/llvm-project/pull/105567
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/aartbik approved this pull request.
https://github.com/llvm/llvm-project/pull/105566
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/mtrofin edited
https://github.com/llvm/llvm-project/pull/105469
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/dwblaikie approved this pull request.
https://github.com/llvm/llvm-project/pull/105846
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
dwblaikie wrote:
> @dwblaikie What do you think about merging this PR to the release branch?
Seems pretty harmless/OK to me.
https://github.com/llvm/llvm-project/pull/105846
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https
llvmbot wrote:
@llvm/pr-subscribers-backend-aarch64
@llvm/pr-subscribers-debuginfo
Author: None (llvmbot)
Changes
Backport e76db25832d6ac2d3a36769b26f982d9dee4b346
Requested by: @sunfishcode
---
Patch is 147.21 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/ll
llvmbot wrote:
@dwblaikie What do you think about merging this PR to the release branch?
https://github.com/llvm/llvm-project/pull/105846
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/lis
https://github.com/llvmbot milestoned
https://github.com/llvm/llvm-project/pull/105846
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
ivanradanov wrote:
No you are right, sorry for the back and forth, as you said, since a wsloop can
only be nested in a omp.parallel it is immediately obvious that it binds to the
omp.parallel threads so that makes sense.
My only concern was that at some point some transformation (perhaps in th
https://github.com/phoebewang approved this pull request.
LGTM.
https://github.com/llvm/llvm-project/pull/105815
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/overmighty updated
https://github.com/llvm/llvm-project/pull/105706
>From 92629d814e5682fdd59510970bb7d30a6b705134 Mon Sep 17 00:00:00 2001
From: OverMighty
Date: Thu, 22 Aug 2024 19:57:52 +0200
Subject: [PATCH 1/2] [libc][math][c23] Add exp10m1f16 C23 math function
Part of
ilya-biryukov wrote:
Here is the reproducer. Like before, builds at head and fails with the patch
applied. After unpacking the archive just run
```
$ CLANGPP= ./build.sh
```
Note the comment in `build.sh` about the system libc++ required for it (libc++
17 worked, 15 and 16 did not).
[container
skatrak wrote:
> > Maybe support for this operation could be just based on changes to how the
> > MLIR representation is built in the first place, what do you think?
>
> This is partly what this implementation aims to do. In fact, after the pass
> that lowers the omp.workshare operation we are
llvmbot wrote:
@llvm/pr-subscribers-backend-x86
Author: None (llvmbot)
Changes
Backport 3276ee30226de1572bde5bd3716a1d343bbb3657
6ec4c9c3eb4a556f848dac37a2d6f0d46ecc6f02
7faf2c95a4f1c3148c891608ed516eda3c9d3eb4
cf6cd1fd67356ca0c2972992928592d2430043d2
Requested by: @RKSimon
---
Patch
https://github.com/llvmbot milestoned
https://github.com/llvm/llvm-project/pull/105815
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
jayfoad wrote:
I'm not sure if I should have done three different backport requests for the
three commits. It could be confusing if they get squash-and-merged onto the
release branch.
https://github.com/llvm/llvm-project/pull/105808
___
llvm-branch-c
llvmbot wrote:
@llvm/pr-subscribers-backend-amdgpu
Author: None (llvmbot)
Changes
Backport 61194617ad78 5506831f7bc8 fa2dccb377d0
Requested by: @jayfoad
---
Patch is 28.14 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/105808.diff
12 Files
https://github.com/llvmbot updated
https://github.com/llvm/llvm-project/pull/105808
>From b546ec4642d7f9c3d01c7d73480dd37258737a01 Mon Sep 17 00:00:00 2001
From: Jay Foad
Date: Thu, 22 Aug 2024 11:42:57 +0100
Subject: [PATCH 1/3] [AMDGPU] Add GFX12 test coverage for vmcnt flushing in
loop head
llvmbot wrote:
@arsenm @Pierre-vh @arsenm What do you think about merging this PR to the
release branch?
https://github.com/llvm/llvm-project/pull/105808
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cg
https://github.com/llvmbot milestoned
https://github.com/llvm/llvm-project/pull/105808
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/llvmbot created
https://github.com/llvm/llvm-project/pull/105808
Backport 61194617ad78 5506831f7bc8 fa2dccb377d0
Requested by: @jayfoad
>From 720021a53f9d159ce490e9670ba7ca7b1c8fa52e Mon Sep 17 00:00:00 2001
From: Jay Foad
Date: Thu, 22 Aug 2024 11:42:57 +0100
Subject: [PAT
https://github.com/nikic approved this pull request.
https://github.com/llvm/llvm-project/pull/105797
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
dtcxzyw wrote:
@nikic Affected rust applications: just rustfmt tree-sitter
See also https://github.com/llvm/llvm-project/pull/105790/files
https://github.com/llvm/llvm-project/pull/105797
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.
llvmbot wrote:
@llvm/pr-subscribers-llvm-transforms
Author: None (llvmbot)
Changes
Backport 85b6aac7c25f9d2a976a76045ace1e7afebb5965
Requested by: @dtcxzyw
---
Full diff: https://github.com/llvm/llvm-project/pull/105797.diff
2 Files Affected:
- (modified) llvm/lib/Transforms/Scalar/Co
llvmbot wrote:
@nikic What do you think about merging this PR to the release branch?
https://github.com/llvm/llvm-project/pull/105797
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinf
https://github.com/llvmbot milestoned
https://github.com/llvm/llvm-project/pull/105797
___
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
https://github.com/llvmbot created
https://github.com/llvm/llvm-project/pull/105797
Backport 85b6aac7c25f9d2a976a76045ace1e7afebb5965
Requested by: @dtcxzyw
>From f22bff58e4e8bf8c891a443dc49dd83586ed6a56 Mon Sep 17 00:00:00 2001
From: Yingwei Zheng
Date: Fri, 23 Aug 2024 16:06:00 +0800
Subjec
ivanradanov wrote:
> Maybe support for this operation could be just based on changes to how the
> MLIR representation is built in the first place, what do you think?
This is partly what this implementation aims to do. In fact, after the pass
that lowers the omp.workshare operation we are left
59 matches
Mail list logo