[Mlir-commits] [mlir] [MLIR][NVVM] Add `ptxas-cmd-options` to pass flags to the downstream compiler (PR #127457)
Matthias Springer
llvmlistbot at llvm.org
Mon Feb 17 02:47:46 PST 2025
================
@@ -2564,7 +2564,7 @@ CompilationTarget TargetOptions::getDefaultCompilationTarget() {
}
std::pair<llvm::BumpPtrAllocator, SmallVector<const char *>>
-TargetOptions::tokenizeCmdOptions() const {
+TargetOptions::tokenizeCmdOptions(const std::string &cmdOptions) {
std::pair<llvm::BumpPtrAllocator, SmallVector<const char *>> options;
llvm::StringSaver stringSaver(options.first);
StringRef opts = cmdOptions;
----------------
matthias-springer wrote:
What happened to the original `TargetOptions.cmdOptions`? Is this now ignored? Should it be removed?
https://github.com/llvm/llvm-project/pull/127457
More information about the Mlir-commits
mailing list