Skip to content

Commit 9cee2ce

Browse files
author
Thorsten Schütt
committed
address review comments
1 parent c804e57 commit 9cee2ce

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/include/llvm/CodeGen/GlobalISel/GenericMachineInstrs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,7 @@ class GMul : public GIntBinOp {
885885
};
886886

887887
/// Represents a shift left.
888-
class GSHL : public GenericMachineInstr {
888+
class GShl : public GenericMachineInstr {
889889
public:
890890
Register getSrcReg() const { return getOperand(1).getReg(); }
891891
Register getShiftReg() const { return getOperand(2).getReg(); }

llvm/lib/CodeGen/GlobalISel/CombinerHelperVectorOps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ bool CombinerHelper::matchSubOfVScale(const MachineOperand &MO,
464464

465465
bool CombinerHelper::matchShlOfVScale(const MachineOperand &MO,
466466
BuildFnTy &MatchInfo) {
467-
GSHL *Shl = cast<GSHL>(MRI.getVRegDef(MO.getReg()));
467+
GShl *Shl = cast<GShl>(MRI.getVRegDef(MO.getReg()));
468468
GVScale *LHSVScale = cast<GVScale>(MRI.getVRegDef(Shl->getSrcReg()));
469469

470470
std::optional<APInt> MaybeRHS = getIConstantVRegVal(Shl->getShiftReg(), MRI);

0 commit comments

Comments
 (0)