* [tuples] Enable more calls cleanup_tree_cfg
@ 2007-10-30 0:38 Diego Novillo
2007-11-01 22:40 ` Aldy Hernandez
0 siblings, 1 reply; 3+ messages in thread
From: Diego Novillo @ 2007-10-30 0:38 UTC (permalink / raw)
To: gcc-patches
This enables pass_cleanup_cfg. Tested on x86_64. Committed.
Diego.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [tuples] Enable more calls cleanup_tree_cfg
2007-10-30 0:38 [tuples] Enable more calls cleanup_tree_cfg Diego Novillo
@ 2007-11-01 22:40 ` Aldy Hernandez
2007-11-01 22:45 ` Diego Novillo
0 siblings, 1 reply; 3+ messages in thread
From: Aldy Hernandez @ 2007-11-01 22:40 UTC (permalink / raw)
To: Diego Novillo; +Cc: gcc-patches
>>>>> "Diego" == Diego Novillo <dnovillo@google.com> writes:
> This enables pass_cleanup_cfg. Tested on x86_64. Committed.
> Diego.
Where's the patch?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [tuples] Enable more calls cleanup_tree_cfg
2007-11-01 22:40 ` Aldy Hernandez
@ 2007-11-01 22:45 ` Diego Novillo
0 siblings, 0 replies; 3+ messages in thread
From: Diego Novillo @ 2007-11-01 22:45 UTC (permalink / raw)
To: Aldy Hernandez; +Cc: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 130 bytes --]
On 11/1/07, Aldy Hernandez <aldyh@redhat.com> wrote:
> Where's the patch?
2 for 2. I'm on a roll, sorry. Here it is.
Diego.
[-- Attachment #2: 20071029-enable-cfg-cleanup.diff.txt --]
[-- Type: text/plain, Size: 1825 bytes --]
2007-10-29 Diego Novillo <dnovillo@google.com>
* tree-optimize.c (execute_cleanup_cfg_pre_ipa): Re-enable.
* gimple.c (walk_gimple_asm): Tidy comment.
Index: tree-optimize.c
===================================================================
--- tree-optimize.c (revision 129739)
+++ tree-optimize.c (working copy)
@@ -150,13 +150,8 @@ struct tree_opt_pass pass_all_early_opti
static unsigned int
execute_cleanup_cfg_pre_ipa (void)
{
- /* FIXME tuples */
-#if 0
cleanup_tree_cfg ();
return 0;
-#else
- gcc_unreachable ();
-#endif
}
struct tree_opt_pass pass_cleanup_cfg =
@@ -174,7 +169,7 @@ struct tree_opt_pass pass_cleanup_cfg =
0, /* todo_flags_start */
TODO_dump_func, /* todo_flags_finish */
0 /* letter */
- ,0 /* works_with_tuples_p */
+ ,1 /* works_with_tuples_p */
};
Index: gimple.c
===================================================================
--- gimple.c (revision 129739)
+++ gimple.c (working copy)
@@ -1009,11 +1009,12 @@ walk_gimple_asm (gimple stmt, walk_tree_
-/* Walk GIMPLE statement STMT using traversal state stored in WI. The
- callback CALLBACK_STMT is called. If CALLBACK_STMT returns true,
- it means that the callback function has handled all the operands of
- STMT and it is no necessary to walk STMT's operands.
-
+/* Walk GIMPLE statement STMT (optionally using traversal state stored
+ in WI). If WI is NULL, no state is kept during traversal.
+ The callback CALLBACK_STMT is called. If CALLBACK_STMT returns
+ true, it means that the callback function has handled all the
+ operands of STMT and it is no necessary to walk STMT's operands.
+
Otherwise, CALLBACK_OP is called on each operand of STMT. If
CALLBACK_OP returns non-NULL for an operand, the remaining operands
are not scanned.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-11-01 22:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-30 0:38 [tuples] Enable more calls cleanup_tree_cfg Diego Novillo
2007-11-01 22:40 ` Aldy Hernandez
2007-11-01 22:45 ` Diego Novillo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).