We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ad88c1 commit 752f9d0Copy full SHA for 752f9d0
llvm/utils/TableGen/GlobalISel/GIMatchTree.cpp
@@ -681,12 +681,7 @@ void GIMatchTreeVRegDefPartitioner::repartition(
681
WantsEdge = true;
682
}
683
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) {
+ if (!WantsEdge) {
690
// If this leaf doesn't have an edge and we don't know what we want,
691
// then add it to partition 0 and 1.
692
addToPartition(false, Leaf.index());
0 commit comments