[all-commits] [llvm/llvm-project] 4bc99e: [DirectX] Add getpointer docs to DXILResources.rst
Justin Bogner via All-commits
all-commits at lists.llvm.org
Mon Dec 23 15:33:55 PST 2024
Branch: refs/heads/users/bogner/120778+120779
Home: https://github.com/llvm/llvm-project
Commit: 4bc99eb9111090101413e0a23d3d2c85ec88a6bf
https://github.com/llvm/llvm-project/commit/4bc99eb9111090101413e0a23d3d2c85ec88a6bf
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-12-23 (Mon, 23 Dec 2024)
Changed paths:
M llvm/docs/DirectX/DXILResources.rst
Log Message:
-----------
[DirectX] Add getpointer docs to DXILResources.rst
Commit: dcdd0fc4c4ce7cd8486c1b3ed50918cbf7025395
https://github.com/llvm/llvm-project/commit/dcdd0fc4c4ce7cd8486c1b3ed50918cbf7025395
Author: Justin Bogner <mail at justinbogner.com>
Date: 2024-12-23 (Mon, 23 Dec 2024)
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}`.
Compare: https://github.com/llvm/llvm-project/compare/07eb18031071...dcdd0fc4c4ce
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