aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>2016-02-24 13:00:10 +0000
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>2016-02-24 13:00:10 +0000
commit0683fd27deb878be38f120cce3acbe4d32132b20 (patch)
tree8426f9185336f0555756df5729d96189e001db5a /gcc/tree.c
parente53d562a36ead2279b98bc7cde3abe9606b44ee2 (diff)
downloadgcc-0683fd27deb878be38f120cce3acbe4d32132b20.zip
gcc-0683fd27deb878be38f120cce3acbe4d32132b20.tar.gz
gcc-0683fd27deb878be38f120cce3acbe4d32132b20.tar.bz2
[gcse] PR rtl-optimization/69886: Check target mode in can_assign_to_reg_without_clobbers_p
PR rtl-optimization/69886 * gcse.c (can_assign_to_reg_without_clobbers_p): Accept mode argument. Use it when checking validity of set instructions. (want_to_gcse_p): Pass mode to can_assign_to_reg_without_clobbers_p. (compute_ld_motion_mems): Update can_assign_to_reg_without_clobbers_p callsite. * rtl.h (can_assign_to_reg_without_clobbers_p): Update prototype. * store-motion.c (find_moveable_store): Update can_assign_to_reg_without_clobbers_p callsite. * gcc.dg/torture/pr69886.c: New test. From-SVN: r233662
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions