Issue 120119
Summary [DirectX] Run shader flags analysis before DXILOpLowering
Labels new issue
Assignees
Reporter bogner
    We should run shader flags analysis before DXILOpLowering, so that it can work with DirectX target intrinsics rather than having to recover information from the lowered operations. This will significantly simplify tasks like #118140 and #114557.

Note that this will mean very late passes (ie, DXContainerGlobals) shouldn't rely on shader flags analysis directly, since it won't be possible to re-run it if it's invalid at that point.

To do:
- Move the translate metadata pass after the dxil op lowering pass
- Update DXContainerGlobals to get the shader flags from metadata rather than analysis
- Add asserts if flag analysis is run post lowering

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to