[PATCH] D35035: [InstCombine] Prevent memcpy generation for small data size
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 1 06:26:33 PDT 2018
dmgreen added inline comments.
================
Comment at: lib/Transforms/InstCombine/InstCombineCalls.cpp:140
+ unsigned LargestInt = DL.getLargestLegalIntTypeSizeInBits();
+ if (!LargestInt || Size > LargestInt)
+ return nullptr;
----------------
Are the units of these the same? Or is one bits and the other bytes?
https://reviews.llvm.org/D35035
More information about the llvm-commits
mailing list