[DX] Fix missing preserved analysis
authorChris Bieneman <chris.bieneman@me.com>
Wed, 19 Oct 2022 17:09:43 +0000 (12:09 -0500)
committerChris Bieneman <chris.bieneman@me.com>
Wed, 19 Oct 2022 17:11:03 +0000 (12:11 -0500)
commit607be386e7ee1d11a58fe68bf9336de2b2fb9fde
tree944e0de7024601eabc04b1907aa434cec7ed89d8
parent36864d47d6b0e66afbae01fd6144b22816709bd3
[DX] Fix missing preserved analysis

The ShaderFlagsAnalysisWrapper needs to be marked to preserve all
analyssis.

Fixes #58474 (https://github.com/llvm/llvm-project/issues/58474)
llvm/lib/Target/DirectX/DXILShaderFlags.h
llvm/test/CodeGen/DirectX/UAVMetadata.ll