Issue 151564
Summary [HLSL] [DirectX] Do not mark functions with `OptimizeNone` when compiling with `-O0`
Labels new issue
Assignees
Reporter Icohedron
    As discussed in the HLSL Working Group Meeting on July 31st, we should not mark functions with `OptimizeNone` when compiling with `-O0` so that optimizations are still allowed to run on HLSL functions. 

This is required because of passes such as SROA which explicitly skip running on functions marked with `OptimizeNone` despite being required for legalization to DXIL.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to