================
@@ -6629,6 +6629,12 @@ const char *Driver::GetNamedOutputPath(Compilation &C,
const JobAction &JA,
->getValue();
NamedOutput =
MakeCLOutputFilename(C.getArgs(), Val, BaseName, types::TY_Object);
+ } else if ((JA.getType() == types::TY_LLVM_BC ||
----------------
efriedma-quic wrote:
Looking again, I think I'd prefer to merge this with the code on line 6577. If
the only difference is the last argument to the MakeCLOutputFilename call, it's
better to make that a conditional instead of duplicating the rest of the
argument handling logic.
https://github.com/llvm/llvm-project/pull/189977
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits