================
@@ -342,8 +345,11 @@ Expected<StringRef> runPTXAs(StringRef File, const ArgList
&Args) {
return createStringError(
"must pass in an explicit nvptx64 gpu architecture to 'ptxas'");
- auto TempFileOrErr = createTempFile(
- Args, sys::path::stem(Args.getLastArgValue(OPT_o, "a.out")), "cubin");
----------------
jhuber6 wrote:
This should be changed to instead derive its name from the input file (i.e.
foo.s -> foo.cubin). That should fix this and make the signature changes
unnecessary.
https://github.com/llvm/llvm-project/pull/238883
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits