diff --git a/llvm/lib/CodeGen/ImplicitNullChecks.cpp b/llvm/lib/CodeGen/ImplicitNullChecks.cpp --- a/llvm/lib/CodeGen/ImplicitNullChecks.cpp +++ b/llvm/lib/CodeGen/ImplicitNullChecks.cpp @@ -369,10 +369,6 @@ ImplicitNullChecks::isSuitableMemoryOp(const MachineInstr &MI, unsigned PointerReg, ArrayRef PrevInsts) { - int64_t Offset; - bool OffsetIsScalable; - const MachineOperand *BaseOp; - // Implementation restriction for faulting_op insertion // TODO: This could be relaxed if we find a test case which warrants it. if (MI.getDesc().getNumDefs() > 1)