Regression test for optimizing that used to trip during register allocation.