]> git.ipfire.org Git - thirdparty/gcc.git/commit
ifcvt.c (dead_or_predicable): Use df_simulate_find_defs and df_simulate_find_noclobbe...
authorBernd Schmidt <bernds@codesourcery.com>
Thu, 22 Apr 2010 10:42:21 +0000 (10:42 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Thu, 22 Apr 2010 10:42:21 +0000 (10:42 +0000)
commit907deb1a1e215a24985eb6b5db529feceb782d46
tree9189a0396519f211744af9abcdd1e55ace0a2d12
parented27799786f55ec8aed9f6dcb19852f924cc038e
ifcvt.c (dead_or_predicable): Use df_simulate_find_defs and df_simulate_find_noclobber_defs as appropriate.

* ifcvt.c (dead_or_predicable): Use df_simulate_find_defs and
df_simulate_find_noclobber_defs as appropriate.  Keep track of an
extra set merge_set_noclobber, and use it to relax the final test
slightly.
* df.h (df_simulate_find_noclobber_defs): Declare.
* df-problems.c (df_simulate_find_defs): Don't ignore partial or
conditional defs.
(df_simulate_find_noclobber_defs): New function.

From-SVN: r158639
gcc/ChangeLog
gcc/df-problems.c
gcc/df.h
gcc/ifcvt.c