[PATCH] D131545: [DirectX backend] emit metadata for DXIL version, ShaderModel.

Chris Bieneman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 10 12:31:40 PDT 2022


beanz added a comment.

So... this is actually going to be terrible, but we can't do it this way. We rely on the module having a sane triple through MC emission.

What we need to do is change the triple right before DXIL bitcode generation, then change it back so that it is correct through MC.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131545/new/

https://reviews.llvm.org/D131545



More information about the llvm-commits mailing list