One test shows a miscompile when bitcasts are involved, the others cases where we can perform the optimization despite a capture.
One test shows a miscompile when bitcasts are involved, the others cases where we can perform the optimization despite a capture.