Skip to content

Commit b7db917

Browse files
committed
Address comments
1 parent 2698de3 commit b7db917

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/lib/Target/AMDGPU/SIFoldOperands.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,11 +149,11 @@ struct FoldCandidate {
149149
bool Commuted;
150150

151151
FoldCandidate(MachineInstr *MI, unsigned OpNo, FoldableDef Def,
152-
bool Commuted_ = false, int ShrinkOp = -1)
152+
bool Commuted = false, int ShrinkOp = -1)
153153
: UseMI(MI), Def(Def), ShrinkOpcode(ShrinkOp), UseOpNo(OpNo),
154-
Commuted(Commuted_) {}
154+
Commuted(Commuted) {}
155155

156-
bool isFI() const { return Def.Kind == MachineOperand::MO_FrameIndex; }
156+
bool isFI() const { return Def.isFI(); }
157157

158158
int getFI() const {
159159
assert(isFI());

0 commit comments

Comments
 (0)