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
904 B
Plaintext
33 lines
904 B
Plaintext
// RUN: %exploded_graph_rewriter %s | FileCheck %s
|
|
|
|
// CHECK: <tr><td align="left"><b>Ranges: </b></td></tr>
|
|
// CHECK-SAME: <tr><td align="left"><table border="0">
|
|
// CHECK-SAME: <tr>
|
|
// CHECK-SAME: <td align="left">reg_$0<x></td>
|
|
// CHECK-SAME: <td align="left">\{ [0, 0] \}</td>
|
|
// CHECK-SAME: </tr>
|
|
// CHECK-SAME: </table></td></tr>
|
|
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": {
|
|
"store": null,
|
|
"environment": null,
|
|
"dynamic_types": null,
|
|
"checker_messages": null,
|
|
"constraints": [
|
|
{ "symbol": "reg_$0<x>", "range": "{ [0, 0] }" }
|
|
]
|
|
}
|
|
}
|
|
\l}"];
|