sched-rgn: run add_branch_dependencies for sel-sched (PR 84301)
authorAlexander Monakov <amonakov@ispras.ru>
Wed, 11 Apr 2018 14:32:32 +0000 (17:32 +0300)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Wed, 11 Apr 2018 14:32:32 +0000 (17:32 +0300)
commita87a01ea37562100e898c376013e701d1dcb0290
treece0a428e739163b8499095ea86b932000ed369cc
parent52cdcfb7b4733ab7190b9699926407dc22f1b0fa
sched-rgn: run add_branch_dependencies for sel-sched (PR 84301)

PR target/84301
* sched-rgn.c (add_branch_dependences): Move sel_sched_p check here...
(compute_block_dependences): ... from here.

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

From-SVN: r259321
gcc/ChangeLog
gcc/sched-rgn.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr84301.c [new file with mode: 0644]