[PATCH] D153505: [ConstantRange] Handle `Intrinsic::cttz` and `Intrinsic::ctpop`
Yingwei Zheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 22 11:38:44 PDT 2023
dtcxzyw updated this revision to Diff 533707.
dtcxzyw edited the summary of this revision.
dtcxzyw added a comment.
- Rebase
- Do range minimum/maximum query in O(1) for `cttz` and `ctpop`
I will add more detailed comments later if the time complexity is acceptable.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153505/new/
https://reviews.llvm.org/D153505
Files:
llvm/include/llvm/IR/ConstantRange.h
llvm/lib/IR/ConstantRange.cpp
llvm/test/Transforms/CorrelatedValuePropagation/range.ll
llvm/unittests/IR/ConstantRangeTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153505.533707.patch
Type: text/x-patch
Size: 11357 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230622/6e9a844f/attachment.bin>
More information about the llvm-commits
mailing list