Skip to content

Commit 80ac5b8

Browse files
committed
Reformat code
1 parent 44567f6 commit 80ac5b8

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -528,9 +528,9 @@ static void handleMustTailForwardedRegisters(MachineIRBuilder &MIRBuilder,
528528
bool AArch64CallLowering::fallBackToDAGISel(const MachineFunction &MF) const {
529529
auto &F = MF.getFunction();
530530
if (!EnableSVEGISel && (F.getReturnType()->isScalableTy() ||
531-
llvm::any_of(F.args(), [](const Argument &A) {
532-
return A.getType()->isScalableTy();
533-
})))
531+
llvm::any_of(F.args(), [](const Argument &A) {
532+
return A.getType()->isScalableTy();
533+
})))
534534
return true;
535535
const auto &ST = MF.getSubtarget<AArch64Subtarget>();
536536
if (!ST.hasNEON() || !ST.hasFPARMv8()) {

llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -600,11 +600,11 @@ static const TargetRegisterClass *
600600
getMinClassForRegBank(const RegisterBank &RB, TypeSize SizeInBits,
601601
bool GetAllRegSet = false) {
602602
if (SizeInBits.isScalable()) {
603-
assert(RB.getID() == AArch64::FPRRegBankID
604-
&& "Expected FPR regbank for scalable type size");
603+
assert(RB.getID() == AArch64::FPRRegBankID &&
604+
"Expected FPR regbank for scalable type size");
605605
return &AArch64::ZPRRegClass;
606606
}
607-
607+
608608
unsigned RegBankID = RB.getID();
609609

610610
if (RegBankID == AArch64::GPRRegBankID) {

llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,8 @@ AArch64RegisterBankInfo::getInstrMapping(const MachineInstr &MI) const {
718718
TypeSize Size = getSizeInBits(DstReg, MRI, TRI);
719719
return getInstructionMapping(
720720
DefaultMappingID, copyCost(*DstRB, *SrcRB, Size),
721-
getCopyMapping(DstRB->getID(), SrcRB->getID(), Size.getKnownMinValue()),
721+
getCopyMapping(DstRB->getID(), SrcRB->getID(),
722+
Size.getKnownMinValue()),
722723
// We only care about the mapping of the destination.
723724
/*NumOperands*/ 1);
724725
}

0 commit comments

Comments
 (0)