[PATCH] D127153: [DirectX] Add DXILAsmPrinter

Chris Bieneman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 9 08:30:44 PDT 2022


beanz added a comment.

At least for DXIL, the assembly is just LLVM IR, so we use the IR printer. I'm modeling how we put bitcode into the final object off how we embed bitcode in other object formats, so the AsmPrinter really only needs to be able to emit globals into sections.

Eventually I hope to add DXBC support to the DirectX target too. DXBC is much more like a virtual ISA, and it will have a more functional ASM printer.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127153



More information about the llvm-commits mailing list