[jit] Move optimization to cprop in order to handle more cases
commitdbd9b34fe30bb353817fd52cf54a5e3ab72ce993
authorVlad Brezae <brezaevlad@gmail.com>
Wed, 23 Dec 2015 17:40:05 +0000 (23 19:40 +0200)
committerVlad Brezae <brezaevlad@gmail.com>
Sat, 16 Jan 2016 01:23:07 +0000 (15 17:23 -0800)
treee0df194698311b67b9732c0949ae01e1d94bd04f
parentf60b11a873bdacc152a5dfeb063b2dd9a8650b8f
[jit] Move optimization to cprop in order to handle more cases

Cprop can convert more binops to their _IMM counterpart, which would otherwise not be detected at method_to_ir time, allowing us to do strength reduction.
mono/mini/decompose.c
mono/mini/local-propagation.c