If an output path is given _use it_

Don't append .hip to a user-provided output file...


[ROCm/clr commit: 14061bf0e6]
This commit is contained in:
Chris Kitching
2017-10-16 14:48:52 +01:00
rodzic 40b7c1f9a1
commit 756aca43f9
@@ -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";