Skip to content

Commit e622234

Browse files
Fix formatting
1 parent 89aee78 commit e622234

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,12 +193,12 @@ template <> struct SequenceElementTraits<exegesis::BenchmarkMeasure> {
193193
static const bool flow = false;
194194
};
195195

196-
197196
template <>
198197
struct CustomMappingTraits<std::map<exegesis::ValidationEvent, int64_t>> {
199198
static void inputOne(IO &Io, StringRef KeyStr,
200199
std::map<exegesis::ValidationEvent, int64_t> &VI) {
201-
Expected<exegesis::ValidationEvent> Key = exegesis::stringToValidationEvent(KeyStr);
200+
Expected<exegesis::ValidationEvent> Key =
201+
exegesis::stringToValidationEvent(KeyStr);
202202
if (!Key) {
203203
Io.setError("Key is not a valid validation event");
204204
return;

llvm/tools/llvm-exegesis/lib/LatencyBenchmarkRunner.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ Expected<std::vector<BenchmarkMeasure>> LatencyBenchmarkRunner::runMeasurements(
9494
return ExpectedCounterValues.takeError();
9595
ValuesCount = ExpectedCounterValues.get().size();
9696
if (ValuesCount == 1) {
97-
LLVM_DEBUG(dbgs() << "Latency value: " << ExpectedCounterValues.get()[0] << "\n");
97+
LLVM_DEBUG(dbgs() << "Latency value: " << ExpectedCounterValues.get()[0]
98+
<< "\n");
9899
AccumulatedValues.push_back(ExpectedCounterValues.get()[0]);
99100
} else {
100101
// We'll keep the reading with lowest variance (ie., most stable)

0 commit comments

Comments
 (0)