[PATCH] D42946: Verify profile data confirms large loop trip counts.

Benjamin Kramer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 6 09:44:34 PST 2018


bkramer added inline comments.


================
Comment at: lib/Transforms/Vectorize/LoopVectorize.cpp:8359
+    if (ExitsCount.getActiveBits() <= 32 &&
+        ExitsCount.getZExtValue() < std::numeric_limits<unsigned>::max()) {
+      ExpectedTC = static_cast<unsigned>(ExitsCount.getZExtValue()) + 1;
----------------
This is now redundant ;)


Repository:
  rL LLVM

https://reviews.llvm.org/D42946





More information about the llvm-commits mailing list