Commit 49f483af authored by mei-ye's avatar mei-ye
Browse files

an attempt to work around ridiculous tidy check

parent d2afd9d4
...@@ -156,7 +156,7 @@ bool dom_info::is_split_point(instruction_ref ins) ...@@ -156,7 +156,7 @@ bool dom_info::is_split_point(instruction_ref ins)
if(arg_stream >= 0) if(arg_stream >= 0)
stream_set.insert(arg_stream); stream_set.insert(arg_stream);
} }
return (stream_set.size() > 1) ? true : false; return (stream_set.size() > 1);
} }
// Identify merge points. A merge point has more than one // Identify merge points. A merge point has more than one
...@@ -170,7 +170,7 @@ bool dom_info::is_merge_point(instruction_ref ins) ...@@ -170,7 +170,7 @@ bool dom_info::is_merge_point(instruction_ref ins)
if(arg_stream >= 0) if(arg_stream >= 0)
stream_set.insert(arg_stream); stream_set.insert(arg_stream);
} }
return (stream_set.size() > 1) ? true : false; return (stream_set.size() > 1);
} }
// Propagate split points through the graph and identify concurrent instructions. // Propagate split points through the graph and identify concurrent instructions.
......
Markdown is supported
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