[PATCH] D39500: [LoopPredication] Enable predication when latchCheckIV is wider than rangeCheck

Anna Thomas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 2 14:26:54 PDT 2017


anna marked an inline comment as done.
anna added inline comments.


================
Comment at: lib/Transforms/Scalar/LoopPredication.cpp:393
 
+  LoopICmp CurrLatchCheck = *CurrLatchCheckOpt;
+  // At this point the range check step and latch step should have the same
----------------
apilipenko wrote:
> Maybe `TyLatchCheck` and `TyLatchCheckOpt`?
I'll be refactoring the code out and will update the name with that NFC.


Repository:
  rL LLVM

https://reviews.llvm.org/D39500





More information about the llvm-commits mailing list