[PATCH] D127166: [DirectX] Add DirectX target object writer

Xiang Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 17 08:59:59 PDT 2022


python3kgae added inline comments.


================
Comment at: llvm/test/CodeGen/DirectX/embed-dxil.ll:3
 ; RUN: opt %s -dxil-embed -S -o - | FileCheck %s
-target triple = "dxil-unknown-unknown"
+; RUN: llc %s --filetype=obj -o - | obj2yaml | FileCheck %s --check-prefix=DXC
+target triple = "dxil-unknown-shadermodel6.5-compute"
----------------
Is it possible to extract the dxil part out of the container and run dxil-dis to test the output dxil?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127166



More information about the llvm-commits mailing list