[PATCH] D83329: [PGO][PGSO] Add profile guided size optimization to loop vectorization legality.
Hiroshi Yamauchi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 20 21:16:34 PDT 2020
yamauchi added a comment.
Reproduced https://crbug.com/1106813.
The problem was that we were querying the profile of the newly created loop, as opposed to the original loop in InnerLoopVectorizer.
Querying against the original loop (and saving it in the constructor before the transformations because the profile of the original loop could change as it is used as the fallback loop) should fix the issue.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83329/new/
https://reviews.llvm.org/D83329
More information about the llvm-commits
mailing list