Issue 114461
Summary [DirectX] Generate appropriate DXIL Op attributes
Labels llvm:codegen, backend:DirectX
Assignees inbelic
Reporter pow2clk
    The DxilOpLower pass does not apply attributes indicated by DXIL.td. In addition, the DXIL Op tablegen emitter doesn't properly include multiple attributes for the Op as it tries to OR them together like stages. Attribute values aren't represented as single bit values, so this won't work. Instead we need to represent them as a simplevector of attribute values. These will need to be read in DxilOpLower and assigned to the output dxilop calls.

Additionally, DXIL.td is missing a lot of attributes for a lot of ops. Many of those available will need to be added to the attributes that LLVM recognizes. This includes `IsWave`, `ReadOnly`, `ReadNone`, and `ArgMemOnly`. The others might need to be re-evaluated.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to