Skip to content

Commit 0e3cb2e

Browse files
committed
Fix some formatting errors.
1 parent 0642fcb commit 0e3cb2e

8 files changed

+10
-17
lines changed

llvm/lib/Target/LoongArch/LoongArchCallLowering.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
//===-- LoongArchCallLowering.cpp - Call lowering -------------------*- C++
2-
//-*-===//
1+
//===-- LoongArchCallLowering.cpp - Call lowering ---------------*- C++ -*-===//
32
//
43
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
54
// See https://llvm.org/LICENSE.txt for license information.
@@ -30,9 +29,9 @@ bool LoongArchCallLowering::lowerReturn(MachineIRBuilder &MIRBuilder,
3029

3130
MachineInstrBuilder Ret = MIRBuilder.buildInstrNoInsert(LoongArch::PseudoRET);
3231

33-
if (Val != nullptr) {
32+
if (Val != nullptr)
3433
return false;
35-
}
34+
3635
MIRBuilder.insertInstr(Ret);
3736
return true;
3837
}

llvm/lib/Target/LoongArch/LoongArchCallLowering.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
//===-- LoongArchCallLowering.h - Call lowering ---------------------*- C++
2-
//-*-===//
1+
//===-- LoongArchCallLowering.h - Call lowering -----------------*- C++ -*-===//
32
//
43
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
54
// See https://llvm.org/LICENSE.txt for license information.

llvm/lib/Target/LoongArch/LoongArchInstructionSelector.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
//===-- LoongArchInstructionSelector.cpp -----------------------------*- C++
2-
//-*-==//
1+
//===-- LoongArchInstructionSelector.cpp -------------------------*- C++ -*-==//
32
//
43
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
54
// See https://llvm.org/LICENSE.txt for license information.

llvm/lib/Target/LoongArch/LoongArchLegalizerInfo.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
//===-- LoongArchLegalizerInfo.cpp ----------------------------------*- C++
2-
//-*-===//
1+
//===-- LoongArchLegalizerInfo.cpp ------------------------------*- C++ -*-===//
32
//
43
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
54
// See https://llvm.org/LICENSE.txt for license information.

llvm/lib/Target/LoongArch/LoongArchLegalizerInfo.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
//===-- LoongArchLegalizerInfo.h ------------------------------------*- C++
2-
//-*-===//
1+
//===-- LoongArchLegalizerInfo.h --------------------------------*- C++ -*-===//
32
//
43
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
54
// See https://llvm.org/LICENSE.txt for license information.

llvm/lib/Target/LoongArch/LoongArchRegisterBankInfo.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
//===-- LoongArchRegisterBankInfo.cpp -------------------------------*- C++
2-
//-*-===//
1+
//===-- LoongArchRegisterBankInfo.cpp ---------------------------*- C++ -*-===//
32
//
43
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
54
// See https://llvm.org/LICENSE.txt for license information.

llvm/lib/Target/LoongArch/LoongArchRegisterBankInfo.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
//===-- LoongArchRegisterBankInfo.h ---------------------------------*- C++
2-
//-*-===//
1+
//===-- LoongArchRegisterBankInfo.h -----------------------------*- C++ -*-===//
32
//
43
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
54
// See https://llvm.org/LICENSE.txt for license information.

llvm/lib/Target/LoongArch/LoongArchRegisterBanks.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//=-- LoongArchRegisterBank.td - Describe the LoongArch Banks --------*- tablegen -*-=//
1+
//=- LoongArchRegisterBank.td - Describe the LoongArch Banks -*- tablegen -*-=//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.

0 commit comments

Comments
 (0)