Skip to content

Commit 5196432

Browse files
committed
Address reviewers 3
1 parent 3dbf4b2 commit 5196432

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

bolt/lib/Profile/DataAggregator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1522,7 +1522,7 @@ void DataAggregator::printBranchStacksDiagnostics(
15221522

15231523
std::error_code DataAggregator::parseBranchEvents() {
15241524
std::string BranchEventTypeStr =
1525-
!opts::ArmSPE ? "branch events" : "SPE branch events in LBR-format";
1525+
opts::ArmSPE ? "SPE branch events in LBR-format" : "branch events";
15261526
outs() << "PERF2BOLT: parse " << BranchEventTypeStr << "...\n";
15271527
NamedRegionTimer T("parseBranch", "Parsing " + BranchEventTypeStr,
15281528
TimerGroupName, TimerGroupDesc, opts::TimeAggregator);

bolt/unittests/Profile/PerfSpeEvents.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ extern cl::opt<bool> ArmSPE;
2929
namespace llvm {
3030
namespace bolt {
3131

32-
/// Perform checks on perf SPE branch events combined with other SPE or perf
33-
/// events.
32+
/// Perform checks on perf SPE branch events.
3433
struct PerfSpeEventsTestHelper : public testing::Test {
3534
void SetUp() override {
3635
initalizeLLVM();

0 commit comments

Comments
 (0)