[PATCH] D139152: [SLPVectorizer] Don't deref std::end() of object
Youngsuk Kim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 1 16:09:47 PST 2022
JOE1994 added a comment.
Code that calls `find_if_not` was added by commit `d65cc8597792ab04142cd2214c46c5c167191bcd` to improve compile time & scheduling resources.
Thus I expect that using `V` and `OpValue` as is when `std::end()` is returned shouldn't cause any issues.
This change doesn't cause any new LIT failures in `llvm/test/Transforms/SLPVectorizer`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139152/new/
https://reviews.llvm.org/D139152
More information about the llvm-commits
mailing list