combine: Use insn_cost instead of pattern_cost everywhere
authorSegher Boessenkool <segher@kernel.crashing.org>
Mon, 9 Oct 2017 19:45:50 +0000 (21:45 +0200)
committerSegher Boessenkool <segher@gcc.gnu.org>
Mon, 9 Oct 2017 19:45:50 +0000 (21:45 +0200)
commita6f9eb8d9b3d83cb174c828d36050a0d1b97867c
tree9e9b0e1f217dfe5f6fd975ad32716e80b1390b93
parentd09e78e89037b5096e55b04effa714fc40e19a8c
combine: Use insn_cost instead of pattern_cost everywhere

* combine.c (combine_validate_cost): Compute the new insn_cost,
not just pattern_cost.
(try_combine): Adjust comment.

From-SVN: r253561
gcc/ChangeLog
gcc/combine.c