[FRONTEND] Fix declaration of feature option

This PR fixes declaration of feature option in triton-translate utility.
This commit is contained in:
Alexander Efimov
2023-03-17 13:11:41 +00:00
parent 396e627a33
commit 3bb5ee4f46

View File

@@ -96,7 +96,7 @@ LogicalResult tritonTranslateMain(int argc, char **argv,
llvm::cl::value_desc("target triple"), llvm::cl::init("-amd-amdhsa"));
static llvm::cl::opt<std::string> GCNFeatures(
"", llvm::cl::desc("AMDGCN features. e.g. '+sramecc,-xnack'"),
"features", llvm::cl::desc("AMDGCN features. e.g. '+sramecc,-xnack'"),
llvm::cl::value_desc("features"), llvm::cl::init("+sramecc,-xnack"));
llvm::InitLLVM y(argc, argv);