OSDN Git Service

Remove constant moves after emitting them in parallel resolver.
authorNicolas Geoffray <ngeoffray@google.com>
Wed, 14 Jan 2015 10:45:05 +0000 (10:45 +0000)
committerNicolas Geoffray <ngeoffray@google.com>
Wed, 14 Jan 2015 14:45:40 +0000 (14:45 +0000)
commit48c310c431b110f6ab54907da20c4fa39a8f76b8
tree3f8e75544539544feda353a1f225145e5ee41fa0
parentc40a4350daac81ddbfc5f6ceab934f2180dc4ec6
Remove constant moves after emitting them in parallel resolver.

This fixes the case where a constant move requires a scratch
register. Note that there is no backend that needs this for now,
but X86 might with the move to hard float.

Change-Id: I37f6b8961b48f2cf6fbc0cd281e70d58466d018e
compiler/optimizing/parallel_move_resolver.cc
compiler/optimizing/parallel_move_resolver.h
compiler/optimizing/parallel_move_test.cc