Split update_cfg_for_uncondjump out of combine
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 17 Dec 2020 00:15:03 +0000 (00:15 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Thu, 17 Dec 2020 00:15:03 +0000 (00:15 +0000)
commit21335c48576d0968126add51adef9a4ce0dddf07
treece59eab22b31ef573526f7e9df9696120bbef94a
parentd4b520d88ee5b4cd446ef001c8fdddd9af8d681c
Split update_cfg_for_uncondjump out of combine

Later patches want to reuse combine's update_cfg_for_uncondjump,
so this patch makes it a public cfgrtl.c function.

gcc/
* cfgrtl.h (update_cfg_for_uncondjump): Declare.
* combine.c (update_cfg_for_uncondjump): Move to...
* cfgrtl.c: ...here.
gcc/cfgrtl.c
gcc/cfgrtl.h
gcc/combine.c