scanon added a comment. IEEE 754 rules are that everything canonicalizes except bitwise operations (copy, abs, negate, copysign) and decimal re-encoding operations (which you don't care about). https://reviews.llvm.org/D37989