[PATCH] D79783: [LoopVectorize] Fallback to a scalar epilogue when TP fails
Pierre van Houtryve via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 20 12:02:45 PDT 2020
Pierre-vh added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorize.cpp:5027
+ "hint/switch and using a scalar epilogue instead.\n");
+ ScalarEpilogueStatus = CM_ScalarEpilogueAllowed;
+ return MaxVF;
----------------
Ayal wrote:
> Why change ScalarEpilogueStatus?
(Sorry, forgot to post this comment)
It seems to be needed, my tests don't pass if unless I change it (they have conflicting ASM for both run lines, and the content is different)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79783/new/
https://reviews.llvm.org/D79783
More information about the llvm-commits
mailing list