]> git.ipfire.org Git - thirdparty/gcc.git/commit
Try to update dominance info in tree-call-cdce.c
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 7 Nov 2015 09:56:04 +0000 (09:56 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 7 Nov 2015 09:56:04 +0000 (09:56 +0000)
commitaee1460aca48f7c6fbd7e6f70c361965757d71b0
treee6991c90c6ee33ae4de032d5acba2f29c1da2872
parenta1965220d5ae62c617abfe40e1dc5c03bb7aa38f
Try to update dominance info in tree-call-cdce.c

The pass would free the dominance info after making a change, but it
should be pretty easy to keep the information up-to-date when the call
has no EH edges.

Tested on x86_64-linux-gnu, arm-linux-gnueabi and aarch64-linux-gnu.

gcc/
* tree-call-cdce.c (shrink_wrap_one_built_in_call): Try to update
the dominance info; free it if we can't.
(pass_call_cdce::execute): Don't free the dominance info here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229916 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-call-cdce.c