[all-commits] [llvm/llvm-project] c96108: [DirectX] Add getpointer docs to DXILResources.rst
Justin Bogner via All-commits
all-commits at lists.llvm.org
Sun Jan 5 18:46:56 PST 2025
Branch: refs/heads/users/bogner/121282
Home: https://github.com/llvm/llvm-project
Commit: c961085ee90219714f37e04cd84625162df4ecc3
https://github.com/llvm/llvm-project/commit/c961085ee90219714f37e04cd84625162df4ecc3
Author: Justin Bogner <mail at justinbogner.com>
Date: 2025-01-05 (Sun, 05 Jan 2025)
Changed paths:
M llvm/docs/DirectX/DXILResources.rst
Log Message:
-----------
[DirectX] Add getpointer docs to DXILResources.rst
Commit: 403bbcb7779772542f153c88c6da93bcf0a20d04
https://github.com/llvm/llvm-project/commit/403bbcb7779772542f153c88c6da93bcf0a20d04
Author: Justin Bogner <mail at justinbogner.com>
Date: 2025-01-05 (Sun, 05 Jan 2025)
Changed paths:
M llvm/docs/DirectX/DXILResources.rst
M llvm/include/llvm/IR/IntrinsicsDirectX.td
M llvm/lib/Target/DirectX/DXILOpLowering.cpp
M llvm/lib/Target/DirectX/DXILResourceAccess.cpp
M llvm/test/CodeGen/DirectX/BufferLoad.ll
M llvm/test/CodeGen/DirectX/ResourceAccess/load_typedbuffer.ll
M llvm/test/CodeGen/DirectX/ResourceAccess/store_typedbuffer.ll
M llvm/test/CodeGen/DirectX/ResourceGlobalElimination.ll
M llvm/test/CodeGen/DirectX/ShaderFlags/typed-uav-load-additional-formats.ll
Log Message:
-----------
[DirectX] Remove the "checked" variants of `dx.resource.load`
We'd introduced separate versions of `llvm.dx.resource.load` with a
struct return to handle the CheckAccessFullyMapped case without making
the IR for the common case unnecessarily complicated. However, at this
point the common case is really `resource.getpointer`, so the ergonomics
of a simplified version of `load` don't actually gain us as much as the
cost of having multiple opcodes.
Drop the `dx.resource.loadchecked` functions and have `dx.resource.load`
consistently return `{element_type, i1}`.
Commit: 10b9ad3eed784c03d0cf2605231ee32af5dc185b
https://github.com/llvm/llvm-project/commit/10b9ad3eed784c03d0cf2605231ee32af5dc185b
Author: Justin Bogner <mail at justinbogner.com>
Date: 2025-01-05 (Sun, 05 Jan 2025)
Changed paths:
M llvm/docs/DirectX/DXILResources.rst
M llvm/include/llvm/IR/IntrinsicsDirectX.td
M llvm/lib/Target/DirectX/DXIL.td
M llvm/lib/Target/DirectX/DXILOpBuilder.cpp
M llvm/lib/Target/DirectX/DXILOpLowering.cpp
A llvm/test/CodeGen/DirectX/BufferLoad-sm61.ll
A llvm/test/CodeGen/DirectX/RawBufferLoad-error64.ll
A llvm/test/CodeGen/DirectX/RawBufferLoad.ll
M llvm/utils/TableGen/DXILEmitter.cpp
Log Message:
-----------
[DirectX] Implement the resource.load.rawbuffer intrinsic
This introduces `@llvm.dx.resource.load.rawbuffer` and generalizes the
buffer load docs under DirectX/DXILResources.
This resolves the "load" parts of #106188
Commit: ae36a7c2aa0626febb00b7bcf581a00ea0042d23
https://github.com/llvm/llvm-project/commit/ae36a7c2aa0626febb00b7bcf581a00ea0042d23
Author: Justin Bogner <mail at justinbogner.com>
Date: 2025-01-05 (Sun, 05 Jan 2025)
Changed paths:
M llvm/docs/DirectX/DXILResources.rst
M llvm/include/llvm/IR/IntrinsicsDirectX.td
M llvm/lib/Target/DirectX/DXIL.td
M llvm/lib/Target/DirectX/DXILOpLowering.cpp
A llvm/test/CodeGen/DirectX/BufferStore-sm61.ll
A llvm/test/CodeGen/DirectX/RawBufferStore-error64.ll
A llvm/test/CodeGen/DirectX/RawBufferStore.ll
Log Message:
-----------
[DirectX] Implement the resource.store.rawbuffer intrinsic
This introduces `@llvm.dx.resource.store.rawbuffer` and generalizes the
buffer store docs under DirectX/DXILResources.
Fixes #106188
Compare: https://github.com/llvm/llvm-project/compare/c961085ee902%5E...ae36a7c2aa06
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list