timshen accepted this revision. timshen added a comment. This revision is now accepted and ready to land. cmpd should work as well. Both cmpw and cmpd are mnemonics of the instruction cmp, so I don't expect a performance difference. https://reviews.llvm.org/D34208