In https://reviews.llvm.org/D63477, we add a target hook canSaveCmp to let LSR get hardware loop converting result, so LSR can choose more accurate formulae set.
Here we use the target hook for more icmp instead of equality cmp as hardware loop pass can convert many icmps including equality cmp.