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>
Thu, 18 Jun 2015 14:53:02 +0000 (15:53 +0100)
commitb2bdfce7f805b00668a2521b1c939a0aafb2be49
tree0c8aba9022fe62a176254b8459b414e9703f890f
parentd4de42f6fd0f00c5b3ca01fed6a26d11e617c3b9
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

Change-Id: I1f84016017bf691c2a34982e202a505b269f609a
compiler/optimizing/optimizing_compiler.cc
test/458-checker-instruction-simplification/src/Main.java
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]