1This tests the proper register preparation for invoke-polymorphic 2instructions. The test was written as the invoke-polymorphic bytecodes 3were mis-annotated in dx as having a return result. This led to a path 4that did not emit the necessary move instructions and the generated 5DEX file was rejected by ART. The issue was only visible when dx 6optimization was enabled, but the problem lay in the OutputFinisher 7register selection. 8