Commit ce0541cf authored by yb9976's avatar yb9976
Browse files

Try to create cltd for Shrs(Conv(x), 31).

In case there also was a Shrs(x, 31),
CSE can be applied after instruction selection.
parent 048e7674
......@@ -1976,7 +1976,7 @@ static ir_node *gen_Shr(ir_node *node)
*/
static ir_node *gen_Shrs(ir_node *node)
{
ir_node *left = get_Shrs_left(node);
ir_node *left = be_skip_sameconv(get_Shrs_left(node));
ir_node *right = get_Shrs_right(node);
if (is_Const(right)) {
......
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