[PATCH] D127153: [DirectX] Add DXILAsmPrinter

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


beanz added a comment.

My intent was to do a separate parser & printer for DXBC (DirectX byte code) when we get there. The final output has very little in common with DXIL (DirectX Intermediate Language) other than the binary container format, but the intrinsics, lowering paths, and some optimizations will be shared. My plan is to treat them as different architectures coming out of the same target.

For DXIL, handling asm files is going to just be wrapping around the LLVM IR parser and printer, but we need some stubs to emit into object files so the MC layer doesn't get upset. For DXBC we'll eventually need a proper parser & printer and will add full support through MC.


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