Skip to content

Commit 37102e3

Browse files
committed
clang format
1 parent 9846bc9 commit 37102e3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,8 @@ class AArch64DAGToDAGISel : public SelectionDAGISel {
326326
return false;
327327
}
328328

329-
template <unsigned BaseReg, unsigned Max> bool ImmToTile(SDValue N, SDValue &Imm) {
329+
template <unsigned BaseReg, unsigned Max>
330+
bool ImmToTile(SDValue N, SDValue &Imm) {
330331
if (auto *CI = dyn_cast<ConstantSDNode>(N)) {
331332
uint64_t C = CI->getZExtValue();
332333

llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2754,12 +2754,11 @@ MachineBasicBlock *AArch64TargetLowering::EmitZTSpillFill(MachineInstr &MI,
27542754
if (IsSpill) {
27552755
MIB = BuildMI(*BB, MI, MI.getDebugLoc(), TII->get(AArch64::STR_TX));
27562756
MIB.addReg(MI.getOperand(0).getReg());
2757-
}
2758-
else
2757+
} else
27592758
MIB = BuildMI(*BB, MI, MI.getDebugLoc(), TII->get(AArch64::LDR_TX),
27602759
MI.getOperand(0).getReg());
27612760
MIB.add(MI.getOperand(1)); // Base
2762-
MI.eraseFromParent(); // The pseudo is gone now.
2761+
MI.eraseFromParent(); // The pseudo is gone now.
27632762
return BB;
27642763
}
27652764

llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ AArch64RegisterInfo::getStrictlyReservedRegs(const MachineFunction &MF) const {
442442

443443
if (MF.getSubtarget<AArch64Subtarget>().hasSME2()) {
444444
for (MCSubRegIterator SubReg(AArch64::ZT0, this, /*self=*/true);
445-
SubReg.isValid(); ++SubReg)
445+
SubReg.isValid(); ++SubReg)
446446
Reserved.set(*SubReg);
447447
}
448448

0 commit comments

Comments
 (0)