Fixed local optimization.
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Wed, 28 Sep 2011 04:26:13 +0000 (06:26 +0200)
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>
Wed, 28 Sep 2011 04:30:40 +0000 (06:30 +0200)
commitebb21655e60957e1c4d388ae2714ec975148aa4d
treec84ffc7953ca7b25a7ec5f179e1e3e7739d830c7
parenta1589472df187a1de0fc4dd1c2a793accc91e423
Fixed local optimization.

The transformation (a << c1) | c2 => (a | (c2 >> c1)) << c1
is only valid if the lower bits of c2 are clean.

This fixes opt/pr37102.c.
ir/ir/iropt.c