Skip to content

[DXIL] Add GroupMemoryBarrierWithGroupSync intrinsic #114349

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 24 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
0dcfae1
Added GroupMemoryBarrierWithGroupSync intrinsic for DXIL
adam-yang Oct 8, 2024
901aef5
Changed naming convention and fixed formatting
adam-yang Oct 10, 2024
42ba53b
Got rid of the noduplicate attr
adam-yang Oct 10, 2024
746d639
Shader model changed to 6.0
adam-yang Oct 10, 2024
39f40ff
Fixed the incorrect arguments list
adam-yang Oct 10, 2024
8bd228c
Revert "Shader model changed to 6.0"
adam-yang Oct 10, 2024
e5c71ca
Added another intermediate memory barrier intrinsic that maps directl…
adam-yang Oct 15, 2024
e6ec07b
Format
adam-yang Oct 15, 2024
107c1db
Tablegen simple
adam-yang Oct 17, 2024
1b37913
All working now
adam-yang Oct 21, 2024
f0f09ce
Rename and clang-format
adam-yang Oct 21, 2024
e4f8af7
Comment
adam-yang Oct 21, 2024
81d928a
Handling the arg select version for other ops
adam-yang Oct 21, 2024
e2f1c62
Formatting
adam-yang Oct 21, 2024
f1509f7
Addressed feedback
adam-yang Oct 28, 2024
fc71b61
Fixed the warnings on clang
adam-yang Oct 31, 2024
065fc8e
Got rid of DXILConstant in the tablegen
adam-yang Nov 6, 2024
6cca5c9
Renamed everything, no longer duplicating the structs three times
adam-yang Nov 13, 2024
f264179
Got rid of the default LLVMIntrinsic in DXILOp
adam-yang Nov 13, 2024
c7ead3e
Formatting, and missing comment
adam-yang Nov 13, 2024
91f6962
Fixed using the old name after renaming the type
adam-yang Nov 13, 2024
122c675
Addressed more feedback
adam-yang Nov 14, 2024
4acbe43
Made the assert less confusing
adam-yang Nov 15, 2024
1aaa5f7
Fixed bad rebase and fixed new intrinsics added from main
adam-yang Dec 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions llvm/include/llvm/IR/IntrinsicsDirectX.td
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,6 @@ def int_dx_radians : DefaultAttrsIntrinsic<[llvm_anyfloat_ty], [LLVMMatchType<0>
def int_dx_discard : DefaultAttrsIntrinsic<[], [llvm_i1_ty], []>;
def int_dx_firstbituhigh : DefaultAttrsIntrinsic<[LLVMScalarOrSameVectorWidth<0, llvm_i32_ty>], [llvm_anyint_ty], [IntrNoMem]>;
def int_dx_firstbitshigh : DefaultAttrsIntrinsic<[LLVMScalarOrSameVectorWidth<0, llvm_i32_ty>], [llvm_anyint_ty], [IntrNoMem]>;

def int_dx_group_memory_barrier_with_group_sync : DefaultAttrsIntrinsic<[], [], []>;
}
Loading