Skip to content

Commit 9e276b6

Browse files
authored
Fix formatting (#14)
1 parent 7c40f7b commit 9e276b6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

llvm/lib/MCA/CustomBehaviour.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ bool InstrumentManager::canCustomize(
5353
const llvm::SmallVector<Instrument *> &IVec) const {
5454
for (const auto I : IVec) {
5555
if (I->getDesc() == LatencyInstrument::DESC_NAME) {
56-
auto LatInst = static_cast<LatencyInstrument*>(I);
56+
auto LatInst = static_cast<LatencyInstrument *>(I);
5757
return LatInst->hasValue();
5858
}
5959
}
@@ -64,7 +64,7 @@ void InstrumentManager::customize(const llvm::SmallVector<Instrument *> &IVec,
6464
InstrDesc &ID) const {
6565
for (const auto I : IVec) {
6666
if (I->getDesc() == LatencyInstrument::DESC_NAME) {
67-
auto LatInst = static_cast<LatencyInstrument*>(I);
67+
auto LatInst = static_cast<LatencyInstrument *>(I);
6868
if (LatInst->hasValue()) {
6969
auto Latency = LatInst->getLatency();
7070
// TODO Allow to customize a subset of ID.Writes

llvm/tools/llvm-mca/llvm-mca.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,8 @@ int main(int argc, char **argv) {
521521
} else {
522522
// If the -disable-im flag is set then we use the default base class
523523
// implementation and disable the instruments.
524-
IM = std::make_unique<mca::InstrumentManager>(*STI, *MCII, /*EnableInstruments=*/false);
524+
IM = std::make_unique<mca::InstrumentManager>(*STI, *MCII,
525+
/*EnableInstruments=*/false);
525526
}
526527

527528
// Parse the input and create InstrumentRegion that llvm-mca

0 commit comments

Comments
 (0)