Top-level ifmerge transform.
(vl-design-ifmerge x) → new-x
Function:
(defun vl-design-ifmerge (x) (declare (xargs :guard (vl-design-p x))) (let ((__function__ 'vl-design-ifmerge)) (declare (ignorable __function__)) (b* ((x (vl-design-fix x)) ((vl-design x) x)) (change-vl-design x :mods (vl-modulelist-ifmerge x.mods)))))
Theorem:
(defthm vl-design-p-of-vl-design-ifmerge (b* ((new-x (vl-design-ifmerge x))) (vl-design-p new-x)) :rule-classes :rewrite)