Skip to content

Commit 742c808

Browse files
committed
formatting
1 parent bf89a98 commit 742c808

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

llvm/lib/Target/AMDGPU/SIInstrInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8814,7 +8814,7 @@ bool SIInstrInfo::isBasicBlockPrologue(const MachineInstr &MI,
88148814
// be included.
88158815
return IsNullOrVectorRegister &&
88168816
(isSpill(Opcode) || (!MI.isTerminator() && Opcode != AMDGPU::COPY &&
8817-
MI.modifiesRegister(AMDGPU::EXEC, &RI)));
8817+
MI.modifiesRegister(AMDGPU::EXEC, &RI)));
88188818
}
88198819

88208820
MachineInstrBuilder

llvm/lib/Target/AMDGPU/SIInstrInfo.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -716,33 +716,33 @@ class SIInstrInfo final : public AMDGPUGenInstrInfo {
716716
static bool isVGPRSpill(const MachineInstr &MI) {
717717
return MI.getOpcode() != AMDGPU::SI_SPILL_S32_TO_VGPR &&
718718
MI.getOpcode() != AMDGPU::SI_RESTORE_S32_FROM_VGPR &&
719-
(isSpill(MI) & isVALU(MI));
719+
(isSpill(MI) & isVALU(MI));
720720
}
721721

722722
bool isVGPRSpill(uint16_t Opcode) const {
723723
return Opcode != AMDGPU::SI_SPILL_S32_TO_VGPR &&
724724
Opcode != AMDGPU::SI_RESTORE_S32_FROM_VGPR &&
725-
(isSpill(Opcode) & isVALU(Opcode));
725+
(isSpill(Opcode) & isVALU(Opcode));
726726
}
727727

728728
static bool isSGPRSpill(const MachineInstr &MI) {
729729
return MI.getOpcode() == AMDGPU::SI_SPILL_S32_TO_VGPR ||
730730
MI.getOpcode() == AMDGPU::SI_RESTORE_S32_FROM_VGPR ||
731-
(isSpill(MI) & isSALU(MI));
731+
(isSpill(MI) & isSALU(MI));
732732
}
733733

734734
bool isSGPRSpill(uint16_t Opcode) const {
735735
return Opcode == AMDGPU::SI_SPILL_S32_TO_VGPR ||
736736
Opcode == AMDGPU::SI_RESTORE_S32_FROM_VGPR ||
737-
(isSpill(Opcode) & isSALU(Opcode));
737+
(isSpill(Opcode) & isSALU(Opcode));
738738
}
739739

740740
bool isSpill(uint16_t Opcode) const {
741741
return get(Opcode).TSFlags & SIInstrFlags::Spill;
742742
}
743743

744744
static bool isSpill(const MachineInstr &MI) {
745-
return MI.getDesc().TSFlags & SIInstrFlags::Spill;
745+
return MI.getDesc().TSFlags & SIInstrFlags::Spill;
746746
}
747747

748748
static bool isWWMRegSpillOpcode(uint16_t Opcode) {

0 commit comments

Comments
 (0)