[PATCH] D75980: [LV] Generate RT checks up-front and remove them if required.
    Evgeniy via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Feb 24 19:34:08 PST 2021
    
    
  
ebrevnov accepted this revision.
ebrevnov added a comment.
LGTM.
================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:1990
+                             BasicBlock *LoopExitBlock) {
+    if (!SCEVCheckBlock)
+      return nullptr;
----------------
Can/Should SCEVCheckCond be used instead? Just to make it symmetric with emitMemRuntimeChecks.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75980/new/
https://reviews.llvm.org/D75980
    
    
More information about the llvm-commits
mailing list