[PATCH] D151635: [NFC][TableGen] Remove dead code.
LuoYuanke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 29 00:59:59 PDT 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG752f9d02cc3e: [NFC][TableGen] Remove dead code. (authored by LuoYuanke).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151635/new/
https://reviews.llvm.org/D151635
Files:
llvm/utils/TableGen/GlobalISel/GIMatchTree.cpp
Index: llvm/utils/TableGen/GlobalISel/GIMatchTree.cpp
===================================================================
--- llvm/utils/TableGen/GlobalISel/GIMatchTree.cpp
+++ llvm/utils/TableGen/GlobalISel/GIMatchTree.cpp
@@ -681,12 +681,7 @@
WantsEdge = true;
}
- bool isNotReg = false;
- if (!WantsEdge && isNotReg) {
- // If this leaf doesn't have an edge and we _don't_ want a register,
- // then add it to partition 0.
- addToPartition(false, Leaf.index());
- } else if (!WantsEdge) {
+ if (!WantsEdge) {
// If this leaf doesn't have an edge and we don't know what we want,
// then add it to partition 0 and 1.
addToPartition(false, Leaf.index());
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151635.526406.patch
Type: text/x-patch
Size: 717 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230529/58acc53a/attachment.bin>
More information about the llvm-commits
mailing list