[llvm] 93db4a8 - Remove unused variables

Geoffrey Martin-Noble via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 7 18:30:27 PDT 2020


Author: Geoffrey Martin-Noble
Date: 2020-10-07T18:30:12-07:00
New Revision: 93db4a8ce6261dc36e233f5e0b60cfbb3ea1bd8f

URL: https://github.com/llvm/llvm-project/commit/93db4a8ce6261dc36e233f5e0b60cfbb3ea1bd8f
DIFF: https://github.com/llvm/llvm-project/commit/93db4a8ce6261dc36e233f5e0b60cfbb3ea1bd8f.diff

LOG: Remove unused variables

These are unused since
https://reviews.llvm.org/rG35cb45c533fb76dcfc9f44b4e8bbd5d8a855ed2a
causing `-Wunused` warnings.

Differential Revision: https://reviews.llvm.org/D89022

Added: 
    

Modified: 
    llvm/lib/CodeGen/ImplicitNullChecks.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/ImplicitNullChecks.cpp b/llvm/lib/CodeGen/ImplicitNullChecks.cpp
index 20666f27aab9..d0a4511e90e7 100644
--- a/llvm/lib/CodeGen/ImplicitNullChecks.cpp
+++ b/llvm/lib/CodeGen/ImplicitNullChecks.cpp
@@ -369,10 +369,6 @@ ImplicitNullChecks::SuitabilityResult
 ImplicitNullChecks::isSuitableMemoryOp(const MachineInstr &MI,
                                        unsigned PointerReg,
                                        ArrayRef<MachineInstr *> 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)


        


More information about the llvm-commits mailing list