[PATCH] D142234: [LVI] Handle Intrinsic::ctlz
Antonio Frighetto via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 25 03:57:11 PST 2023
antoniofrighetto updated this revision to Diff 492056.
antoniofrighetto added a comment.
Moved the implementation in `ConstantRange.cpp`, and tested exhaustively. For the sake of completeness and rigor, I left the test in LVI, further improved: it shouldn’t harm, and there are similar unit tests in `ConstantRangeTest.cpp` which are also in test/Analysis.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142234/new/
https://reviews.llvm.org/D142234
Files:
llvm/include/llvm/IR/ConstantRange.h
llvm/lib/IR/ConstantRange.cpp
llvm/test/Analysis/LazyValueAnalysis/lvi-for-ctlz.ll
llvm/unittests/IR/ConstantRangeTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142234.492056.patch
Type: text/x-patch
Size: 7512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230125/1304789d/attachment.bin>
More information about the llvm-commits
mailing list