Skip shift dependency if no other users
authorAndreas Zwinkau <zwinkau@kit.edu>
Mon, 21 Feb 2011 15:27:12 +0000 (15:27 +0000)
committerAndreas Zwinkau <zwinkau@kit.edu>
Mon, 21 Feb 2011 15:27:12 +0000 (15:27 +0000)
commit2ec2984b80f97ad455add5278f1d3129ced02b3d
treeddb5e2cc043e4b805b5a9473300a2f5e5823f2b5
parent62fa2bacb1e049c3e5fc0ba762b4e848b3f02591
Skip shift dependency if no other users

If a shift operation has a dependency operand (64bit shifts),
then instruction selection inserts a dependency edge between them,
so the scheduler orders them correctly. However, if the operand
is not used, the scheduler is confused about the dependency edge, which
is never resolved.

Fixes opt/longlong.c testcase

[r28434]
ir/be/ia32/ia32_transform.c