Skip to content

Commit bb6165b

Browse files
authored
Update SIInstrInfo.cpp
1 parent 5b9ac13 commit bb6165b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Target/AMDGPU/SIInstrInfo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ void SIInstrInfo::copyPhysReg(MachineBasicBlock &MBB,
815815
if (Fix16BitCopies) {
816816
if (((Size == 16) != (SrcSize == 16))) {
817817
// Non-VGPR Src and Dst will later be expanded back to 32 bits.
818-
assert(ST.useRealTrue16BitInsts());
818+
assert(ST.useRealTrue16Insts());
819819
MCRegister &RegToFix = (Size == 32) ? DestReg : SrcReg;
820820
MCRegister SubReg = RI.getSubReg(RegToFix, AMDGPU::lo16);
821821
RegToFix = SubReg;
@@ -989,7 +989,7 @@ void SIInstrInfo::copyPhysReg(MachineBasicBlock &MBB,
989989
return;
990990
}
991991

992-
if (ST.useRealTrue16BitInsts()) {
992+
if (ST.useRealTrue16Insts()) {
993993
if (IsSGPRSrc) {
994994
assert(SrcLow);
995995
SrcReg = NewSrcReg;

0 commit comments

Comments
 (0)