If an output path is given _use it_

Don't append .hip to a user-provided output file...
This commit is contained in:
Chris Kitching
2017-10-16 14:48:52 +01:00
orang tua 2263cb9f72
melakukan e4e17a56bb
-1
Melihat File
@@ -4239,7 +4239,6 @@ int main(int argc, const char **argv) {
llvm::errs() << "[HIPIFY] conflict: both -o and -inplace options are specified.\n";
return 1;
}
dst += ".hip";
}
std::string tmpFile = src + ".hipify-tmp";