[PATCH] D47951: [SCEV] Look through zero-extends in howFarToZero
Krzysztof Parzyszek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 8 13:15:41 PDT 2018
kparzysz updated this revision to Diff 150557.
kparzysz added a comment.
Implemented `stripInjectiveFunctions` (that strips sign- and zero-extensions) and used it in `howFarToZero`. Added a testcase.
Repository:
rL LLVM
https://reviews.llvm.org/D47951
Files:
include/llvm/Analysis/ScalarEvolution.h
lib/Analysis/ScalarEvolution.cpp
test/Analysis/ScalarEvolution/strip-injective-zext.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47951.150557.patch
Type: text/x-patch
Size: 4041 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180608/1a6cbcb4/attachment.bin>
More information about the llvm-commits
mailing list