[PATCH] D42441: IRGen: On MSVCRT platforms, implement __builtin_wmemcmp using memcmp.

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 23 13:27:59 PST 2018


rnk added a comment.

Doesn't this give the wrong ordering for little-endian machines? Won't we say the code point 0xFF00 comes before 0x00FF because it's encoded 0x00, 0xFF vs 0xFF, 0x00?


https://reviews.llvm.org/D42441





More information about the llvm-commits mailing list