1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/lib/Transforms/Vectorize
Ayal Zaks f14a122eeb [LV] Avoid vectorizing loops under opt for size that involve SCEV checks
Fix PR39417, PR39497

The loop vectorizer may generate runtime SCEV checks for overflow and stride==1
cases, leading to execution of original scalar loop. The latter is forbidden
when optimizing for size. An assert introduced in r344743 triggered the above
PR's showing it does happen. This patch fixes this behavior by preventing
vectorization in such cases.

Differential Revision: https://reviews.llvm.org/D53612

llvm-svn: 345959
2018-11-02 09:16:12 +00:00
..
CMakeLists.txt
LLVMBuild.txt
LoadStoreVectorizer.cpp LSV: Fix adjust alloca alignment trick for AMDGPU 2018-09-18 02:05:44 +00:00
LoopVectorizationLegality.cpp [LV] Fold tail by masking to vectorize loops of arbitrary trip count under opt for size 2018-10-18 15:03:15 +00:00
LoopVectorizationPlanner.h
LoopVectorize.cpp [LV] Avoid vectorizing loops under opt for size that involve SCEV checks 2018-11-02 09:16:12 +00:00
SLPVectorizer.cpp [SLPVectorizer] Add basic support for mul/and/or/xor horizontal reductions 2018-10-23 15:13:09 +00:00
Vectorize.cpp
VPlan.cpp [LV] Fold tail by masking to vectorize loops of arbitrary trip count under opt for size 2018-10-18 15:03:15 +00:00
VPlan.h [LV] Fold tail by masking to vectorize loops of arbitrary trip count under opt for size 2018-10-18 15:03:15 +00:00
VPlanDominatorTree.h [VPlan] Introduce VPlan-based dominator analysis. 2018-07-30 21:33:31 +00:00
VPlanHCFGBuilder.cpp [TI removal] Make variables declared as TerminatorInst and initialized 2018-10-15 10:04:59 +00:00
VPlanHCFGBuilder.h [VPlan] Introduce VPlan-based dominator analysis. 2018-07-30 21:33:31 +00:00
VPlanHCFGTransforms.cpp Fix for the buildbot failure http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/23635 2018-09-14 02:02:57 +00:00
VPlanHCFGTransforms.h
VPlanLoopInfo.h [VPlan] Introduce VPLoopInfo analysis. 2018-07-31 01:57:29 +00:00
VPlanValue.h [VPlan] Implement initial vector code generation support for simple outer loops. 2018-09-14 00:36:00 +00:00
VPlanVerifier.cpp
VPlanVerifier.h
VPRecipeBuilder.h recommit 344472 after fixing build failure on ARM and PPC. 2018-10-14 08:50:06 +00:00