diff --git a/tools/llvm-exegesis/lib/BenchmarkResult.cpp b/tools/llvm-exegesis/lib/BenchmarkResult.cpp index 33ad65075d9..77adb2f1e38 100644 --- a/tools/llvm-exegesis/lib/BenchmarkResult.cpp +++ b/tools/llvm-exegesis/lib/BenchmarkResult.cpp @@ -60,7 +60,7 @@ static llvm::StringRef deserialize(const exegesis::BenchmarkResultContext &Context, llvm::StringRef String, llvm::MCInst &Value) { llvm::SmallVector Pieces; - String.split(Pieces, " "); + String.split(Pieces, " ", /* MaxSplit */ -1, /* KeepEmpty */ false); if (Pieces.empty()) return "Invalid Instruction"; bool ProcessOpcode = true;