ART: Fix loop header's predecessors reordering in SimplifyLoops.

Fix the issue when after loop header's predecessors reordering in
SimplifyLoops phi inputs are not reordered correspondingly.

Test: loop_optimization_test.cc, test-art-host, test-art-target.

Change-Id: I8a251a0a953d751f9bb67da58181e47d225d90e6
3 files changed