The BV-to-bool pass is implemented recursively.
This commit documents that.
We may want to change it at some point.
** \brief Preprocessing pass that lifts bit-vectors of size 1 to booleans.
**
** Preprocessing pass that lifts bit-vectors of size 1 to booleans.
+ ** Implemented recursively.
**/
#include "preprocessing/passes/bv_to_bool.h"
}
for (unsigned i = 0; i < current.getNumChildren(); ++i)
{
+ // Recursively lift children
Node converted = liftNode(current[i]);
Assert(converted.getType() == current[i].getType());
builder << converted;