combine.c (combine_simplify_rtx): Avoid mis-simplifying conditionals for STORE_FLAG_VALUE==-1 case.
* combine.c (combine_simplify_rtx): Avoid mis-simplifying conditionals for STORE_FLAG_VALUE==-1 case. Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com> From-SVN: r172930
This commit is contained in:
parent
0c289711f3
commit
5157a881bb
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2011-04-25 Maxim Kuvyrkov <maxim@codesourcery.com>
|
||||
Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* combine.c (combine_simplify_rtx): Avoid mis-simplifying conditionals
|
||||
for STORE_FLAG_VALUE==-1 case.
|
||||
|
||||
2011-04-24 Richard Sandiford <richard.sandiford@linaro.org>
|
||||
|
||||
PR target/43804
|
||||
|
|
|
@ -5787,7 +5787,10 @@ combine_simplify_rtx (rtx x, enum machine_mode op0_mode, int in_dest,
|
|||
|
||||
/* If STORE_FLAG_VALUE is -1, we have cases similar to
|
||||
those above. */
|
||||
if (STORE_FLAG_VALUE == -1
|
||||
if (in_cond)
|
||||
;
|
||||
|
||||
else if (STORE_FLAG_VALUE == -1
|
||||
&& new_code == NE && GET_MODE_CLASS (mode) == MODE_INT
|
||||
&& op1 == const0_rtx
|
||||
&& (num_sign_bit_copies (op0, mode)
|
||||
|
|
Loading…
Add table
Reference in a new issue