Initialize PersistentId for HandleSDNode, as these will never be inserted into the DAG
llvm-svn: 253524
This commit is contained in:
parent
70effde0af
commit
6f2a59b715
|
@ -1074,6 +1074,9 @@ class HandleSDNode : public SDNode {
|
|||
public:
|
||||
explicit HandleSDNode(SDValue X)
|
||||
: SDNode(ISD::HANDLENODE, 0, DebugLoc(), getSDVTList(MVT::Other)) {
|
||||
// HandleSDNodes are never inserted into the DAG, so they won't be
|
||||
// auto-numbered. Use ID 65535 as a sentinel.
|
||||
PersistentId = 0xffff;
|
||||
InitOperands(&Op, X);
|
||||
}
|
||||
~HandleSDNode();
|
||||
|
|
Loading…
Reference in New Issue