Skip to content

Commit 9286786

Browse files
[CodeGen] Remove an unused variable introduced in D121128
1 parent 407c721 commit 9286786

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/CodeGen/RegAllocGreedy.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,6 @@ BlockFrequency RAGreedy::calcGlobalSplitCost(GlobalSplitCandidate &Cand,
998998
const AllocationOrder &Order) {
999999
BlockFrequency GlobalCost = 0;
10001000
const BitVector &LiveBundles = Cand.LiveBundles;
1001-
Register VirtRegToSplit = SA->getParent().reg();
10021001
ArrayRef<SplitAnalysis::BlockInfo> UseBlocks = SA->getUseBlocks();
10031002
for (unsigned I = 0; I != UseBlocks.size(); ++I) {
10041003
const SplitAnalysis::BlockInfo &BI = UseBlocks[I];

0 commit comments

Comments
 (0)