This is an archive of the discontinued LLVM Phabricator instance.

[DirectX backend] Support typed buffer load/store.
AbandonedPublic

Authored by python3kgae on Sep 27 2022, 6:12 PM.

Details

Summary

New DXIL op BufferLoad/BufferStore is added.
Resources in "hlsl.uavs" will be lowered into createHandle, BufferLoad and BufferStore.

Didn't use the createHandle generated in clangCodeGen yet.
Tracking with https://github.com/llvm/llvm-project/issues/58031.

Diff Detail

Event Timeline

python3kgae created this revision.Sep 27 2022, 6:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 27 2022, 6:12 PM
python3kgae requested review of this revision.Sep 27 2022, 6:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 27 2022, 6:12 PM

Refactoring code and fix test fail.

Add comments for MemAccess.