[PATCH] D67178: [SCEV] Use loop guard info when computing the max BE taken count in howFarToZero.
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 4 12:21:21 PDT 2019
efriedma added a comment.
Instead of writing a C++ unittest, you should be able to use "opt -analyze -scalar-evolution" to test this.
Not sure I like the approach; rewriting the SCEV to a more complicated expression seems like it's stacking complexity. But it might be the least code overall, I guess.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67178/new/
https://reviews.llvm.org/D67178
More information about the llvm-commits
mailing list