Skip to content

Commit 58738c3

Browse files
committed
clang-format.
1 parent 6dffc2f commit 58738c3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1986,7 +1986,8 @@ void AsmPrinter::emitFunctionBody() {
19861986
emitBasicBlockStart(MBB);
19871987
DenseMap<StringRef, unsigned> MnemonicCounts;
19881988

1989-
SmallVector<unsigned> PrefetchTargets = MBB.getPrefetchTargetCallsiteIndexes();
1989+
SmallVector<unsigned> PrefetchTargets =
1990+
MBB.getPrefetchTargetCallsiteIndexes();
19901991
auto PrefetchTargetIt = PrefetchTargets.begin();
19911992
unsigned LastCallsiteIndex = 0;
19921993
// Helper to emit a symbol for the prefetch target and proceed to the next

llvm/lib/CodeGen/InsertCodePrefetch.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ bool InsertCodePrefetch::runOnMachineFunction(MachineFunction &MF) {
7777
for (const auto &Target : PrefetchTargets)
7878
PrefetchTargetsByBBID[Target.BBID].push_back(Target.CallsiteIndex);
7979
// Sort and uniquify the callsite indices for every block.
80-
for (auto &[K, V]: PrefetchTargetsByBBID) {
80+
for (auto &[K, V] : PrefetchTargetsByBBID) {
8181
llvm::sort(V);
8282
V.erase(llvm::unique(V), V.end());
8383
}

0 commit comments

Comments
 (0)