[PATCH] D148464: Fix uninitialized pointer members in TableGen
LuoYuanke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 18 03:57:42 PDT 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGba46252b69bb: Fix uninitialized pointer members in TableGen (authored by akshaykhadse, committed by LuoYuanke).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D148464/new/
https://reviews.llvm.org/D148464
Files:
llvm/utils/TableGen/GlobalISel/GIMatchTree.h
Index: llvm/utils/TableGen/GlobalISel/GIMatchTree.h
===================================================================
--- llvm/utils/TableGen/GlobalISel/GIMatchTree.h
+++ llvm/utils/TableGen/GlobalISel/GIMatchTree.h
@@ -390,7 +390,7 @@
/// The leaves that the resulting decision tree will distinguish.
LeafVec Leaves;
/// The tree node being constructed.
- GIMatchTree *TreeNode;
+ GIMatchTree *TreeNode = nullptr;
/// The builders for each subtree resulting from the current decision.
std::vector<GIMatchTreeBuilder> SubtreeBuilders;
/// The possible partitioners we could apply right now.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148464.514597.patch
Type: text/x-patch
Size: 613 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230418/cc27d858/attachment.bin>
More information about the llvm-commits
mailing list