From e4e17a56bb7e1378928dacdd5b50eedee898ecf6 Mon Sep 17 00:00:00 2001 From: Chris Kitching Date: Mon, 16 Oct 2017 14:48:52 +0100 Subject: [PATCH] If an output path is given _use it_ Don't append .hip to a user-provided output file... --- hipify-clang/src/Cuda2Hip.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/hipify-clang/src/Cuda2Hip.cpp b/hipify-clang/src/Cuda2Hip.cpp index 5318222408..d36e2ba6bf 100644 --- a/hipify-clang/src/Cuda2Hip.cpp +++ b/hipify-clang/src/Cuda2Hip.cpp @@ -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";