Skip to content

Commit 36bd45b

Browse files
committed
s/fixupBlendComponents/fixupPtrauthDiscriminator/
1 parent 4be4929 commit 36bd45b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3124,7 +3124,7 @@ static MachineInstr *stripVRegCopies(const MachineRegisterInfo &MRI,
31243124
return nullptr;
31253125
}
31263126

3127-
void AArch64TargetLowering::fixupBlendComponents(
3127+
void AArch64TargetLowering::fixupPtrauthDiscriminator(
31283128
MachineInstr &MI, MachineBasicBlock *BB, MachineOperand &IntDiscOp,
31293129
MachineOperand &AddrDiscOp, const TargetRegisterClass *AddrDiscRC) const {
31303130
const TargetInstrInfo *TII = Subtarget->getInstrInfo();
@@ -3268,8 +3268,8 @@ MachineBasicBlock *AArch64TargetLowering::EmitInstrWithCustomInserter(
32683268
return EmitZTInstr(MI, BB, AArch64::MOVT_TIZ, /*Op0IsDef=*/true);
32693269

32703270
case AArch64::PAC:
3271-
fixupBlendComponents(MI, BB, MI.getOperand(3), MI.getOperand(4),
3272-
&AArch64::GPR64noipRegClass);
3271+
fixupPtrauthDiscriminator(MI, BB, MI.getOperand(3), MI.getOperand(4),
3272+
&AArch64::GPR64noipRegClass);
32733273
return BB;
32743274
}
32753275
}

llvm/lib/Target/AArch64/AArch64ISelLowering.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,10 @@ class AArch64TargetLowering : public TargetLowering {
184184

185185
/// Replace (0, vreg) discriminator components with the operands of blend
186186
/// or with (immediate, XZR) when possible.
187-
void fixupBlendComponents(MachineInstr &MI, MachineBasicBlock *BB,
188-
MachineOperand &IntDiscOp,
189-
MachineOperand &AddrDiscOp,
190-
const TargetRegisterClass *AddrDiscRC) const;
187+
void fixupPtrauthDiscriminator(MachineInstr &MI, MachineBasicBlock *BB,
188+
MachineOperand &IntDiscOp,
189+
MachineOperand &AddrDiscOp,
190+
const TargetRegisterClass *AddrDiscRC) const;
191191

192192
MachineBasicBlock *
193193
EmitInstrWithCustomInserter(MachineInstr &MI,

0 commit comments

Comments
 (0)