[PATCH] D32674: [LoopIdiom] PR32811 check for safety while expanding

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 1 12:08:08 PDT 2017


efriedma added inline comments.


================
Comment at: lib/Transforms/Scalar/LoopIdiomRecognize.cpp:823
   Value *NumBytes =
       Expander.expandCodeFor(NumBytesS, IntPtr, Preheader->getTerminator());
 
----------------
Do we also need to check whether it's safe to expand NumBytesS?


https://reviews.llvm.org/D32674





More information about the llvm-commits mailing list