
This patch dumps every state trait in the egraph. Also the empty state traits are no longer dumped, instead they are treated as null by the egraph rewriter script, which solves reverse compatibility issues. Differential Revision: https://reviews.llvm.org/D131187
33 lines
843 B
Plaintext
33 lines
843 B
Plaintext
// RUN: %exploded_graph_rewriter %s \
|
|
// RUN: | FileCheck -check-prefixes=NORMAL %s
|
|
// RUN: %exploded_graph_rewriter -t %s \
|
|
// RUN: | FileCheck -check-prefixes=TOPOLOGY %s
|
|
|
|
// NORMAL: Program point
|
|
// TOPOLOGY-NOT: Program point
|
|
// NORMAL: Checker State
|
|
// TOPOLOGY-NOT: Checker State
|
|
Node0x1 [shape=record,label=
|
|
"{
|
|
{
|
|
"state_id": 2,
|
|
"program_points": [
|
|
{
|
|
"kind": "BlockEntrance", "block_id": 1,
|
|
"terminator": null, "term_kind": null,
|
|
"tag": null, "node_id": 1,
|
|
"has_report": 0, "is_sink": 0
|
|
}
|
|
],
|
|
"program_state": {
|
|
"environment": null,
|
|
"constraints": null,
|
|
"dynamic_types": null,
|
|
"checker_messages": [
|
|
{ "checker": "foo", "messages": ["bar"] }
|
|
],
|
|
"store": null
|
|
}
|
|
}
|
|
\l}"];
|