[llvm-branch-commits] [llvm] bbe6764 - Remove unused variable.
Tres Popp via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Mar 12 00:45:24 PDT 2020
Author: Tres Popp
Date: 2020-03-12T08:42:57+01:00
New Revision: bbe6764711b6ca5dff8046ed1aec867d67aafb02
URL: https://github.com/llvm/llvm-project/commit/bbe6764711b6ca5dff8046ed1aec867d67aafb02
DIFF: https://github.com/llvm/llvm-project/commit/bbe6764711b6ca5dff8046ed1aec867d67aafb02.diff
LOG: Remove unused variable.
Delete dead code from 8fffa40400e8719222e7f67152c12738521fa9fb.
Added:
Modified:
llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
index e65b59416085..012cc23ca7e4 100644
--- a/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
@@ -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());
More information about the llvm-branch-commits
mailing list