Fix opt/git_error.c testcase
authorAndreas Zwinkau <zwinkau@kit.edu>
Fri, 18 Feb 2011 14:24:25 +0000 (14:24 +0000)
committerAndreas Zwinkau <zwinkau@kit.edu>
Fri, 18 Feb 2011 14:24:25 +0000 (14:24 +0000)
commit2895bdb8793587206b1a302607616f80cb22e5af
tree9ceabd0af835a2ef073bb9e5468c059cec23a649
parent2c8cc375a52fbfb9bdf15ebed6278a6d7b23a6ff
Fix opt/git_error.c testcase

Extend the fix_adds_and_subs pass after strength reduction, which
inserts Convs to make the verifier happy. In case the index
variable is inverted (i=1-i) on each loop iteration, the optimization
may yield a SubP(ConstIu,PhiP), which is rejected by the verifier.

[r28409]
ir/opt/opt_osr.c