================
@@ -78,6 +78,7 @@ TYPE("c++-module-cpp-output",    PP_CXXModule, INVALID,       
  "iim",    phases
 TYPE("ada",                      Ada,          INVALID,         nullptr,  
phases::Compile, phases::Backend, phases::Assemble, phases::Link)
 TYPE("assembler",                PP_Asm,       INVALID,         "s",      
phases::Assemble, phases::Link)
 TYPE("assembler-with-cpp",       Asm,          PP_Asm,          "S",      
phases::Preprocess, phases::Assemble, phases::Link)
+TYPE("spv",                      SPV,          INVALID,         "spv",  
phases::Backend)
----------------
jhuber6 wrote:

SPIR-V in this context is just the assembler face as far as I'm aware, I think 
there's some magic setting that splits it if you need to. That's what CUDA does 
w/ its PTX target. I'd imagine this would imply clang consuming SPIR-V to give 
you back an ELF or LLVM-IR.

https://github.com/llvm/llvm-project/pull/162282
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to