Commit 200a8fc7 authored by Matthias Braun's avatar Matthias Braun
Browse files

remove fragile_ops flag, it just suppresses valuable information and even was disabled by default

[r27988]
parent 4ed766ac
...@@ -149,15 +149,6 @@ FIRM_API void set_opt_optimize_class_casts(int value); ...@@ -149,15 +149,6 @@ FIRM_API void set_opt_optimize_class_casts(int value);
FIRM_API void set_opt_suppress_downcast_optimization(int value); FIRM_API void set_opt_suppress_downcast_optimization(int value);
FIRM_API int get_opt_suppress_downcast_optimization(void); FIRM_API int get_opt_suppress_downcast_optimization(void);
/** Enable/Disable floating of fragile ops.
*
* This flags enables/disables the floating of fragile operations.
* If this flag is on, fragile operations which are known to NOT raise
* an exception can be place to other basic blocks.
* Otherwise they remain in the block they were created.
*/
FIRM_API void set_opt_fragile_ops(int value);
/** /**
* Enable/Disable Confirm node removal during local optimization. * Enable/Disable Confirm node removal during local optimization.
*/ */
......
...@@ -77,9 +77,6 @@ I_FLAG(allow_conv_b , 13, ON) ...@@ -77,9 +77,6 @@ I_FLAG(allow_conv_b , 13, ON)
/** precise exception context */ /** precise exception context */
I_FLAG(precise_exc_context , 15, OFF) I_FLAG(precise_exc_context , 15, OFF)
/** Optimize Fragile OPs */
I_FLAG(fragile_ops , 16, OFF)
/** Optimize cast nodes. */ /** Optimize cast nodes. */
E_FLAG(suppress_downcast_optimization , 22, OFF) E_FLAG(suppress_downcast_optimization , 22, OFF)
......
...@@ -328,7 +328,8 @@ static inline op_pin_state _get_irn_pinned(const ir_node *node) ...@@ -328,7 +328,8 @@ static inline op_pin_state _get_irn_pinned(const ir_node *node)
state = _get_op_pinned(_get_irn_op(node)); state = _get_op_pinned(_get_irn_op(node));
if (state >= op_pin_state_exc_pinned) if (state >= op_pin_state_exc_pinned)
return get_opt_fragile_ops() ? node->attr.except.pin_state : op_pin_state_pinned; return node->attr.except.pin_state;
return state; return state;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment