[all-commits] [llvm/llvm-project] a81db8: [LV] Restructure handling of -prefer-predicate-ove...
Philip Reames via All-commits
all-commits at lists.llvm.org
Tue Dec 15 12:42:36 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a81db8b3159e72a6d2ecb2318024316e4aa30933
https://github.com/llvm/llvm-project/commit/a81db8b3159e72a6d2ecb2318024316e4aa30933
Author: Philip Reames <listmail at philipreames.com>
Date: 2020-12-15 (Tue, 15 Dec 2020)
Changed paths:
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
Log Message:
-----------
[LV] Restructure handling of -prefer-predicate-over-epilogue option [NFC]
This should be purely non-functional. When touching this code for another reason, I found the handling of the PredicateOrDontVectorize piece here very confusing. Let's make it an explicit state (instead of an implicit combination of two variables), and use early return for options/hint processing.
More information about the All-commits
mailing list