consider:
%cmp1 = icmp CC %V1, C
%cmp2 = icmp CC %V2, C
%and = and %cmp1, %cmp2
we can transform this into:
%or = or %V1, %V2
%cmp = icmp CC %or, C
This saves us an instruction and generates considerably nicer assembly
for X86, X86-64, arm, powerpc64 and aarch64.
Also, do we need a check to make sure the CCs match?