Skip to content

Commit 752f9d0

Browse files
committed
[NFC][TableGen] Remove dead code.
Differential Revision: https://reviews.llvm.org/D151635
1 parent 0ad88c1 commit 752f9d0

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

llvm/utils/TableGen/GlobalISel/GIMatchTree.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -681,12 +681,7 @@ void GIMatchTreeVRegDefPartitioner::repartition(
681681
WantsEdge = true;
682682
}
683683

684-
bool isNotReg = false;
685-
if (!WantsEdge && isNotReg) {
686-
// If this leaf doesn't have an edge and we _don't_ want a register,
687-
// then add it to partition 0.
688-
addToPartition(false, Leaf.index());
689-
} else if (!WantsEdge) {
684+
if (!WantsEdge) {
690685
// If this leaf doesn't have an edge and we don't know what we want,
691686
// then add it to partition 0 and 1.
692687
addToPartition(false, Leaf.index());

0 commit comments

Comments
 (0)