re PR rtl-optimization/30841 (Missed optimizations for sbi/cbi instructions)
2007-02-22 Paolo Bonzini <bonzini@gnu.org> PR rtl-optimization/30841 * fwprop.c (propagate_rtx_1): Accept a VOIDmode replacement address. From-SVN: r122253
This commit is contained in:
parent
a47eec17b4
commit
c0729306a6
|
@ -1,3 +1,8 @@
|
|||
2007-02-22 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
PR rtl-optimization/30841
|
||||
* fwprop.c (propagate_rtx_1): Accept a VOIDmode replacement address.
|
||||
|
||||
2007-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
|
||||
|
||||
* builtins.c (fold_builtin_frexp): New.
|
||||
|
|
|
@ -324,7 +324,8 @@ propagate_rtx_1 (rtx *px, rtx old, rtx new, bool can_appear)
|
|||
/* Dismiss transformation that we do not want to carry on. */
|
||||
if (!valid_ops
|
||||
|| new_op0 == op0
|
||||
|| GET_MODE (new_op0) != GET_MODE (op0))
|
||||
|| !(GET_MODE (new_op0) == GET_MODE (op0)
|
||||
|| GET_MODE (new_op0) == VOIDmode))
|
||||
return true;
|
||||
|
||||
canonicalize_address (new_op0);
|
||||
|
|
Loading…
Reference in New Issue