Remove unused variable.
authorTres Popp <tpopp@google.com>
Thu, 12 Mar 2020 07:22:35 +0000 (08:22 +0100)
committerTres Popp <tpopp@google.com>
Thu, 12 Mar 2020 07:42:57 +0000 (08:42 +0100)
Delete dead code from 8fffa40400e8719222e7f67152c12738521fa9fb.

llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp

index e65b594..012cc23 100644 (file)
@@ -840,7 +840,6 @@ SelectionDAGBuilder::LowerStatepoint(ImmutableStatepoint ISP,
   for (const GCRelocateInst *Relocate : ISP.getRelocates()) {
     SI.GCRelocates.push_back(Relocate);
 
-    SDValue BaseSD = getValue(Relocate->getBasePtr());
     SDValue DerivedSD = getValue(Relocate->getDerivedPtr());
     if (Seen.insert(DerivedSD).second) {
       SI.Bases.push_back(Relocate->getBasePtr());