This is an archive of the discontinued LLVM Phabricator instance.

[ConstraintSystem] Improve printing.
AbandonedPublic

Authored by fhahn on Sep 1 2020, 12:12 PM.

Details

Reviewers
None
Summary

This patch improves printing of the constraint system to also allow
specifying names for variables.

It also adds a convert-constraint-log-to-z3.py script, which can parse
the debug output of the constraint system and convert it to a python
script that feeds the constraints into Z3 and checks if it produces the
same result as the LLVM implementation. This is for verification
purposes.

Diff Detail