Skip to content

Commit dd48b1e

Browse files
committed
s/fixupBlendComponents/fixupPtrauthDiscriminator/
1 parent b9ea24b commit dd48b1e

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
@@ -3105,7 +3105,7 @@ static MachineInstr *stripVRegCopies(const MachineRegisterInfo &MRI,
31053105
return nullptr;
31063106
}
31073107

3108-
void AArch64TargetLowering::fixupBlendComponents(
3108+
void AArch64TargetLowering::fixupPtrauthDiscriminator(
31093109
MachineInstr &MI, MachineBasicBlock *BB, MachineOperand &IntDiscOp,
31103110
MachineOperand &AddrDiscOp, const TargetRegisterClass *AddrDiscRC) const {
31113111
const TargetInstrInfo *TII = Subtarget->getInstrInfo();
@@ -3249,8 +3249,8 @@ MachineBasicBlock *AArch64TargetLowering::EmitInstrWithCustomInserter(
32493249
return EmitZTInstr(MI, BB, AArch64::MOVT_TIZ, /*Op0IsDef=*/true);
32503250

32513251
case AArch64::PAC:
3252-
fixupBlendComponents(MI, BB, MI.getOperand(3), MI.getOperand(4),
3253-
&AArch64::GPR64noipRegClass);
3252+
fixupPtrauthDiscriminator(MI, BB, MI.getOperand(3), MI.getOperand(4),
3253+
&AArch64::GPR64noipRegClass);
32543254
return BB;
32553255
}
32563256
}

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)