Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
53991c3a
Commit
53991c3a
authored
Jul 04, 2007
by
Matthias Braun
Browse files
always do if conversion when opt_if_conv is called
[r14942]
parent
affe4623
Changes
3
Hide whitespace changes
Inline
Side-by-side
include/libfirm/irflag.h
View file @
53991c3a
...
...
@@ -234,14 +234,6 @@ void set_opt_tail_recursion_verbose(int value);
*/
void
set_opt_fragile_ops
(
int
value
);
/**
* Enable/Disable if conversion.
*
* If conversion tries to turn Conds into Mux nodes to eliminate
* control flow.
*/
void
set_opt_if_conversion
(
int
value
);
/**
* Enable/Disable function call optimization.
*
...
...
ir/ir/irflag_t.def
View file @
53991c3a
...
...
@@ -89,33 +89,30 @@ I_FLAG(redundant_loadstore , 18, ON)
/** Optimize Fragile OPs */
I_FLAG(fragile_ops , 19, OFF)
/** If conversion. */
I_FLAG(if_conversion , 20, OFF)
/** Optimize function calls. */
I_FLAG(function_call , 2
1
, ON)
I_FLAG(function_call , 2
0
, ON)
/** Optimize cast nodes. */
E_FLAG(optimize_class_casts , 2
2
, ON)
E_FLAG(suppress_downcast_optimization , 2
3
, OFF)
E_FLAG(optimize_class_casts , 2
1
, ON)
E_FLAG(suppress_downcast_optimization , 2
2
, OFF)
/** Not really an optimization, removes Confirm nodes. */
I_FLAG(remove_confirm , 2
4
, OFF)
I_FLAG(remove_confirm , 2
3
, OFF)
/** Scalar replacement. */
I_FLAG(scalar_replacement , 2
5
, ON)
I_FLAG(scalar_replacement , 2
4
, ON)
/** Load and Store have only Null exceptions. */
I_FLAG(ldst_only_null_ptr_exceptions , 2
6
, ON)
I_FLAG(ldst_only_null_ptr_exceptions , 2
5
, ON)
/** Sel-based Null-pointer check elimination. */
I_FLAG(sel_based_null_check_elim , 2
7
, OFF)
I_FLAG(sel_based_null_check_elim , 2
6
, OFF)
/** Automatically create Sync node during construction. */
I_FLAG(auto_create_sync , 2
8
, OFF)
I_FLAG(auto_create_sync , 2
7
, OFF)
/** Enable Alias-analysis. */
I_FLAG(alias_analysis , 2
9
, ON)
I_FLAG(alias_analysis , 2
8
, ON)
/** Closed world assumption. */
I_FLAG(closed_world , 31, OFF)
ir/opt/ifconv.c
View file @
53991c3a
...
...
@@ -574,7 +574,7 @@ static ir_node* meld_psi(ir_node* psi)
conds
[
j
]
=
cond
;
vals
[
j
]
=
val
;
++
j
;
cond
=
get_Psi_cond
(
psi
,
i
)
cond
=
get_Psi_cond
(
psi
,
i
)
;
val
=
v
;
}
}
...
...
@@ -650,9 +650,6 @@ void opt_if_conv(ir_graph *irg, const opt_if_conv_info_t *params)
struct
obstack
obst
;
opt_if_conv_info_t
p
;
if
(
!
get_opt_if_conversion
())
return
;
/* get the parameters */
p
=
(
params
!=
NULL
?
*
params
:
default_info
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment