[PATCH] Optimize memcmp(x, y, n)==0 for small n and suitably aligned x/y.
Eelis
eelis at eelis.net
Thu Jan 22 16:41:15 PST 2015
I don't think this code should be committed yet, because it does not yet check whether the integer types are available. I tried doing it with:
if (DL && DL->isLegalInteger(Len * 8) && ...
.. but that doesn't work (and the tests fail) because DL is nullptr.
http://reviews.llvm.org/D6952
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list