================
@@ -714,10 +714,14 @@ static Error runAOTCompileIntelGPU(StringRef InputFile, 
StringRef OutputFile,
   CmdArgs.push_back("-output_no_suffix");
   CmdArgs.push_back("-spirv_input");
 
-  StringRef Arch(Args.getLastArgValue(OPT_arch_EQ));
-  assert(!Arch.empty() && "Arch must be specified for AOT compilation");
+  // Compile for the --code list, e.g. "xe-mtl-u,xe-mtl-h" for an IGCA target,
+  // or else for the Intel GPU in --arch.
----------------
sarnex wrote:

```suggestion
  // or otherwise for the Intel GPU in --arch.
```

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

Reply via email to