diff options
| author | Kaitlin Peng <kaitlinpeng@microsoft.com> | 2026-02-03 10:02:44 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-03 10:02:44 -0800 |
| commit | 7798a8907ed37be3898505bd590c447c71a7e0ea (patch) | |
| tree | aefcffca0e0932662777464a93ccb5d2a6b1c941 /llvm/lib/CodeGen/InsertCodePrefetch.cpp | |
| parent | cbbb87720d14c36f8e53b4c7f6094614eecc756c (diff) | |
| download | llvm-7798a8907ed37be3898505bd590c447c71a7e0ea.zip llvm-7798a8907ed37be3898505bd590c447c71a7e0ea.tar.gz llvm-7798a8907ed37be3898505bd590c447c71a7e0ea.tar.bz2 | |
Implement `ByteAddressBuffer` Load/Store methods (#176058)
Closes #108058.
This PR:
- Adds the `uint` `Load` and `Store` methods (`Load/Store`,
`Load2/Store2`, `Load3/Store3`, `Load4/Store4`) to the existing
`ByteAddressBuffer` objects
- Adds the new templated `Load` and `Store` methods to
`ByteAddressBuffer` objects, which allow types other than `uint` (e.g.
aggregate types) to be used with them directly
- One exception to this is array types, which are rejected by the
methods (as array returns will be disallowed in 202x)
- Adds the relevant `AST`, `CodeGenHLSL`, and `SemaHLSL` tests for these
methods
*Note: the `HLSL Tests` check is failing because this implementation
makes the `ByteAddressBuffer` tests XPASS. Will remove the XFAILs from
these tests in a follow-up.*
Diffstat (limited to 'llvm/lib/CodeGen/InsertCodePrefetch.cpp')
0 files changed, 0 insertions, 0 deletions
