================
@@ -5154,6 +5158,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction 
&JA,
       rewriteKind = RK_Fragile;
     } else if (JA.getType() == types::TY_CIR) {
       CmdArgs.push_back("-emit-cir");
+    } else if (JA.getType() == types::TY_Image && IsAMDSPIRVForHIPDevice) {
----------------
jhuber6 wrote:

Can you explain this a bit more? The `image` type is a little weird I recall, I 
thought we mostly used it for bizarre things like fat binaries. If this is 
SPIR-V then wouldn't it be object or assembly?

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

Reply via email to