OSDN Git Service

Run a simplification pass before code generation.
authorNicolas Geoffray <ngeoffray@google.com>
Thu, 18 Jun 2015 14:46:47 +0000 (15:46 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Mon, 22 Jun 2015 10:45:32 +0000 (11:45 +0100)
commita04e7b7ceae01a7ceda41419e4c639a43e18361e
treeceafb0dceeb17948ee39c0280fa2460eec3e1ec5
parent096f357c5dda663c6fbb58bd0154c091aec51f63
Run a simplification pass before code generation.

The code generators assume things that only the instruction
simplier ensures. So it has to be run last in case previous
optimiziations broke those assumptions.

bug:21865464

(cherry picked from commit b2bdfce7f805b00668a2521b1c939a0aafb2be49)

Change-Id: Ibf4384a911e400eb7586bbf6b4edd6351034cbd8
compiler/optimizing/optimizing_compiler.cc
test/505-simplifier-type-propagation/expected.txt [new file with mode: 0644]
test/505-simplifier-type-propagation/info.txt [new file with mode: 0644]
test/505-simplifier-type-propagation/src/Main.java [new file with mode: 0644]