]> git.ipfire.org Git - thirdparty/gcc.git/commit
lower-subreg.c (shift_cost): Use set_src_cost, avoiding the SET.
authorRichard Sandiford <rdsandiford@googlemail.com>
Sun, 6 May 2012 18:55:20 +0000 (18:55 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Sun, 6 May 2012 18:55:20 +0000 (18:55 +0000)
commit69523a7c8957851d9fa168edc6baf175c6bf54b6
tree38d5ee74697d7aec32694c08a36c9d4d17ab1fcf
parent4fe977f2d691e6c3b03056a5d9eae223d67ac526
lower-subreg.c (shift_cost): Use set_src_cost, avoiding the SET.

gcc/
* lower-subreg.c (shift_cost): Use set_src_cost, avoiding the SET.
(compute_costs): Likewise for the zero extension.  Use set_rtx_cost
to compute the cost of moves.  Set the mode of the target register.

From-SVN: r187212
gcc/ChangeLog
gcc/lower-subreg.c