[PATCH] D89022: Remove unused variables

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


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG93db4a8ce626: Remove unused variables (authored by GMNGeoffrey).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89022/new/

https://reviews.llvm.org/D89022

Files:
  llvm/lib/CodeGen/ImplicitNullChecks.cpp


Index: llvm/lib/CodeGen/ImplicitNullChecks.cpp
===================================================================
--- llvm/lib/CodeGen/ImplicitNullChecks.cpp
+++ llvm/lib/CodeGen/ImplicitNullChecks.cpp
@@ -369,10 +369,6 @@
 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)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89022.296846.patch
Type: text/x-patch
Size: 680 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201008/a4bd8682/attachment.bin>


More information about the llvm-commits mailing list