Issue 124310
Summary [DirectX][Doc] Document various module metadata and function attributes
Labels new issue
Assignees
Reporter bharadwajy
    Modules generated by `clang` during compilation of HLSL use the following module metadata to denote module-wide properties and function attributes to denote function-wide properties in LLVM IR.

1. Module Metadata
  - `dx.valver`
  - `dx.shaderModel`
  - `dx.disable_optimizations`
2. Function Attributes
  - `hlsl.shader`
  - `hlsl.shaderModel`

Only `hlsl.shader` is [documented](https://clang.llvm.org/docs/HLSL/HLSLIRReference.html). Update documentation to include all module metadata and function attributes.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to