Issue 138278
Summary [HLSL][SPIRV] Add pass to rewrite CBuffer accesses
Labels HLSL, backend:SPIR-V
Assignees s-perron
Reporter s-perron
    A new pass will be added to the SPIR-V backend to implement [Lowering to buffer load intrinsics](https://github.com/llvm/wg-hlsl/blob/main/proposals/0016-constant-buffers.md#lowering-to-buffer-load-intrinsics). This pass has been implemented for DXIL, but we want a different codegen for SPIR-V.


- [ ] Update the [SPIR-V design doc](https://github.com/llvm/wg-hlsl/blob/main/proposals/0018-spirv-resource-representation.md) to mention the pass and how it will work.
- [ ] Update the [CBuffer design doc](https://github.com/llvm/wg-hlsl/blob/main/proposals/0016-constant-buffers.md#lowering-to-buffer-load-intrinsics) to mention that SPIR-V will have its own implementation.
- [ ] Implement the pass in the backend.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to