If an output path is given _use it_

Don't append .hip to a user-provided output file...
此提交包含在:
Chris Kitching committed 2017-10-16 17:32:57 +01:00
1 父節點 2263cb9f72
當前提交 e4e17a56bb
1 file changed
-1
-1
查看文件
@@ -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";