OSDN Git Service

Fix a bug in the SSA builder.
authorNicolas Geoffray <ngeoffray@google.com>
Wed, 11 Mar 2015 18:13:21 +0000 (18:13 +0000)
committerNicolas Geoffray <ngeoffray@google.com>
Wed, 11 Mar 2015 18:13:21 +0000 (18:13 +0000)
commitb59dba05697b4ac6c86cb4f45c9222c9c6ad852b
tree83cd372b86498c7a78d08be11d6e9f73d7338665
parent356286f989941ac495417195e4129aaceaf36a83
Fix a bug in the SSA builder.

The build would leave behind phis with incompatible input types
(for example float and int). We need another dead phi run after
the type propagation to ensure all such phis are dead.

Change-Id: I6ef1da725c7d4a1ebaf6b52dd7eb0c7bacd261b2
compiler/optimizing/ssa_builder.cc
test/459-dead-phi/expected.txt [new file with mode: 0644]
test/459-dead-phi/info.txt [new file with mode: 0644]
test/459-dead-phi/smali/EquivalentPhi.smali [new file with mode: 0644]
test/459-dead-phi/src/Main.java [new file with mode: 0644]