Skip to content

Commit 36616d7

Browse files
committed
rename variable
1 parent b5ac53a commit 36616d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Target/AArch64/AArch64InstrInfo.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6264,8 +6264,8 @@ void llvm::emitFrameOffset(MachineBasicBlock &MBB,
62646264
Offset, Bytes, NumPredicateVectors, NumDataVectors);
62656265

62666266
// Insert ADDSXri for scalable offset at the end.
6267-
bool NeedInsertADDS = SetNZCV && (NumPredicateVectors || NumDataVectors);
6268-
if (NeedInsertADDS)
6267+
bool NeedsFinalDefNZCV = SetNZCV && (NumPredicateVectors || NumDataVectors);
6268+
if (NeedsFinalDefNZCV)
62696269
SetNZCV = false;
62706270

62716271
// First emit non-scalable frame offsets, or a simple 'mov'.
@@ -6307,7 +6307,7 @@ void llvm::emitFrameOffset(MachineBasicBlock &MBB,
63076307
FrameReg);
63086308
}
63096309

6310-
if (NeedInsertADDS)
6310+
if (NeedsFinalDefNZCV)
63116311
BuildMI(MBB, MBBI, DL, TII->get(AArch64::ADDSXri), DestReg)
63126312
.addReg(DestReg)
63136313
.addImm(0)

0 commit comments

Comments
 (0)