This patch adds support for cttz and ctpop intrinsics in ConstantRange.
This is a simpler and faster approximation of D153505 using KnownBits.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D153627
[ConstantRange] Handle `Intrinsic::cttz` and `Intrinsic::ctpop` with KnownBits AbandonedPublic Authored by dtcxzyw on Jun 23 2023, 6:50 AM.
Revision Contents
Diff 533943 llvm/include/llvm/IR/ConstantRange.h
llvm/lib/IR/ConstantRange.cpp
llvm/test/Transforms/CorrelatedValuePropagation/range.ll
llvm/unittests/IR/ConstantRangeTest.cpp
|