diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-03 19:20:06 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-03 19:20:06 +0000 |
commit | 3d055936575357979837fee1ca5606ce7182c8a1 (patch) | |
tree | da21670875e2f4f834c72f607c39c9fb2b81cb38 /gcc/rtl.h | |
parent | ac9c2543a79136bda7452a32876757b2ba43b72b (diff) | |
download | gcc-3d055936575357979837fee1ca5606ce7182c8a1.tar.gz |
PR optimization/10157
* gcse.c (can_copy_p): Rename it to can_copy.
(can_copy_init_p): Remove.
(compute_can_copy): Use can_copy instead of can_copy_p.
(can_copy_p): New exported function. Call compute_can_copy.
(hash_scan_set): Use it.
(gcse_main): Don't call compute_can_copy.
(bypass_jumps): Don't call compute_can_copy.
* rtl.h (can_copy_p): Declare.
* loop.c (scan_loop): Don't move the source and add a reg-to-reg
copy if the mode doesn't support copy operations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65210 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r-- | gcc/rtl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h index c7e938ca111..c03172bc390 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -2112,6 +2112,7 @@ extern rtx expand_mult_highpart PARAMS ((enum machine_mode, rtx, int, int)); /* In gcse.c */ +extern bool can_copy_p PARAMS ((enum machine_mode)); #ifdef BUFSIZ extern int gcse_main PARAMS ((rtx, FILE *)); extern int bypass_jumps PARAMS ((FILE *)); |