Assuming 0 == false and 1 == true, if we have one of
%c = G_ICMP eq %x, 1 %c = G_ICMP ne %x, 0
If we know %x is either 0 or 1, we can replace %c with %x.
For AArch64, this saves 0.1% text size on CTMark/7zip and CTMark/mafft/pairlocalalign at -Os, and gives minor code size improvements across the rest of CTMark as well.
Is this actually optional?