tcg/optimize: Add more identity simplifications
authorRichard Henderson <rth@twiddle.net>
Fri, 31 Jan 2014 13:42:11 +0000 (07:42 -0600)
committerRichard Henderson <rth@twiddle.net>
Mon, 17 Feb 2014 16:12:29 +0000 (10:12 -0600)
commit464a1441c138b4f29cff26d406298661e588235b
tree452c0888133591fc0cf06b905e143b28bf62a573
parente64e958e202c563730159c52f7c9116c80ceca52
tcg/optimize: Add more identity simplifications

Recognize 0 operand to andc, and -1 operands to and, orc, eqv.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/optimize.c