[PATCH] D83392: Strlen loop idiom recognition
Muhammad Usman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 4 09:15:06 PDT 2020
musman added a comment.
Hi @efriedma, I am having some trouble understanding how to transform the AddRec to Add (`{n,+,1}` to `n + strlen(p)`). Should this be done with `ScalarEvolution::getAddExpr`, and then expanded? Thanks.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83392/new/
https://reviews.llvm.org/D83392
More information about the llvm-commits
mailing list