Improve live-in calculation for splitted block
authorJiong Wang <jiong.wang@arm.com>
Thu, 25 Sep 2014 16:39:49 +0000 (16:39 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Thu, 25 Sep 2014 16:39:49 +0000 (16:39 +0000)
commitd0d9aad78a3d64f1b0c5c7b7abcea05bc6bc82fd
tree9ae8db227930d07ecc5041cb732fb3f6785b80c2
parent0e9e0a218b8986711a627c3249d9cab17b9dc429
Improve live-in calculation for splitted block

  gcc/
    * shrink-wrap.c (move_insn_for_shrink_wrap): Initialize the live-in of new
    created BB as the intersection of live-in from "old_dest" and live-out from
    "bb".

  gcc/testsuite/
    * gcc.target/i386/shrink_wrap_1.c: New test.

From-SVN: r215611
gcc/ChangeLog
gcc/shrink-wrap.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/shrink_wrap_1.c [new file with mode: 0644]