[PATCH] D79783: [LoopVectorize] Fallback to a scalar epilogue when TP fails
Ayal Zaks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 20 13:44:06 PDT 2020
Ayal 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:
> Pierre-vh wrote:
> > 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)
> Why change ScalarEpilogueStatus?
Add `-check-prefix` to the FileCheck of one of the runs?
https://llvm.org/docs/CommandGuide/FileCheck.html#cmdoption-filecheck-check-prefix
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79783/new/
https://reviews.llvm.org/D79783
More information about the llvm-commits
mailing list