Tests relying on this should explicitly use -passes='require<analysis>,foo'.
Using https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34. The opaque pointer migration resolves the TODO on test_fence3: The transform now works as expected by dint of the bitcast no longer existing.
Only one of the tests in the file wants to check debug info, so move it into a separate file. This allows update_test_checks to work.